- Notifications
You must be signed in to change notification settings - Fork0
Modified version of @config-plugins/react-native-branch
License
DocuCare/config-plugin-react-native-branch
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Config plugin to auto-configurereact-native-branch
when the native code is generated (npx expo prebuild
).
Ensure you use versions that work together!
expo | react-native-branch | @config-plugins/react-native-branch |
---|---|---|
52.0.0 | 6.4.0 | 9.0.0 |
51.0.0 | 6.2.1 | 8.0.0 |
50.0.0 | 6.0.0 | 7.0.0 |
49.0.0 | 5.9.0 | 6.0.0 |
48.0.0 | 5.7.0 | 5.0.0 |
This package cannot be used in the "Expo Go" app becauseit requires custom native code.
First install the package with yarn, npm, ornpx expo install
.
npx expo install react-native-branch @config-plugins/react-native-branch
After installing this npm package, add theconfig plugin to theplugins
array of yourapp.json
orapp.config.js
:
{"plugins": ["@config-plugins/react-native-branch"]}
Next, rebuild your app as described in the"Adding custom native code" guide.
The plugin provides props for extra customization. Every time you change the props or plugins, you'll need to rebuild (andprebuild
) the native app. If no extra properties are added, defaults will be used.
apiKey
(string): Branch API key. Optional.iosAppDomain
(string): App Domain for iOS. Optional.
{"plugins": [ ["@config-plugins/react-native-branch", {"apiKey":"key_live_f9f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8","iosAppDomain":"awesome-alternate.app.link" } ] ]}
About
Modified version of @config-plugins/react-native-branch
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.