We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7fa9ac commit 8624904Copy full SHA for 8624904
android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java
@@ -452,7 +452,7 @@ public void recordStatusReported(ReadableMap statusReport) {
452
public void restartApp(boolean onlyIfUpdateIsPending, Promise promise) {
453
// If this is an unconditional restart request, or there
454
// is current pending update, then reload the app.
455
- if (!onlyIfUpdateIsPending || CodePush.this.isPendingUpdate(null)) {
+ if (!onlyIfUpdateIsPending || mSettingsManager.isPendingUpdate(null)) {
456
loadBundle();
457
promise.resolve(true);
458
return;
0 commit comments