1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-07 17:15:17 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Revert "Check packageVersion"

This reverts commit ff67829a27.
This commit is contained in:
sunnylqm
2021-08-03 13:28:39 +08:00
parent 3de78a9dbd
commit 2a1915c50c

View File

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