mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-12 00:25:25 +08:00
is-first-run
This commit is contained in:
@@ -61,6 +61,10 @@ function getCurrentPackage() {
|
||||
})
|
||||
.then((failedUpdate) => {
|
||||
localPackage.failedApply = failedUpdate;
|
||||
return NativeCodePush.isFirstRun(localPackage.packageHash);
|
||||
})
|
||||
.then((isFirstRun) => {
|
||||
localPackage.isFirstRun = isFirstRun;
|
||||
resolve(localPackage);
|
||||
})
|
||||
.catch(reject)
|
||||
|
||||
Reference in New Issue
Block a user