mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 12:11:39 +08:00
Check packageVersion
This commit is contained in:
@@ -104,7 +104,10 @@ export async function checkUpdate(APPKEY, isRetry) {
|
||||
);
|
||||
}
|
||||
if (typeof APPKEY !== 'string') {
|
||||
throw new Error('未检查到合法的APPKEY,请查看update.json文件是否正确生成');
|
||||
throw new Error('未检测到合法的APPKEY,请查看update.json文件是否正确生成');
|
||||
}
|
||||
if (typeof packageVersion !== 'string') {
|
||||
throw new Error('未检测到原生版本号');
|
||||
}
|
||||
logger('checking update');
|
||||
let resp;
|
||||
|
Reference in New Issue
Block a user