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: Docs/RN_PurchaseConnector.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ For more information please check the following pages:
20
20
21
21
The Purchase Connector feature of the AppsFlyer SDK depends on specific libraries provided by Google and Apple for managing in-app purchases:
22
22
23
-
- For Android, it depends on the [Google Play Billing Library](https://developer.android.com/google/play/billing/integrate) (Supported versions: 5.x.x - 7.x.x).
23
+
- For Android, it depends on the [Google Play Billing Library](https://developer.android.com/google/play/billing/integrate).
24
24
- For iOS, it depends on [StoreKit](https://developer.apple.com/documentation/storekit) (Supported versions: StoreKit1 and StoreKit2).
25
25
26
26
However, these dependencies aren't actively included with the SDK. This means that the responsibility of managing these dependencies and including the necessary libraries in your project falls on you as the consumer of the SDK.
@@ -29,6 +29,19 @@ If you're implementing in-app purchases in your app, you'll need to ensure that
29
29
30
30
Remember to appropriately manage these dependencies when implementing the Purchase Validation feature in your app. Failing to include the necessary libraries might result in failures when attempting to conduct in-app purchases or validate purchases.
The plugin uses the [AppsFlyer Android Purchase Connector](https://github.com/AppsFlyerSDK/appsflyer-android-purchase-connector) under the hood. The Purchase Connector version must match the Google Play Billing Library version in your project.
35
+
36
+
| Purchase Connector Version | Supported Billing Library Versions |
37
+
|---|---|
38
+
| v2.1.2 | v5.x.x - v7.x.x |
39
+
| v2.2.0 | v8.x.x |
40
+
41
+
**This version of the plugin ships with Purchase Connector v2.2.0**, which requires Google Play Billing Library 8.x.x. If you are using a third-party IAP library (such as `react-native-iap`), you must ensure it supports Billing Library 8. For `react-native-iap`, this means using **v14.0.0 or later** (the Nitro Modules version), which requires **React Native 0.79+**.
42
+
43
+
> **Note:** Billing Library 8 introduces breaking API changes compared to previous versions. Users of Billing Library 5.x.x - 7.x.x should use a previous version of this plugin that ships with Purchase Connector v2.1.2 or lower.
44
+
32
45
## <aid="adding-the-connector-to-your-project"></a>Adding The Connector To Your Project
33
46
34
47
The Purchase Connector feature in AppsFlyer SDK React Native Plugin is an optional enhancement that you can choose to use based on your requirements. This feature is not included by default and you'll have to opt-in if you wish to use it.
0 commit comments