Files
config-plugins/packages/react-native-adjust
Evan Bacon d6050beb2a chore: git ignore build folders (#59)
* chore: git ignore all package build folders in git

* chore: clear all package build folders
2022-03-22 13:27:18 -05:00
..
2022-01-14 17:16:39 +01:00
2022-01-11 14:27:40 +01:00
2022-01-12 10:15:22 +01:00
2022-03-16 00:20:18 +00:00
2022-03-16 00:20:18 +00:00
2022-01-14 17:16:39 +01:00
2022-01-11 14:27:40 +01:00

@config-plugins/react-native-adjust

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

Expo installation

Tested against Expo SDK 44

This package cannot be used in the "Expo Go" app because it requires custom native code.

  • First install the package with yarn, npm, or expo install.
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:

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

{
  "expo": {
    "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.