Skip to content

Instantly share code, notes, and snippets.

@naishe
Created August 2, 2020 03:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naishe/c5f42603f1283032ada08e3ee41f0fe0 to your computer and use it in GitHub Desktop.
Save naishe/c5f42603f1283032ada08e3ee41f0fe0 to your computer and use it in GitHub Desktop.
Integrating CodePush 6
import {AppRegistry} from 'react-native';
- import App from './App';
+ import AppWrappedInCodePush from './AppWrappedInCodePush';
import {name as appName} from './app.json';
- AppRegistry.registerComponent(appName, () => App);
+ AppRegistry.registerComponent(appName, () => AppWrappedInCodePush);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment