1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 12:11:39 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Check packageVersion

This commit is contained in:
sunnylqm
2021-08-02 11:03:04 +08:00
parent 206a04b331
commit ff67829a27

View File

@@ -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;