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
+53-3Lines changed: 53 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,19 +87,39 @@ To properly set up the configuration object, you must specify certain parameters
87
87
-`logSubscriptions`: If set to `true`, the connector logs all subscription events.
88
88
-`logInApps`: If set to `true`, the connector logs all in-app purchase events.
89
89
-`sandbox`: If set to `true`, transactions are tested in a sandbox environment. Be sure to set this to `false` in production.
90
+
-`storeKitVersion`: (iOS only) Specifies which StoreKit version to use. Defaults to `StoreKitVersion.SK1` if not specified. Use `StoreKitVersion.SK2` for iOS 15.0+ features.
90
91
91
92
Here's an example usage:
92
93
93
94
```javascript
94
95
import appsFlyer, {
95
96
AppsFlyerPurchaseConnector,
96
97
AppsFlyerPurchaseConnectorConfig,
98
+
StoreKitVersion,
97
99
} from'react-native-appsflyer';
98
100
101
+
// Example 1: StoreKit1 (default if storeKitVersion is not specified)
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,11 @@
18
18
19
19
## <aid="release-updates"> Release Updates
20
20
21
-
- Starting with version 6.17.1 the plugin supports the Purchase Connector for validating and measuring Subscription and In-app purchase events. Integration guide can be found [here](https://github.com/AppsFlyerSDK/appsflyer-react-native-plugin/blob/master/Docs/RN_PurchaseConnector.md).
21
+
- Starting with version `6.17.1` the plugin supports the Purchase Connector for validating and measuring Subscription and In-app purchase events. Integration guide can be found [here](https://github.com/AppsFlyerSDK/appsflyer-react-native-plugin/blob/master/Docs/RN_PurchaseConnector.md).
22
+
23
+
- Starting with version `6.17.1` the TypeScript interfaces for Purchase Connector data sources have been simplified and are now **breaking changes**:
24
+
-`PurchaseRevenueDataSource.purchaseRevenueAdditionalParametersForProducts()` function has been replaced with `additionalParameters` object
25
+
-`PurchaseRevenueDataSourceStoreKit2.purchaseRevenueAdditionalParametersStoreKit2ForProducts()` function has been replaced with `additionalParameters` object
22
26
23
27
- Starting with 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).
0 commit comments