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
> ⚠️ **Deprecated**: This API is deprecated. Use `validateAndLogInAppPurchaseV2` instead.
601
+
599
602
Receipt validation is a secure mechanism whereby the payment platform (e.g. Apple or Google) validates that an in-app purchase indeed occurred as reported.
600
603
Learn more - https://support.appsflyer.com/hc/en-us/articles/207032106-Receipt-validation-for-in-app-purchases
When GDPR applies to the user and your app does not use a CMP compatible with TCF v2.2, use this API to provide the consent data directly to the SDK.<br>
828
-
The AppsFlyerConsent object has 2 methods:
841
+
When GDPR applies to the user and your app does not use a CMP compatible with TCF v2.2, use this API to provide the consent data directly to the SDK.
829
842
830
-
1.`AppsFlyerConsent.forNonGDPRUser`: Indicates that GDPR doesn’t apply to the user and generates nonGDPR consent object. This method doesn’t accept any parameters.
831
-
2.`AppsFlyerConsent.forGDPRUser`: create an AppsFlyerConsent object with 2 parameters:
| hasConsentForAdStorage | boolean | Consent for ad storage (optional) |
868
+
869
+
**Deprecated approach (still supported):**
870
+
The AppsFlyerConsent object has 2 deprecated methods:
871
+
872
+
1.`AppsFlyerConsent.forNonGDPRUser`: Indicates that GDPR doesn't apply to the user and generates nonGDPR consent object. This method doesn't accept any parameters.
873
+
2.`AppsFlyerConsent.forGDPRUser`: create an AppsFlyerConsent object with 2 parameters:
### Fix for build failure with RN 0.76 and Expo 52
46
-
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.
46
+
### Backup Rules Configuration (Android)
47
+
48
+
The AppsFlyer SDK includes built-in backup rules in its Android manifest to ensure accurate install/reinstall detection. By default, the plugin respects your app's backup rules and does not modify them.
49
+
50
+
**Default Behavior** (`preferAppsFlyerBackupRules: false` or omitted):
51
+
- Your app's `android:dataExtractionRules` and `android:fullBackupContent` attributes are left untouched
52
+
- You maintain full control over your app's backup policy
Copy file name to clipboardExpand all lines: Docs/RN_InAppEvents.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,9 @@ appsFlyer.logEvent(
54
54
55
55
---
56
56
## In-app purchase validation
57
+
58
+
> ⚠️ **Deprecated**: The `validateAndLogInAppPurchase` API is deprecated. Use `validateAndLogInAppPurchaseV2` instead. See the [API reference](/Docs/RN_API.md#validateandloginapppurchasev2) for details.
59
+
57
60
Receipt validation is a secure mechanism whereby the payment platform (e.g. Apple or Google) validates that an in-app purchase indeed occurred as reported.
58
61
Learn more [here](https://support.appsflyer.com/hc/en-us/articles/207032106-Receipt-validation-for-in-app-purchases).
0 commit comments