TP-80677 | Decoupling codepush from RN App (#12570)
This commit is contained in:
committed by
GitHub
parent
d43cb2060d
commit
fd78ae8ce8
@@ -1,10 +1,4 @@
|
||||
import { AppRegistry } from "react-native";
|
||||
import codePush from "react-native-code-push";
|
||||
import App from "./App";
|
||||
|
||||
let codePushOptions = {
|
||||
installMode: codePush.InstallMode.ON_NEXT_RESTART,
|
||||
checkFrequency: codePush.CheckFrequency.MANUAL,
|
||||
};
|
||||
|
||||
AppRegistry.registerComponent("NaviApp", () => codePush(codePushOptions)(App));
|
||||
AppRegistry.registerComponent("NaviApp", () => App);
|
||||
|
||||
Reference in New Issue
Block a user