Skip to content

Commit 46e0aff

Browse files
authored
Merge pull request #39 from adjust/v4260
Version 4.26.0
2 parents 9b3cdfd + 01ec471 commit 46e0aff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+507
-85
lines changed

CHANGELOG.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
### Version 4.26.0 (22nd February 2021)
2+
#### Added
3+
- Added possibility to get cost data information in attribution callback.
4+
- Added `needsCost` member to `AdjustConfig` to indicate if cost data is needed in attribution callback (by default cost data will not be part of attribution callback if not enabled with this setter method).
5+
- Added `preinstallTrackingEnabled` member to `AdjustConfig` to allow enabling of preinstall tracking (this feature is OFF by default).
6+
- Added support for Apple Search Ads attribution with usage of `AdServices.framework`.
7+
- Added `allowAdServicesInfoReading` member to `AdjustConfig` to allow option for users to prevent SDK from performing any tasks related to Apple Search Ads attribution with usage of `AdServices.framework`.
8+
- Added wrapper method `updateConversionValue` method to `Adjust` to allow updating SKAdNetwork conversion value via SDK API.
9+
- Added `getAppTrackingAuthorizationStatus` getter to `Adjust` instance to be able to get current iOS app tracking status.
10+
- Added improved measurement consent management and third party sharing mechanism.
11+
- Added public constants to be used as sources for ad revenue tracking with `trackAdRevenue` method.
12+
13+
#### Native SDKs
14+
- [[email protected]][ios_sdk_v4.26.1]
15+
- [[email protected]][android_sdk_v4.26.2]
16+
17+
---
18+
119
### Version 4.23.3 (18th December 2020)
220
#### Added
321
- Added URL strategy constants to `AdjustConfig` for more straight forward feature usage.
@@ -36,7 +54,7 @@
3654
- Added wrapper method `requestTrackingAuthorizationWithCompletionHandler` to `Adjust` to allow asking for user's consent to be tracked in iOS 14 and immediate propagation of user's choice to backend.
3755
- Added handling of new iAd framework error codes introduced in iOS 14.
3856
- Added sending of value of user's consent to be tracked with each package.
39-
- Added `setUrlStrategy` method to `AdjustConfig` class to allow selection of URL strategy for specific market.
57+
- Added `urlStrategy` member to `AdjustConfig` class to allow selection of URL strategy for specific market.
4058

4159
#### Native SDKs
4260
- [[email protected]][ios_sdk_v4.23.0]
@@ -171,10 +189,12 @@
171189
[ios_sdk_v4.22.1]: https://github.com/adjust/ios_sdk/tree/v4.22.1
172190
[ios_sdk_v4.23.0]: https://github.com/adjust/ios_sdk/tree/v4.23.0
173191
[ios_sdk_v4.23.2]: https://github.com/adjust/ios_sdk/tree/v4.23.2
192+
[ios_sdk_v4.26.1]: https://github.com/adjust/ios_sdk/tree/v4.26.1
174193

175194
[android_sdk_v4.17.0]: https://github.com/adjust/android_sdk/tree/v4.17.0
176195
[android_sdk_v4.18.0]: https://github.com/adjust/android_sdk/tree/v4.18.0
177196
[android_sdk_v4.21.0]: https://github.com/adjust/android_sdk/tree/v4.21.0
178197
[android_sdk_v4.22.0]: https://github.com/adjust/android_sdk/tree/v4.22.0
179198
[android_sdk_v4.24.0]: https://github.com/adjust/android_sdk/tree/v4.24.0
180-
[android_sdk_v4.24.1]: https://github.com/adjust/android_sdk/tree/v4.24.1
199+
[android_sdk_v4.24.1]: https://github.com/adjust/android_sdk/tree/v4.24.1
200+
[android_sdk_v4.26.2]: https://github.com/adjust/android_sdk/tree/v4.26.2

README.md

