Expo Installation
Install AppsFlyer in an Expo managed project
- Install
expo-dev-client
. You can read more about expo development builds here:
expo install expo-dev-client
- Install react-native-appsflyer:
expo install react-native-appsflyer
- Add
react-native-appsflyer
into theplugins
array inside theapp.json
file of your app:
...
"plugins": [
[
"react-native-appsflyer",{}
]
],
...
- optional If you are developing a kids app and you wish to use our strict mode, you should add
"shouldUseStrictMode": true
as followed:
...
"plugins": [
[
"react-native-appsflyer",{"shouldUseStrictMode": true}
]
],
...
The AD_ID permission for android apps
In v6.8.0 of the AppsFlyer SDK, we added the normal permission com.google.android.gms.permission.AD_ID to the SDK's AndroidManifest,
to allow the SDK to collect the Android Advertising ID on apps targeting API 33.
If your app is targeting children, you need to revoke this permission to comply with Google's Data policy.
You can read more about it here.
Updated about 1 year ago