Skip to content

Instantly share code, notes, and snippets.

@naishe
Created August 2, 2020 03:43
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/96cb7a6f46d3c48df2edc856f5aa1ee8 to your computer and use it in GitHub Desktop.
Save naishe/96cb7a6f46d3c48df2edc856f5aa1ee8 to your computer and use it in GitHub Desktop.
Integrating CodePush 5
// android/settings.gradle
rootProject.name = 'myapp'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
- include ':app'
+ include ':app', ':react-native-code-push'
+ project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment