Skip to content

Commit 526e556

Browse files
authored
Merge pull request #502 from adjust/v4261
Version 4.26.1
2 parents 143fdf1 + 9229400 commit 526e556

File tree

19 files changed

+36
-39
lines changed

19 files changed

+36
-39
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.26.0"
3+
s.version = "4.26.1"
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 = { "Christian Wellenbrock" => "[email protected]" }
8-
s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.26.0" }
8+
s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.26.1" }
99
s.ios.deployment_target = '6.0'
1010
s.tvos.deployment_target = '9.0'
1111
s.framework = 'SystemConfiguration'

Adjust/ADJActivityHandler.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
@property (nonatomic, assign) BOOL firstLaunch;
2424
@property (nonatomic, assign) BOOL sessionResponseProcessed;
2525

26-
- (_Nullable id)init;
27-
2826
- (BOOL)isEnabled;
2927
- (BOOL)isDisabled;
3028
- (BOOL)isOffline;
@@ -49,7 +47,7 @@
4947
@property (nonatomic, strong) NSMutableArray *_Nullable preLaunchAdjustThirdPartySharingArray;
5048
@property (nonatomic, copy) NSNumber *_Nullable lastMeasurementConsentTracked;
5149

52-
- (id _Nullable)init;
50+
- (nonnull id)init;
5351

5452
@end
5553

Adjust/ADJActivityHandler.m

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@
4747

4848
@implementation ADJInternalState
4949

50-
- (id)init {
51-
self = [super init];
52-
if (self == nil) return nil;
53-
54-
return self;
55-
}
56-
5750
- (BOOL)isEnabled { return self.enabled; }
5851
- (BOOL)isDisabled { return !self.enabled; }
5952
- (BOOL)isOffline { return self.offline; }
@@ -72,10 +65,10 @@ @implementation ADJSavedPreLaunch
7265

7366
- (id)init {
7467
self = [super init];
75-
if (self == nil) return nil;
76-
77-
// online by default
78-
self.offline = NO;
68+
if (self) {
69+
// online by default
70+
self.offline = NO;
71+
}
7972
return self;
8073
}
8174

Adjust/ADJAdjustFactory.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ + (void)teardown:(BOOL)deleteState {
242242
internalRequestTimeout = -1;
243243
packageHandlerBackoffStrategy = nil;
244244
sdkClickHandlerBackoffStrategy = nil;
245+
installSessionBackoffStrategy = nil;
245246
internalTesting = NO;
246247
internalMaxDelayStart = -1;
247248
internalBaseUrl = nil;

Adjust/ADJPackageBuilder.m

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ - (ADJActivityPackage *)buildSubscriptionPackage:(ADJSubscription *)subscription
248248
subscriptionPackage.parameters = parameters;
249249

250250
if (isInDelay) {
251-
subscriptionPackage.callbackParameters = subscriptionPackage.callbackParameters;
252-
subscriptionPackage.partnerParameters = subscriptionPackage.partnerParameters;
251+
subscriptionPackage.callbackParameters = subscription.callbackParameters;
252+
subscriptionPackage.partnerParameters = subscription.partnerParameters;
253253
}
254254

255255
[self signWithSigV2Plugin:subscriptionPackage];
@@ -264,9 +264,6 @@ + (void)parameters:(NSMutableDictionary *)parameters setDictionary:(NSDictionary
264264
if (dictionary.count == 0) {
265265
return;
266266
}
267-
if (dictionary.count == 0) {
268-
return;
269-
}
270267

271268
NSDictionary *convertedDictionary = [ADJUtil convertDictionaryValues:dictionary];
272269
[ADJPackageBuilder parameters:parameters setDictionaryJson:convertedDictionary forKey:key];

Adjust/ADJUtil.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
static CTTelephonyNetworkInfo *networkInfo = nil;
3838
#endif
3939

40-
static NSString * const kClientSdk = @"ios4.26.0";
40+
static NSString * const kClientSdk = @"ios4.26.1";
4141
static NSString * const kDeeplinkParam = @"deep_link=";
4242
static NSString * const kSchemeDelimiter = @"://";
4343
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
44
//
5-
// V4.26.0
5+
// V4.26.1
66
// Created by Christian Wellenbrock (wellle) on 23rd July 2013.
77
// Copyright © 2012-2017 Adjust GmbH. All rights reserved.
88
//

AdjustBridge/AdjustBridgeRegister.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ + (NSString *)adjust_js {
246246
if (this.sdkPrefix) {
247247
return this.sdkPrefix;
248248
} else {
249-
return 'web-bridge4.26.0';
249+
return 'web-bridge4.26.1';
250250
}
251251
},
252252
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.26.0";
19+
self.clientSdk = @"ios4.26.1";
2020
self.suffix = @"";
2121
self.environment = @"sandbox";
2222

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
### Version 4.26.1 (5th February 2021)
2+
3+
#### Fixed
4+
- Fixed nullability warnings.
5+
6+
---
7+
18
### Version 4.26.0 (3rd February 2021)
29
#### Added
310
- Added wrapper method `updateConversionValue:` method to `Adjust` API to allow updating SKAdNetwork conversion value via SDK API.

0 commit comments

Comments
 (0)