Skip to content

Instantly share code, notes, and snippets.

@prabakarviji
Last active October 23, 2019 09:40
Show Gist options
  • Save prabakarviji/e924fa73da795850e5ad6adee4a2da4c to your computer and use it in GitHub Desktop.
Save prabakarviji/e924fa73da795850e5ad6adee4a2da4c to your computer and use it in GitHub Desktop.
class MyApp extends Component {
...
render(
return(
<View>....</View>
)
)
}
//set check frequency options
const codePushOptions = { checkFrequency: codePush.CheckFrequency.ON_APP_START };
const MyApp = codePush(codePushOptions)(MyApp);
AppRegistry.registerComponent('MyApp', () => MyApp);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment