Skip to content

Commit bede319

Browse files
authored
Merge pull request #105 from adjust/v4331
Version 4.33.1
2 parents 2007ce9 + 0a31935 commit bede319

File tree

17 files changed

+44
-48
lines changed

17 files changed

+44
-48
lines changed

CHANGELOG.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
1+
### Version 4.33.1 (16th February 2023)
2+
#### Fixed
3+
- Skipped invocation of SKAN 4.0 style callback in case SKAN 4.0 API was not invoked (https://github.com/adjust/flutter_sdk/issues/104).
4+
5+
#### Native SDKs
6+
- [[email protected]][ios_sdk_v4.33.4]
7+
- [[email protected]][android_sdk_v4.33.3]
8+
9+
---
10+
111
### Version 4.33.0 (9th December 2022)
212
#### Added
3-
- Added support for SKAD 4.0.
13+
- Added support for SKAN 4.0.
414
- Added support for setting a new China URL Strategy. You can choose this setting by setting `urlStrategy` member of `AdjustConfig` instance to `AdjustConfig.UrlStrategyCn` value.
515

616
#### Native SDKs
717
- [[email protected]][ios_sdk_v4.33.2]
8-
- [[email protected]][android_sdk_v4.32.2]
18+
- [[email protected]][android_sdk_v4.33.2]
919

1020
---
1121

@@ -313,6 +323,7 @@
313323
[ios_sdk_v4.31.0]: https://github.com/adjust/ios_sdk/tree/v4.31.0
314324
[ios_sdk_v4.32.1]: https://github.com/adjust/ios_sdk/tree/v4.32.1
315325
[ios_sdk_v4.33.2]: https://github.com/adjust/ios_sdk/tree/v4.33.2
326+
[ios_sdk_v4.33.4]: https://github.com/adjust/ios_sdk/tree/v4.33.4
316327

317328
[android_sdk_v4.17.0]: https://github.com/adjust/android_sdk/tree/v4.17.0
318329
[android_sdk_v4.18.0]: https://github.com/adjust/android_sdk/tree/v4.18.0
@@ -328,3 +339,4 @@
328339
[android_sdk_v4.31.0]: https://github.com/adjust/android_sdk/tree/v4.31.0
329340
[android_sdk_v4.32.0]: https://github.com/adjust/android_sdk/tree/v4.32.0
330341
[android_sdk_v4.33.2]: https://github.com/adjust/android_sdk/tree/v4.33.2
342+
[android_sdk_v4.33.3]: https://github.com/adjust/android_sdk/tree/v4.33.3

README.md

Lines changed: 1 addition & 2 deletions
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.33.0
107+
adjust_sdk: ^4.33.1
108108
```
109109
110110
Then navigate to your project in the terminal and run:
@@ -216,7 +216,6 @@ As of v4.22.0, the Adjust SDK supports install tracking on Huawei devices with H
216216

217217
Make sure that following iOS frameworks are linked with your iOS app:
218218

219-
* `iAd.framework` - in case you are running iAd campaigns
220219
* `AdServices.framework` - in case you are running iAd campaigns
221220
* `AdSupport.framework` - for reading iOS Advertising Id (IDFA)
222221
* `StoreKit.framework` - for communication with SKAdNetwork framework

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.33.0
1+
4.33.1

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.33.2'
39+
api 'com.adjust.sdk:adjust-android:4.33.3'
4040
}

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 51;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -14,11 +14,9 @@
1414
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
1515
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
1616
9D934E032612994B00BDDA0B /* AdServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9D934E022612994B00BDDA0B /* AdServices.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
17-
9DF8055B24F9214500A001CE /* iAd.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9DF8055A24F9214500A001CE /* iAd.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
1817
9DF8055D24F9214A00A001CE /* AdSupport.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9DF8055C24F9214900A001CE /* AdSupport.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
1918
9DF8055F24F9215100A001CE /* AppTrackingTransparency.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9DF8055E24F9215100A001CE /* AppTrackingTransparency.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
2019
9DF8056124F9215600A001CE /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9DF8056024F9215600A001CE /* StoreKit.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
21-
9DF8056324F9215B00A001CE /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9DF8056224F9215B00A001CE /* CoreTelephony.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
2220
B6025B3595AA1F9CF9F139AC /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 356E070BF8DE437AF960ADE2 /* Pods_Runner.framework */; };
2321
/* End PBXBuildFile section */
2422

@@ -68,8 +66,6 @@
6866
files = (
6967
9D934E032612994B00BDDA0B /* AdServices.framework in Frameworks */,
7068
9DF8055F24F9215100A001CE /* AppTrackingTransparency.framework in Frameworks */,
71-
9DF8055B24F9214500A001CE /* iAd.framework in Frameworks */,
72-
9DF8056324F9215B00A001CE /* CoreTelephony.framework in Frameworks */,
7369
9DF8055D24F9214A00A001CE /* AdSupport.framework in Frameworks */,
7470
9DF8056124F9215600A001CE /* StoreKit.framework in Frameworks */,
7571
B6025B3595AA1F9CF9F139AC /* Pods_Runner.framework in Frameworks */,
@@ -223,6 +219,7 @@
223219
/* Begin PBXShellScriptBuildPhase section */
224220
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
225221
isa = PBXShellScriptBuildPhase;
222+
alwaysOutOfDate = 1;
226223
buildActionMask = 2147483647;
227224
files = (
228225
);
@@ -276,6 +273,7 @@
276273
};
277274
9740EEB61CF901F6004384FC /* Run Script */ = {
278275
isa = PBXShellScriptBuildPhase;
276+
alwaysOutOfDate = 1;
279277
buildActionMask = 2147483647;
280278
files = (
281279
);

example/ios/Runner/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,7 @@
4545
<false/>
4646
<key>CADisableMinimumFrameDurationOnPhone</key>
4747
<true/>
48+
<key>UIApplicationSupportsIndirectInputEvents</key>
49+
<true/>
4850
</dict>
4951
</plist>

ios/Classes/AdjustSdk.m

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ - (void)start:(FlutterMethodCall *)call withResult:(FlutterResult)result {
153153
NSString *needsCost = call.arguments[@"needsCost"];
154154
NSString *coppaCompliantEnabled = call.arguments[@"coppaCompliantEnabled"];
155155
NSString *linkMeEnabled = call.arguments[@"linkMeEnabled"];
156-
NSString *allowiAdInfoReading = call.arguments[@"allowiAdInfoReading"];
157156
NSString *allowAdServicesInfoReading = call.arguments[@"allowAdServicesInfoReading"];
158157
NSString *allowIdfaReading = call.arguments[@"allowIdfaReading"];
159158
NSString *skAdNetworkHandling = call.arguments[@"skAdNetworkHandling"];
@@ -247,11 +246,6 @@ - (void)start:(FlutterMethodCall *)call withResult:(FlutterResult)result {
247246
[adjustConfig setNeedsCost:[needsCost boolValue]];
248247
}
249248

250-
// Allow iAd info reading.
251-
if ([self isFieldValid:allowiAdInfoReading]) {
252-
[adjustConfig setAllowiAdInfoReading:[allowiAdInfoReading boolValue]];
253-
}
254-
255249
// Allow AdServices info reading.
256250
if ([self isFieldValid:allowAdServicesInfoReading]) {
257251
[adjustConfig setAllowAdServicesInfoReading:[allowAdServicesInfoReading boolValue]];
@@ -739,7 +733,6 @@ - (void)setTestOptions:(FlutterMethodCall *)call withResult:(FlutterResult)resul
739733
NSString *teardown = call.arguments[@"teardown"];
740734
NSString *deleteState = call.arguments[@"deleteState"];
741735
NSString *noBackoffWait = call.arguments[@"noBackoffWait"];
742-
NSString *iAdFrameworkEnabled = call.arguments[@"iAdFrameworkEnabled"];
743736
NSString *adServicesFrameworkEnabled = call.arguments[@"adServicesFrameworkEnabled"];
744737

745738
if ([self isFieldValid:baseUrl]) {
@@ -778,9 +771,6 @@ - (void)setTestOptions:(FlutterMethodCall *)call withResult:(FlutterResult)resul
778771
if ([self isFieldValid:noBackoffWait]) {
779772
testOptions.noBackoffWait = [noBackoffWait boolValue];
780773
}
781-
if ([self isFieldValid:iAdFrameworkEnabled]) {
782-
testOptions.iAdFrameworkEnabled = [iAdFrameworkEnabled boolValue];
783-
}
784774
if ([self isFieldValid:adServicesFrameworkEnabled]) {
785775
testOptions.adServicesFrameworkEnabled = [adServicesFrameworkEnabled boolValue];
786776
}

ios/Classes/AdjustSdkDelegate.m

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,16 @@ - (void)adjustConversionValueUpdatedWannabe:(NSNumber *)conversionValue {
249249
- (void)adjustConversionValueUpdatedWannabe:(nullable NSNumber *)fineValue
250250
coarseValue:(nullable NSString *)coarseValue
251251
lockWindow:(nullable NSNumber *)lockWindow {
252-
id keys[] = { @"fineValue", @"coarseValue", @"lockWindow" };
253-
id values[] = { [fineValue stringValue], coarseValue, [lockWindow stringValue] };
254-
NSUInteger count = sizeof(values) / sizeof(id);
255-
NSDictionary *conversionValueMap = [NSDictionary dictionaryWithObjects:values
256-
forKeys:keys
257-
count:count];
252+
NSMutableDictionary *conversionValueMap = [NSMutableDictionary dictionary];
253+
if (![fineValue isKindOfClass:[NSNull class]] && fineValue != nil) {
254+
[conversionValueMap setValue:[fineValue stringValue] forKey:@"fineValue"];
255+
}
256+
if (![coarseValue isKindOfClass:[NSNull class]] && coarseValue != nil) {
257+
[conversionValueMap setValue:coarseValue forKey:@"coarseValue"];
258+
}
259+
if (![lockWindow isKindOfClass:[NSNull class]] && lockWindow != nil) {
260+
[conversionValueMap setValue:[lockWindow stringValue] forKey:@"lockWindow"];
261+
}
258262
[self.channel invokeMethod:dartSkad4ConversionValueUpdatedCallback arguments:conversionValueMap];
259263
}
260264

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.33.0'
3+
s.version = '4.33.1'
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.33.2'
17+
s.dependency 'Adjust', '4.33.4'
1818
end

lib/adjust.dart

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

2121
class Adjust {
22-
static const String _sdkPrefix = 'flutter4.33.0';
22+
static const String _sdkPrefix = 'flutter4.33.1';
2323
static const MethodChannel _channel =
2424
const MethodChannel('com.adjust.sdk/api');
2525

0 commit comments

Comments
 (0)