1.0.7 • Published 3 months ago

react-native-code-push-plugin v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

react-native-code-push-plugin

Config plugin to auto-configure react-native-code-push when the native code is generated (npx expo prebuild).

⚠️ Remove Expo updates completely ⚠️

Before installing this package, you need completely remove Expo updates from your project:

  • Expo updates configurations
  • Expo updates execution code in your app
  • Expo updates package npm uninstall -s expo-updates or yarn remove expo-updates
  • Any other thing you have done with Expo updates

Add the package to your npm dependencies

Tested against Expo SDK 50

yarn add react-native-code-push react-native-code-push-plugin

After installing this npm package, add the config plugin to the plugins array of your app.json or app.config.js:

{
  "expo": {
    "plugins": [
      [
        "react-native-code-push-plugin",
        {
          "android": {
            "CodePushDeploymentKey": "YOUR_ANDROID_CODE_PUSH_KEY"
          },
          "ios": {
            "CodePushDeploymentKey": "YOUR_IOS_CODE_PUSH_KEY"
          }
        }
      ]
    ]
  }
}

Next, rebuild your app as described in the "Adding custom native code" guide.

Disclaimer

This was published interim while this PR isn't merged and the plugin isn't published under @config-plugins: https://github.com/expo/config-plugins/pull/204

1.0.7

3 months ago

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago