mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-07 15:45:14 +08:00
@@ -104,10 +104,7 @@ export async function checkUpdate(APPKEY, isRetry) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (typeof APPKEY !== 'string') {
|
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');
|
logger('checking update');
|
||||||
let resp;
|
let resp;
|
||||||
|
Reference in New Issue
Block a user