Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@config-plugins/react-native-branch

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@config-plugins/react-native-branch

Config plugin to auto configure react-native-branch on prebuild

  • 9.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
16K
decreased by-2.88%
Maintainers
1
Weekly downloads
 
Created
Source

config-plugins/react-native-branch

Config plugin to auto-configure react-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 because it requires custom native code.

First install the package with yarn, npm, or npx expo install.

npx expo install react-native-branch @config-plugins/react-native-branch

After installing this npm package, add the config plugin to the plugins array of your app.json or app.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 (and prebuild) 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"
      }
    ]
  ]
}

Keywords

FAQs

Package last updated on 03 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc