Skip to content

Latest commit

 

History

History
45 lines (41 loc) · 1.29 KB

RN_ExpoInstallation.md

File metadata and controls

45 lines (41 loc) · 1.29 KB
title category parentDoc order hidden
Expo Installation
5f9705393c689a065c409b23
645213236f53a00d4daa9230
2
false

Install AppsFlyer in an Expo managed project

  1. Install expo-dev-client. You can read more about expo development builds here:
expo install expo-dev-client
  1. Install react-native-appsflyer:
expo install react-native-appsflyer
  1. Add react-native-appsflyer into the plugins array inside the app.json file of your app:
...
"plugins": [
      [
        "react-native-appsflyer",{}
      ]
    ],
...
  1. 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.