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
+7
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
## 1.0.0
2
+
3
+
* API update: new `launch` method with just one API key argument for both platforms. Contact us at [email protected] to merge your old API keys into one, [we can do it now](https://qonversion.io/docs/crossplatform-project).
4
+
* API update: Remove old `launch` method; remove all old `launch...` methods.
5
+
* Add `trackPurchase` method to track Android purchases manually.
6
+
* Add `addAttributionData` method implementation for Android.
7
+
1
8
## 0.3.0
2
9
3
10
* API update: new `launch` method, deprecate all old `launch...` methods
On Android you must call `Qonversion.trackPurchase(skuDetails, purchase)` method on each purchase success in order to track purchases.
57
+
58
+
On iOS Qonversion will track purchases automatically.
55
59
56
60
You can also specify your client side `userId` (instead of Qonversion user-id) that will be used for matching data in the third party data:
57
61
58
62
```
59
63
final userId = 'CLIENT_SIDE_USER_ID';
60
64
Qonversion.launch(
61
-
iosApiKey: 'YOUR_IOS_API_KEY',
62
-
androidApiKey: 'YOUR_ANDROID_API_KEY',
65
+
'YOUR_API_KEY',
63
66
userId: userId,
64
67
);
65
68
```
66
69
70
+
### Attribution
71
+
You need to have AppsFlyer SDK integrated in your app before starting with this integration. If you do not have Appsflyer integration yet, please use [this docs](https://pub.dev/packages/appsflyer_sdk#-readme-tab-).
72
+
73
+
On iOS you can also use Branch integration.
74
+
75
+
Use `addAttributionData(data, provider, userId)` method to pass attribution data dictionary:
76
+
```
77
+
Qonversion.addAttributionData(
78
+
data,
79
+
QAttributionProvider.appsFlyer,
80
+
'USER_ID',
81
+
)
82
+
```
83
+
67
84
## License
68
85
69
86
Qonversion SDK is available under the MIT license.
0 commit comments