You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
## 6.16.2
2
+
Release date: *2025-03-19*
3
+
4
+
- SDK > React Native plugin > No enum constant com.appsflyer.MediationNetwork.xxx" error on Android with some mediation networks' names have _ (underscore) character
### Fix for build failure with RN 0.76 and Expo 52
42
+
To ensure seamless integration of the AppsFlyer plugin in your Expo-managed project, it’s essential to handle modifications to the AndroidManifest.xml correctly. Since direct edits to the AndroidManifest.xml aren’t feasible in the managed workflow, you’ll need to create a custom configuration to include the necessary changes.
43
+
44
+
### Handling dataExtractionRules Conflict
45
+
46
+
When building your Expo app with the AppsFlyer plugin, you might encounter a build error related to the `dataExtractionRules` attribute. This issue arises due to a conflict between the `dataExtractionRules `defined in your project’s `AndroidManifest.xml` and the one included in the AppsFlyer SDK.
47
+
48
+
<b>Solution:</b> Creating a Custom Plugin to Modify `AndroidManifest.xml`
49
+
50
+
To resolve this, you can create a custom Expo config plugin that modifies the AndroidManifest.xml during the build process. This approach allows you to adjust the manifest without directly editing it, maintaining compatibility with the managed workflow.
51
+
52
+
Steps to Implement the Custom Plugin:
53
+
1. Create the Plugin File:
54
+
- In your project’s root directory, create a file named withCustomAndroidManifest.js.
55
+
2. Define the Plugin Function:
56
+
- In withCustomAndroidManifest.js, define a function that uses Expo’s withAndroidManifest to modify the manifest. This function will remove the conflicting dataExtractionRules attribute.
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,12 @@
12
12
13
13
### <aid="plugin-build-for"> This plugin is built for
14
14
15
-
- Android AppsFlyer SDK **v6.15.2**
16
-
- iOS AppsFlyer SDK **v6.15.3**
15
+
- Android AppsFlyer SDK **v6.16.2**
16
+
- iOS AppsFlyer SDK **v6.16.2**
17
17
- Tested with React-Native **v0.62.0** (older versions might be supported)
18
18
19
19
## <aid="breaking-changes"> ❗❗ Breaking changes when updating to v6.x.x❗❗
20
+
- From version `6.16.2`, `AppsFlyerConsent.forGDPRUser` and `AppsFlyerConsent.forNonGDPRUser` have been **deprecated**. Use the new `AppsFlyerConsent` constructor instead. See [Deprecation Notice](/Docs/RN_CMP.md#deprecation-notice).
20
21
21
22
- From version `6.15.1`, upgraded to targetSDKVersion 34, Java 17, and Gradle 8.7 in [AppsFlyer Android SDK v6.15.1](https://support.appsflyer.com/hc/en-us/articles/115001256006-AppsFlyer-Android-SDK-release-notes).
0 commit comments