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: doc/AdvancedAPI.md
+59-11Lines changed: 59 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,16 +39,47 @@ You can register the uninstall token with AppsFlyer by calling the following API
39
39
appsFlyerSdk.updateServerUninstallToken("token");
40
40
```
41
41
42
+
> **Note:** When using this method on iOS, the token should be passed as a **hexadecimal string representation** of the device token. The plugin will automatically convert the hex string to the required `NSData` format for the AppsFlyer SDK.
43
+
>
44
+
> If you're using the [firebase_messaging](https://pub.dev/packages/firebase_messaging) plugin, you can get the APNs token on iOS using `FirebaseMessaging.instance.getAPNSToken()` which returns the token as a hex string, which is the expected format for this method.
45
+
42
46
### Android
43
47
44
48
It is possible to utilize the [Firebase Messaging Plugin for Flutter](https://pub.dev/packages/firebase_messaging) for everything related to the uninstall token.
45
49
You can read more about Android Uninstall Measurement in our [knowledge base](https://support.appsflyer.com/hc/en-us/articles/4408933557137) and you can follow our guide for Uninstall measurement using FCM on our [DevHub](https://dev.appsflyer.com/hc/docs/uninstall-measurement-android).
46
50
47
-
On the flutter side, you can register the uninstall token with AppsFlyer by calling the following API with your uninstall token:
51
+
On the Flutter side, you can register the uninstall token with AppsFlyer by calling the following API with your uninstall token:
48
52
```dart
49
53
appsFlyerSdk.updateServerUninstallToken("token");
50
54
```
51
55
56
+
**Example using Firebase Messaging (cross-platform):**
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.<br>
115
146
Learn more - https://support.appsflyer.com/hc/en-us/articles/207032106-Receipt-validation-for-in-app-purchases<br>
116
147
117
-
**Cross-Platform V2 API (Recommended - SDK v6.17.3+) - BETA:**
148
+
**Cross-Platform V2 API (Recommended - SDK v6.17.3+):**
118
149
119
-
> ⚠️ **BETA Feature**: This API is currently in beta. While it's stable and recommended for new implementations, please test thoroughly in your environment before production use.
120
-
121
-
The new unified purchase validation API that works across both Android and iOS platforms:
150
+
The unified purchase validation API that works across both Android and iOS platforms:
- ✅ **Future-proof**: Built for AppsFlyer's V2 validation endpoints
165
207
166
208
---
167
209
168
-
**Legacy Platform-Specific APIs:**
210
+
**Deprecated Platform-Specific APIs:**
211
+
212
+
> ⚠️ **Deprecated**: The following platform-specific APIs are deprecated and will be removed in a future version. Please migrate to `validateAndLogInAppPurchaseV2` for cross-platform support.
Copy file name to clipboardExpand all lines: ios/appsflyer_sdk.podspec
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
Pod::Spec.newdo |s|
2
2
s.name='appsflyer_sdk'
3
-
s.version='6.17.7'
3
+
s.version='6.17.8'
4
4
s.summary='AppsFlyer Integration for Flutter'
5
5
s.description='AppsFlyer is the market leader in mobile advertising attribution & analytics, helping marketers to pinpoint their targeting, optimize their ad spend and boost their ROI.'
0 commit comments