Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@config-plugins/react-native-adjust

expo37kMIT12.0.0TypeScript support: included

Config plugin to auto configure Adjust SDK on prebuild

react, expo, config-plugins, prebuild, react-native-adjust

readme

@config-plugins/react-native-adjust

Expo Config Plugin to auto-configure react-native-adjust when the native code is generated (npx expo prebuild).

Versioning

Ensure you use versions that work together!

expo react-native-adjust @config-plugins/react-native-adjust
54.0.0 5.1.0 12.0.0
53.0.0 5.1.0 11.0.0
52.0.0 5.0.2 9.0.0
51.0.0 4.38.1 8.0.0
50.0.0 4.37.1 7.0.0
49.0.0 4.33.0 6.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-adjust @config-plugins/react-native-adjust

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-adjust"]
}

If you are targeting Android 12 and above (API level 31), you need to add it in the options of the plugin:

{
  "plugins": [
    ["@config-plugins/react-native-adjust", { "targetAndroid12": true }]
  ]
}

This will add the appropriate permission for you.

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

changelog

@config-plugins/react-native-adjust 5.0.0

  • Expo SDK 48 support

@config-plugins/react-native-adjust 1.0.3 (2022-03-23)

Bug Fixes

  • upgrade google play-services-analytics to v18.0.1 (a24ea1d)

@config-plugins/react-native-adjust 1.0.2 (2022-03-22)

Other chores

@config-plugins/react-native-adjust 1.0.1 (2022-03-16)

Continuous Integration

@config-plugins/react-native-adjust 1.0.0 (2022-03-15)

Other chores