Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Modified version of @config-plugins/react-native-branch

License

NotificationsYou must be signed in to change notification settings

DocuCare/config-plugin-react-native-branch

Repository files navigation

Config plugin to auto-configurereact-native-branch when the native code is generated (npx expo prebuild).

Versioning

Ensure you use versions that work together!

exporeact-native-branch@config-plugins/react-native-branch
52.0.06.4.09.0.0
51.0.06.2.18.0.0
50.0.06.0.07.0.0
49.0.05.9.06.0.0
48.0.05.7.05.0.0

Expo installation

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.

API

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.

Example

{"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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp