From 40933e4bff7a7a258f9f0ac085701395f8487cca Mon Sep 17 00:00:00 2001 From: Kshitij Pramod Ghongadi Date: Fri, 26 Apr 2024 23:07:17 +0530 Subject: [PATCH] TP-64981 | Codepush houston fix correction PR (#10641) --- App.tsx | 2 +- index.android.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/App.tsx b/App.tsx index b9689b0d00..71e063ce4d 100644 --- a/App.tsx +++ b/App.tsx @@ -24,7 +24,7 @@ export default class App extends Component<{}> { }); await codePush.sync( { - installMode: codePush.InstallMode.IMMEDIATE, + installMode: codePush.InstallMode.ON_NEXT_RESUME, mandatoryInstallMode: codePush.InstallMode.IMMEDIATE, }, (status) => { diff --git a/index.android.js b/index.android.js index 71102f560c..5644aa0655 100644 --- a/index.android.js +++ b/index.android.js @@ -4,6 +4,7 @@ import App from "./App"; let codePushOptions = { installMode: codePush.InstallMode.ON_NEXT_RESUME, + checkFrequency: codePush.CheckFrequency.ON_APP_RESUME, }; AppRegistry.registerComponent("NaviApp", () => codePush(codePushOptions)(App));