Last active
October 23, 2019 09:40
-
-
Save prabakarviji/e924fa73da795850e5ad6adee4a2da4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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