Skip to content

Commit 0bfddde

Browse files
authored
Merge pull request #117 from adjust/v4350
Version 4.35.0
2 parents 0dd8999 + c72dac0 commit 0bfddde

File tree

16 files changed

+46
-17
lines changed

16 files changed

+46
-17
lines changed

CHANGELOG.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1+
### Version 4.35.0 (27th September 2023)
2+
#### Added
3+
- Added support for SigV3 library. Update authorization header building logic to use `adj_signing_id`.
4+
- Added ability to indicate if only final Android attribution is needed in attribution callback (by default attribution callback return intermediate attribution as well before final attribution if not enabled with this setter method) by setting the `androidFinalAttributionEnabled` member of the `AdjustConfig` instance.
5+
6+
#### Native SDKs
7+
- [[email protected]][ios_sdk_v4.35.0]
8+
- [[email protected]][android_sdk_v4.35.0]
9+
10+
---
11+
112
### Version 4.34.0 (6th September 2023)
213
#### Added
314
- Added support for Android apps using Gradle 8.0 or later.
4-
- Added ability to delay SDK start on iOS platform in order to wait for an answer to the ATT dialog. You can set the number of seconds to wait (capped internally to 120) by setting the `attConsentWaitingInterval` method of the `AdjustConfig` instance.
15+
- Added ability to delay SDK start on iOS platform in order to wait for an answer to the ATT dialog. You can set the number of seconds to wait (capped internally to 120) by setting the `attConsentWaitingInterval` member of the `AdjustConfig` instance.
516
- Added support for purchase verification. In case you are using this feature, you can now use it by calling `verifyAppStorePurchase` (for iOS) and `verifyPlayStorePurchase` (for Android) methods of the `Adjust` instance.
617

718
#### Native SDKs
@@ -337,6 +348,7 @@
337348
[ios_sdk_v4.33.2]: https://github.com/adjust/ios_sdk/tree/v4.33.2
338349
[ios_sdk_v4.33.4]: https://github.com/adjust/ios_sdk/tree/v4.33.4
339350
[ios_sdk_v4.34.2]: https://github.com/adjust/ios_sdk/tree/v4.34.2
351+
[ios_sdk_v4.35.0]: https://github.com/adjust/ios_sdk/tree/v4.35.0
340352

341353
[android_sdk_v4.17.0]: https://github.com/adjust/android_sdk/tree/v4.17.0
342354
[android_sdk_v4.18.0]: https://github.com/adjust/android_sdk/tree/v4.18.0
@@ -353,4 +365,5 @@
353365
[android_sdk_v4.32.0]: https://github.com/adjust/android_sdk/tree/v4.32.0
354366
[android_sdk_v4.33.2]: https://github.com/adjust/android_sdk/tree/v4.33.2
355367
[android_sdk_v4.33.3]: https://github.com/adjust/android_sdk/tree/v4.33.3
356-
[android_sdk_v4.34.0]: https://github.com/adjust/android_sdk/tree/v4.34.0
368+
[android_sdk_v4.34.0]: https://github.com/adjust/android_sdk/tree/v4.34.0
369+
[android_sdk_v4.35.0]: https://github.com/adjust/android_sdk/tree/v4.35.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ You can add Adjust SDK to your Flutter app by adding following to your `pubspec.
104104

105105
```yaml
106106
dependencies:
107-
adjust_sdk: ^4.34.0
107+
adjust_sdk: ^4.35.0
108108
```
109109
110110
Then navigate to your project in the terminal and run:

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.34.0
1+
4.35.0

android/build.gradle

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

3939
dependencies {
40-
api 'com.adjust.sdk:adjust-android:4.34.0'
40+
api 'com.adjust.sdk:adjust-android:4.35.0'
4141
}

android/src/main/java/com/adjust/sdk/flutter/AdjustSdk.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,13 @@ private void start(final MethodCall call, final Result result) {
306306
adjustConfig.setCoppaCompliantEnabled(coppaCompliantEnabled);
307307
}
308308

309+
// Final attribution.
310+
if (configMap.containsKey("finalAndroidAttributionEnabled")) {
311+
String strFinalAndroidAttributionEnabled = (String) configMap.get("finalAndroidAttributionEnabled");
312+
boolean finalAndroidAttributionEnabled = Boolean.parseBoolean(strFinalAndroidAttributionEnabled);
313+
adjustConfig.setFinalAttributionEnabled(finalAndroidAttributionEnabled);
314+
}
315+
309316
// Google Play Store kids apps.
310317
if (configMap.containsKey("playStoreKidsAppEnabled")) {
311318
String strPlayStoreKidsAppEnabled = (String) configMap.get("playStoreKidsAppEnabled");

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@
386386
"$(PROJECT_DIR)/Flutter",
387387
);
388388
INFOPLIST_FILE = Runner/Info.plist;
389-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
389+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
390390
LD_RUNPATH_SEARCH_PATHS = (
391391
"$(inherited)",
392392
"@executable_path/Frameworks",
@@ -526,7 +526,7 @@
526526
"$(PROJECT_DIR)/Flutter",
527527
);
528528
INFOPLIST_FILE = Runner/Info.plist;
529-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
529+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
530530
LD_RUNPATH_SEARCH_PATHS = (
531531
"$(inherited)",
532532
"@executable_path/Frameworks",
@@ -558,7 +558,7 @@
558558
"$(PROJECT_DIR)/Flutter",
559559
);
560560
INFOPLIST_FILE = Runner/Info.plist;
561-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
561+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
562562
LD_RUNPATH_SEARCH_PATHS = (
563563
"$(inherited)",
564564
"@executable_path/Frameworks",

ios/adjust_sdk.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'adjust_sdk'
3-
s.version = '4.34.0'
3+
s.version = '4.35.0'
44
s.summary = 'Adjust Flutter SDK for iOS platform'
55
s.description = <<-DESC
66
Adjust Flutter SDK for iOS platform.
@@ -14,5 +14,5 @@ Pod::Spec.new do |s|
1414
s.ios.deployment_target = '8.0'
1515

1616
s.dependency 'Flutter'
17-
s.dependency 'Adjust', '4.34.2'
17+
s.dependency 'Adjust', '4.35.0'
1818
end

lib/adjust.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import 'package:flutter/services.dart';
2323
import 'package:meta/meta.dart';
2424

2525
class Adjust {
26-
static const String _sdkPrefix = 'flutter4.34.0';
26+
static const String _sdkPrefix = 'flutter4.35.0';
2727
static const MethodChannel _channel =
2828
const MethodChannel('com.adjust.sdk/api');
2929

lib/adjust_config.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ class AdjustConfig {
8181
bool? playStoreKidsAppEnabled;
8282
bool? coppaCompliantEnabled;
8383
bool? linkMeEnabled;
84+
bool? finalAndroidAttributionEnabled;
8485
String? sdkPrefix;
8586
String? userAgent;
8687
String? defaultTracker;
@@ -243,6 +244,9 @@ class AdjustConfig {
243244
if (coppaCompliantEnabled != null) {
244245
configMap['coppaCompliantEnabled'] = coppaCompliantEnabled.toString();
245246
}
247+
if (finalAndroidAttributionEnabled != null) {
248+
configMap['finalAndroidAttributionEnabled'] = finalAndroidAttributionEnabled.toString();
249+
}
246250
if (linkMeEnabled != null) {
247251
configMap['linkMeEnabled'] = linkMeEnabled.toString();
248252
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: adjust_sdk
22
description: This is the Flutter SDK of Adjust™. You can read more about Adjust™ at adjust.com.
33
homepage: https://github.com/adjust/flutter_sdk
4-
version: 4.34.0
4+
version: 4.35.0
55

66
environment:
77
sdk: ">=2.12.0 <3.0.0"

0 commit comments

Comments
 (0)