Skip to content

Commit 5a8d82b

Browse files
authored
Merge pull request #52 from adjust/v4290
Version 4.29.0
2 parents 3f55da2 + f459523 commit 5a8d82b

Some content is hidden

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

52 files changed

+1489
-638
lines changed

.gitignore

Lines changed: 32 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
.DS_Store
2-
.atom/
3-
.dart_tool/
4-
.idea
5-
.packages
6-
.pub/
7-
build/
8-
ios/.generated/
9-
packages
10-
111
# Miscellaneous
122
*.class
133
*.lock
@@ -27,24 +17,39 @@ packages
2717
.idea/
2818

2919
# Visual Studio Code related
20+
.classpath
21+
.project
22+
.settings/
3023
.vscode/
3124

3225
# Flutter repo-specific
3326
/bin/cache/
27+
/bin/internal/bootstrap.bat
28+
/bin/internal/bootstrap.sh
3429
/bin/mingit/
3530
/dev/benchmarks/mega_gallery/
3631
/dev/bots/.recipe_deps
3732
/dev/bots/android_tools/
33+
/dev/devicelab/ABresults*.json
3834
/dev/docs/doc/
35+
/dev/docs/flutter.docs.zip
3936
/dev/docs/lib/
4037
/dev/docs/pubspec.yaml
38+
/dev/integration_tests/**/xcuserdata
39+
/dev/integration_tests/**/Pods
4140
/packages/flutter/coverage/
4241
version
42+
analysis_benchmark.json
43+
44+
# packages file containing multi-root paths
45+
.packages.generated
4346

4447
# Flutter/Dart/Pub related
4548
**/doc/api/
4649
.dart_tool/
4750
.flutter-plugins
51+
.flutter-plugins-dependencies
52+
**/generated_plugin_registrant.dart
4853
.packages
4954
.pub-cache/
5055
.pub/
@@ -62,6 +67,8 @@ unlinked_spec.ds
6267
**/android/gradlew.bat
6368
**/android/local.properties
6469
**/android/**/GeneratedPluginRegistrant.java
70+
**/android/key.properties
71+
*.jks
6572

6673
# iOS/XCode related
6774
**/ios/**/*.mode1v3
@@ -80,18 +87,32 @@ unlinked_spec.ds
8087
**/ios/**/profile
8188
**/ios/**/xcuserdata
8289
**/ios/.generated/
90+
**/ios/Flutter/.last_build_id
8391
**/ios/Flutter/App.framework
8492
**/ios/Flutter/Flutter.framework
93+
**/ios/Flutter/Flutter.podspec
8594
**/ios/Flutter/Generated.xcconfig
95+
**/ios/Flutter/ephemeral
8696
**/ios/Flutter/app.flx
8797
**/ios/Flutter/app.zip
8898
**/ios/Flutter/flutter_assets/
99+
**/ios/Flutter/flutter_export_environment.sh
89100
**/ios/ServiceDefinitions.json
90101
**/ios/Runner/GeneratedPluginRegistrant.*
91102

103+
# macOS
104+
**/macos/Flutter/GeneratedPluginRegistrant.swift
105+
106+
# Coverage
107+
coverage/
108+
109+
# Symbols
110+
app.*.symbols
111+
92112
# Exceptions to above rules.
93113
!**/ios/**/default.mode1v3
94114
!**/ios/**/default.mode2v3
95115
!**/ios/**/default.pbxuser
96116
!**/ios/**/default.perspectivev3
97-
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
117+
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
118+
!/dev/ci/**/Gemfile.lock

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
### Version 4.29.0 (11th June 2021)
2+
#### Added
3+
- Added support for null safety (thanks to @blaueeiner).
4+
- [beta] Added data residency feature. You can choose this setting by setting `urlStrategy` member of `AdjustConfig` instance to `AdjustConfig.DataResidencyEU` (for EU data residency region), `AdjustConfig.DataResidencyTR` (for TR data residency region) or `AdjustConfig.DataResidencyUS` value (for US data residency region).
5+
- Added `trackAdRevenueNew` method to `Adjust` interface to allow tracking of ad revenue by passing `AdjustAdRevenue` object as parameter.
6+
- Added support for `AppLovin MAX` ad revenue tracking.
7+
- Added `conversionValueUpdatedCallback` member to `AdjustConfig` which can be used to set a callback which will get information when Adjust SDK updates conversion value for the user.
8+
- Added preinstall tracking with usage of system installer receiver on Android platform.
9+
10+
#### Fixed
11+
- Fixed attribution value comparison logic which might cause same attribution value to be delivered into attribution callback on iOS platform.
12+
13+
#### Native SDKs
14+
- [[email protected]][ios_sdk_v4.29.2]
15+
- [[email protected]][android_sdk_v4.28.1]
16+
17+
---
18+
119
### Version 4.28.0 (2nd April 2021)
220
#### Changed
321
- Removed native iOS legacy code.
@@ -207,6 +225,7 @@
207225
[ios_sdk_v4.23.2]: https://github.com/adjust/ios_sdk/tree/v4.23.2
208226
[ios_sdk_v4.26.1]: https://github.com/adjust/ios_sdk/tree/v4.26.1
209227
[ios_sdk_v4.28.0]: https://github.com/adjust/ios_sdk/tree/v4.28.0
228+
[ios_sdk_v4.29.2]: https://github.com/adjust/ios_sdk/tree/v4.29.2
210229

211230
[android_sdk_v4.17.0]: https://github.com/adjust/android_sdk/tree/v4.17.0
212231
[android_sdk_v4.18.0]: https://github.com/adjust/android_sdk/tree/v4.18.0
@@ -215,4 +234,5 @@
215234
[android_sdk_v4.24.0]: https://github.com/adjust/android_sdk/tree/v4.24.0
216235
[android_sdk_v4.24.1]: https://github.com/adjust/android_sdk/tree/v4.24.1
217236
[android_sdk_v4.26.2]: https://github.com/adjust/android_sdk/tree/v4.26.2
218-
[android_sdk_v4.27.0]: https://github.com/adjust/android_sdk/tree/v4.27.0
237+
[android_sdk_v4.27.0]: https://github.com/adjust/android_sdk/tree/v4.27.0
238+
[android_sdk_v4.28.1]: https://github.com/adjust/android_sdk/tree/v4.28.1

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ This is the Flutter SDK of Adjust™. You can read more about Adjust™ at [adju
5858
* [Get current authorisation status](#af-ata-getter)
5959
* [SKAdNetwork framework](#af-skadn-framework)
6060
* [Update SKAdNetwork conversion value](#af-skadn-update-conversion-value)
61+
* [Conversion value updated callback](#af-skadn-cv-updated-callback)
6162
* [Subscription tracking](#af-subscription-tracking)
6263
* [Push token (uninstall tracking)](#af-push-token)
6364
* [Attribution callback](#af-attribution-callback)
@@ -78,6 +79,7 @@ This is the Flutter SDK of Adjust™. You can read more about Adjust™ at [adju
7879
* [Disable third-party sharing](#af-disable-third-party-sharing)
7980
* [Enable third-party sharing](#af-enable-third-party-sharing)
8081
* [Measurement consent](#af-measurement-consent)
82+
* [[beta] Data residency](#af-data-residency)
8183

8284
### License
8385

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

99101
```yaml
100102
dependencies:
101-
adjust_sdk: ^4.28.0
103+
adjust_sdk: ^4.29.0
102104
```
103105
104106
Then navigate to your project in the terminal and run:
@@ -710,6 +712,18 @@ You can use Adjust SDK wrapper method `updateConversionValue` to update SKAdNetw
710712
Adjust.updateConversionValue(6);
711713
```
712714

715+
### <a id="af-skadn-cv-updated-callback"></a>Conversion value updated callback
716+
717+
You can register callback to get notified each time when Adjust SDK updates conversion value for the user.
718+
719+
```dart
720+
AdjustConfig adjustConfig = new AdjustConfig(yourAppToken, environment);
721+
config.conversionValueUpdatedCallback = (num? conversionValue) {
722+
print('[Adjust]: Received conversion value update: ' + conversionValue!.toString());
723+
};
724+
Adjust.start(adjustConfig);
725+
```
726+
713727
### <a id="af-subscription-tracking"></a>Subscription tracking
714728

715729
**Note**: This feature is only available in the SDK v4.22.0 and above.
@@ -874,6 +888,11 @@ The callback function will be called after the SDK receives the final attributio
874888
- `creative` the creative grouping level string of the current attribution.
875889
- `clickLabel` the click label string of the current attribution.
876890
- `adid` the Adjust device identifier string.
891+
- `costType` the cost type string
892+
- `costAmount` the cost amount
893+
- `costCurrency` the cost currency string
894+
895+
**Note**: The cost data - `costType`, `costAmount` & `costCurrency` are only available when configured in `AdjustConfig` by setting `needsCost` member to `true`. If not configured or configured, but not being part of the attribution, these fields will have value `null`. This feature is available in SDK v4.26.0 and later.
877896

878897
### <a id="af-session-event-callbacks"></a>Session and event callbacks
879898

@@ -1163,6 +1182,18 @@ Adjust.trackMeasurementConsent(true);
11631182

11641183
Upon receiving this information, Adjust changes sharing the specific user's data to partners. The Adjust SDK will continue to work as expected.
11651184

1185+
### <a id="af-data-residency"></a>[beta] Data residency
1186+
1187+
In order to enable data residency feature, make sure to set `urlStrategy` member of the `AdjustConfig` instance with one of the following constants:
1188+
1189+
```dart
1190+
adjustConfig.urlStrategy = AdjustConfig.DataResidencyEU; // for EU data residency region
1191+
adjustConfig.urlStrategy = AdjustConfig.DataResidencyTR; // for Turkey data residency region
1192+
adjustConfig.urlStrategy = AdjustConfig.DataResidencyUS; // for US data residency region
1193+
```
1194+
1195+
**Note:** This feature is currently in beta testing phase. If you are interested in getting access to it, please contact your dedicated account manager or write an email to [email protected]. Please, do not turn this setting on before making sure with the support team that this feature is enabled for your app because otherwise SDK traffic will get dropped.
1196+
11661197
[dashboard]: http://adjust.com
11671198
[adjust.com]: http://adjust.com
11681199

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.28.0
1+
4.29.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.27.0'
39+
api 'com.adjust.sdk:adjust-android:4.28.1'
4040
}

0 commit comments

Comments
 (0)