Lines changed: 67 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ This is the Flutter SDK of Adjust™. You can read more about Adjust™ at [adju
5555

5656
* [AppTrackingTransparency framework](#af-att-framework)
5757
* [App-tracking authorisation wrapper](#af-ata-wrapper)
58+
* [Get current authorisation status](#af-ata-getter)
5859
* [SKAdNetwork framework](#af-skadn-framework)
60+
* [Update SKAdNetwork conversion value](#af-skadn-update-conversion-value)
5961
* [Subscription tracking](#af-subscription-tracking)
6062
* [Push token (uninstall tracking)](#af-push-token)
6163
* [Attribution callback](#af-attribution-callback)
@@ -72,7 +74,10 @@ This is the Flutter SDK of Adjust™. You can read more about Adjust™ at [adju
7274
* [Event buffering](#af-event-buffering)
7375
* [Background tracking](#af-background-tracking)
7476
* [GDPR right to be forgotten](#af-gdpr-forget-me)
75-
* [Disable third-party sharing](#af-disable-third-party-sharing)
77+
* [Third-party sharing](#af-third-party-sharing)
78+
* [Disable third-party sharing](#af-disable-third-party-sharing)
79+
* [Enable third-party sharing](#af-enable-third-party-sharing)
80+
* [Measurement consent](#af-measurement-consent)
7681

7782
### License
7883

@@ -93,7 +98,7 @@ You can add Adjust SDK to your Flutter app by adding following to your `pubspec.
9398

9499
```yaml
95100
dependencies:
96-
adjust_sdk: ^4.23.3
101+
adjust_sdk: ^4.26.0
97102
```
98103
99104
Then navigate to your project in the terminal and run:
@@ -202,6 +207,7 @@ As of v4.22.0, the Adjust SDK supports install tracking on Huawei devices with H
202207
Make sure that following iOS frameworks are linked with your iOS app:
203208

204209
* `iAd.framework` - in case you are running iAd campaigns
210+
* `AdServices.framework` - in case you are running iAd campaigns
205211
* `AdSupport.framework` - for reading iOS Advertising Id (IDFA)
206212
* `CoreTelephony.framework` - for reading MCC and MNC information
207213
* `StoreKit.framework` - for communication with SKAdNetwork framework
@@ -670,6 +676,18 @@ Adjust.requestTrackingAuthorizationWithCompletionHandler().then((status) {
670676
});
671677
```
672678

679+
### <a id="af-ata-getter"></a>Get current authorisation status
680+
681+
**Note**: This feature exists only in iOS platform.
682+
683+
To get the current app tracking authorization status you can call `getAppTrackingAuthorizationStatus` method of `Adjust` class that will return one of the following possibilities:
684+
685+
* `0`: The user hasn't been asked yet
686+
* `1`: The user device is restricted
687+
* `2`: The user denied access to IDFA
688+
* `3`: The user authorized access to IDFA
689+
* `-1`: The status is not available
690+
673691
### <a id="af-skadn-framework"></a>SKAdNetwork framework
674692

675693
**Note**: This feature exists only in iOS platform.
@@ -682,6 +700,16 @@ In case you don't want the Adjust SDK to automatically communicate with SKAdNetw
682700
adjustConfig.deactivateSKAdNetworkHandling();
683701
```
684702

703+
### <a id="af-skadn-update-conversion-value"></a>Update SKAdNetwork conversion value
704+
705+
**Note**: This feature exists only in iOS platform.
706+
707+
You can use Adjust SDK wrapper method `updateConversionValue` to update SKAdNetwork conversion value for your user:
708+
709+
```dart
710+
Adjust.updateConversionValue(6);
711+
```
712+
685713
### <a id="af-subscription-tracking"></a>Subscription tracking
686714

687715
**Note**: This feature is only available in the SDK v4.22.0 and above.
@@ -1089,18 +1117,52 @@ Adjust.gdprForgetMe();
10891117

10901118
Upon receiving this information, Adjust will erase the user's data and the Adjust SDK will stop tracking the user. No requests from this device will be sent to Adjust in the future.
10911119

1092-
### <a id="af-disable-third-party-sharing"></a>Disable third-party sharing
1120+
## <a id="af-third-party-sharing"></a>Third-party sharing for specific users
10931121

1094-
You can now notify Adjust when a user has exercised their right to stop sharing their data with partners for marketing partners, but has allowed it to be shared for statistics purposes.
1122+
You can notify Adjust when a user disables, enables, and re-enables data sharing with third-party partners.
1123+
1124+
### <a id="af-disable-third-party-sharing"></a>Disable third-party sharing for specific users
10951125

10961126
Call the following method to instruct the Adjust SDK to communicate the user's choice to disable data sharing to the Adjust backend:
10971127

10981128
```dart
1099-
Adjust.disableThirdPartySharing();
1129+
AdjustThirdPartySharing adjustThirdPartySharing = new AdjustThirdPartySharing(false);
1130+
Adjust.trackThirdPartySharing(adjustThirdPartySharing);
11001131
```
11011132

11021133
Upon receiving this information, Adjust will block the sharing of that specific user's data to partners and the Adjust SDK will continue to work as usual.
11031134

1135+
### <a id="af-enable-third-party-sharing">Enable or re-enable third-party sharing for specific users</a>
1136+
1137+
Call the following method to instruct the Adjust SDK to communicate the user's choice to share data or change data sharing, to the Adjust backend:
1138+
1139+
```dart
1140+
AdjustThirdPartySharing adjustThirdPartySharing = new AdjustThirdPartySharing(false);
1141+
Adjust.trackThirdPartySharing(adjustThirdPartySharing);
1142+
```
1143+
1144+
Upon receiving this information, Adjust changes sharing the specific user's data to partners. The Adjust SDK will continue to work as expected.
1145+
1146+
Call the following method to instruct the Adjust SDK to send the granular options to the Adjust backend:
1147+
1148+
```dart
1149+
AdjustThirdPartySharing adjustThirdPartySharing = new AdjustThirdPartySharing(null);
1150+
adjustThirdPartySharing.addGranularOption('PartnerA', 'foo', 'bar');
1151+
Adjust.trackThirdPartySharing(adjustThirdPartySharing);
1152+
```
1153+
1154+
### <a id="af-measurement-consent"></a>Consent measurement for specific users
1155+
1156+
You can notify Adjust when a user exercises their right to change data sharing with partners for marketing purposes, but they allow data sharing for statistical purposes.
1157+
1158+
Call the following method to instruct the Adjust SDK to communicate the user's choice to change data sharing, to the Adjust backend:
1159+
1160+
```dart
1161+
Adjust.trackMeasurementConsent(true);
1162+
```
1163+
1164+
Upon receiving this information, Adjust changes sharing the specific user's data to partners. The Adjust SDK will continue to work as expected.
1165+
11041166
[dashboard]: http://adjust.com
11051167
[adjust.com]: http://adjust.com
11061168

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.23.3
1+
4.26.0

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ android {
3636
}
3737

3838
dependencies {
39-
api 'com.adjust.sdk:adjust-android:4.24.1'
39+
api 'com.adjust.sdk:adjust-android:4.26.2'
4040
}

0 commit comments

Comments
 (0)