Skip to content

Commit 85f1ac8

Browse files
authored
Merge pull request #648 from adjust/v4333
Version 4.33.3
2 parents 9d3f624 + e340bb1 commit 85f1ac8

File tree

9 files changed

+34
-7
lines changed

9 files changed

+34
-7
lines changed

Adjust.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Pod::Spec.new do |s|
22
s.name = "Adjust"
3-
s.version = "4.33.2"
3+
s.version = "4.33.3"
44
s.summary = "This is the iOS SDK of adjust. You can read more about it at http://adjust.com."
55
s.homepage = "https://github.com/adjust/ios_sdk"
66
s.license = { :type => 'MIT', :file => 'MIT-LICENSE' }
77
s.author = { "Adjust GmbH" => "[email protected]" }
8-
s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.33.2" }
8+
s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.33.3" }
99
s.ios.deployment_target = '9.0'
1010
s.tvos.deployment_target = '9.0'
1111
s.framework = 'SystemConfiguration'

Adjust/ADJSKAdNetwork.m

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ - (void)adjUpdateConversionValue:(NSInteger)conversionValue
198198
#pragma mark - Private
199199

200200
- (BOOL)isApiAvailableForClass:(Class)class andSelector:(SEL)selector {
201+
#if !(TARGET_OS_TV)
201202
if (class == nil) {
202203
[self.logger warn:@"StoreKit.framework not found in the app (SKAdNetwork class not found)"];
203204
return NO;
@@ -211,6 +212,10 @@ - (BOOL)isApiAvailableForClass:(Class)class andSelector:(SEL)selector {
211212
return NO;
212213
}
213214
return YES;
215+
#else
216+
[self.logger debug:@"%@ method implementation not available for tvOS platform", NSStringFromSelector(selector)];
217+
return NO;
218+
#endif
214219
}
215220

216221
- (void)writeSkAdNetworkRegisterCallTimestamp {
@@ -219,6 +224,7 @@ - (void)writeSkAdNetworkRegisterCallTimestamp {
219224
}
220225

221226
- (NSString *)getSkAdNetworkCoarseConversionValue:(NSString *)adjustCoarseValue {
227+
#if !(TARGET_OS_TV)
222228
if (@available(iOS 16.1, *)) {
223229
if ([adjustCoarseValue isEqualToString:@"low"]) {
224230
NSString * __autoreleasing *lowValue = (NSString * __autoreleasing *)dlsym(RTLD_DEFAULT, "SKAdNetworkCoarseConversionValueLow");
@@ -235,6 +241,9 @@ - (NSString *)getSkAdNetworkCoarseConversionValue:(NSString *)adjustCoarseValue
235241
} else {
236242
return nil;
237243
}
244+
#else
245+
return nil;
246+
#endif
238247
}
239248

240249
- (Class)getSKAdNetworkClass {

Adjust/ADJUtil.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
static NSRegularExpression *shortUniversalLinkRegex = nil;
4040
static NSRegularExpression *excludedDeeplinkRegex = nil;
4141

42-
static NSString * const kClientSdk = @"ios4.33.2";
42+
static NSString * const kClientSdk = @"ios4.33.3";
4343
static NSString * const kDeeplinkParam = @"deep_link=";
4444
static NSString * const kSchemeDelimiter = @"://";
4545
static NSString * const kDefaultScheme = @"AdjustUniversalScheme";

Adjust/Adjust.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Adjust.h
33
// Adjust SDK
44
//
5-
// V4.33.2
5+
// V4.33.3
66
// Created by Christian Wellenbrock (@wellle) on 23rd July 2013.
77
// Copyright (c) 2012-2021 Adjust GmbH. All rights reserved.
88
//

AdjustBridge/AdjustBridgeRegister.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ + (NSString *)adjust_js {
275275
if (this.sdkPrefix) {
276276
return this.sdkPrefix;
277277
} else {
278-
return 'web-bridge4.33.2';
278+
return 'web-bridge4.33.3';
279279
}
280280
},
281281
setTestOptions: function(testOptions) {

AdjustTests/AdjustUnitTests/ADJPackageFields.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ - (id) init {
1616

1717
// default values
1818
self.appToken = @"qwerty123456";
19-
self.clientSdk = @"ios4.33.2";
19+
self.clientSdk = @"ios4.33.3";
2020
self.suffix = @"";
2121
self.environment = @"sandbox";
2222

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### Version 4.33.3 (29th December 2022)
2+
#### Fixed
3+
- Excluded SKAdNetwork flow from being executed on tvOS target (https://github.com/adjust/ios_sdk/issues/647).
4+
5+
---
6+
17
### Version 4.33.2 (6th December 2022)
28
#### Fixed
39
- Added additional checks to make sure that non-existing selectors for given platform don't attempt to be executed (https://github.com/adjust/ios_sdk/issues/641).

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.33.2
1+
4.33.3

examples/AdjustExample-tvOS/AdjustExample-tvOS.xcodeproj/project.pbxproj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
9D449F5D1E6EE6C500E7E80B /* Adjust.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D449F3B1E6EE6C500E7E80B /* Adjust.m */; };
4747
9D449F5E1E6EE6C500E7E80B /* ADJUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D449F3D1E6EE6C500E7E80B /* ADJUtil.m */; };
4848
9D49D171290FEBFC00042345 /* ADJSKAdNetwork.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D49D170290FEBFC00042345 /* ADJSKAdNetwork.m */; };
49+
9D5C9632295D96260021602B /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9D5C9631295D96260021602B /* StoreKit.framework */; };
4950
9DC95F2F1C10596500138E4B /* Constants.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DC95F2E1C10596500138E4B /* Constants.m */; };
5051
9DD0E9CF1F459ECE00B2A759 /* ADJUserDefaults.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DD0E9CE1F459ECE00B2A759 /* ADJUserDefaults.m */; };
5152
9DF3823D260E9E000033F5A1 /* NSNumber+ADJAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DF3823C260E9E000033F5A1 /* NSNumber+ADJAdditions.m */; };
@@ -142,6 +143,7 @@
142143
9D449F3D1E6EE6C500E7E80B /* ADJUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJUtil.m; sourceTree = "<group>"; };
143144
9D49D16F290FEBFC00042345 /* ADJSKAdNetwork.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJSKAdNetwork.h; sourceTree = "<group>"; };
144145
9D49D170290FEBFC00042345 /* ADJSKAdNetwork.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJSKAdNetwork.m; sourceTree = "<group>"; };
146+
9D5C9631295D96260021602B /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; };
145147
9DC95F2D1C10596500138E4B /* Constants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Constants.h; sourceTree = "<group>"; };
146148
9DC95F2E1C10596500138E4B /* Constants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Constants.m; sourceTree = "<group>"; };
147149
9DD0E9CD1F459ECE00B2A759 /* ADJUserDefaults.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJUserDefaults.h; sourceTree = "<group>"; };
@@ -158,6 +160,7 @@
158160
buildActionMask = 2147483647;
159161
files = (
160162
963909D01BCC0DA600A2E8A4 /* AdSupport.framework in Frameworks */,
163+
9D5C9632295D96260021602B /* StoreKit.framework in Frameworks */,
161164
);
162165
runOnlyForDeploymentPostprocessing = 0;
163166
};
@@ -169,6 +172,7 @@
169172
children = (
170173
963909B41BCC0D8300A2E8A4 /* AdjustExample-tvOS */,
171174
963909B31BCC0D8300A2E8A4 /* Products */,
175+
9D5C9630295D96250021602B /* Frameworks */,
172176
);
173177
sourceTree = "<group>";
174178
};
@@ -295,6 +299,14 @@
295299
path = ADJAdditions;
296300
sourceTree = "<group>";
297301
};
302+
9D5C9630295D96250021602B /* Frameworks */ = {
303+
isa = PBXGroup;
304+
children = (
305+
9D5C9631295D96260021602B /* StoreKit.framework */,
306+
);
307+
name = Frameworks;
308+
sourceTree = "<group>";
309+
};
298310
9DF7ACCA1CB50DB700D3591F /* Frameworks */ = {
299311
isa = PBXGroup;
300312
children = (

0 commit comments

Comments
 (0)