@turbopush/turbopush-expo-plugin
v1.0.2
Published
This plugin is used to manage the Turbopush updates for your Expo app.
Maintainers
Readme
Turbopush Expo Plugin
This plugin is used to manage the Turbopush updates for your Expo app.
Installation
yarn add @turbopush/turbopush-expo-pluginSetup
Follow the instructions in our plugin documentation.
Usage
Open your Expo app config file (app.config.json or app.config.js instead of app.json).
Insert the following into the plugins section of your config (Don't duplicate configuration, if the '@turbopush/turbopush-expo-plugin' item already exists, simply add this portion.). Create the plugins section if it doesn't already exist. CodePushPublicKey is optional, see Code Signing setup for more information.
"plugins": [ [ '@turbopush/turbopush-expo-plugin', { android: { CodePushDeploymentKey: 'YOUR_ANDROID_CODE_PUSH_KEY', }, ios: { CodePushDeploymentKey: 'YOUR_IOS_CODE_PUSH_KEY', }, } ] ]Replace
YOUR_ANDROID_CODE_PUSH_KEYandYOUR_IOS_CODE_PUSH_KEYwith the Deployment key.Run
yarn prebuildto regenerate your native code with the turbopush dependencies.
