Skip to content

Commit 3a30f97

Browse files
authored
Merge pull request #468 from adjust/v4231
Version 4.23.1
2 parents 8a919b0 + f9c98be commit 3a30f97

File tree

17 files changed

+28
-24
lines changed

17 files changed

+28
-24
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.23.0"
3+
s.version = "4.23.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.23.0" }
8+
s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.23.1" }
99
s.ios.deployment_target = '6.0'
1010
s.tvos.deployment_target = '9.0'
1111
s.framework = 'SystemConfiguration'

Adjust.xcodeproj/project.pbxproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323

2424
/* Begin PBXBuildFile section */
2525
2067002A1F18BDC700B4FDE1 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9601C19C1A31DD7F00A9AE21 /* CoreTelephony.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
26-
6FBEE8F324E2C26F00FEF3F1 /* ADJUrlStrategy.h in Headers */ = {isa = PBXBuildFile; fileRef = 6FBEE8F124E2C26F00FEF3F1 /* ADJUrlStrategy.h */; };
27-
6FBEE8F524E2C26F00FEF3F1 /* ADJUrlStrategy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FBEE8F224E2C26F00FEF3F1 /* ADJUrlStrategy.m */; };
2826
6FBEE92624E422EB00FEF3F1 /* ADJUrlStrategy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FBEE92424E422EB00FEF3F1 /* ADJUrlStrategy.m */; };
2927
6FBEE92724E422EB00FEF3F1 /* ADJUrlStrategy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FBEE92424E422EB00FEF3F1 /* ADJUrlStrategy.m */; };
3028
6FBEE92824E422EB00FEF3F1 /* ADJUrlStrategy.h in Headers */ = {isa = PBXBuildFile; fileRef = 6FBEE92524E422EB00FEF3F1 /* ADJUrlStrategy.h */; };
@@ -1910,7 +1908,6 @@
19101908
96BCFBD11AC99246005A65C5 /* ADJAttribution.h in Headers */,
19111909
9D2F23E22447CE5C00B7CA90 /* ADJSubscription.h in Headers */,
19121910
9601CAE81C74BAAE00670879 /* ADJEventFailure.h in Headers */,
1913-
6FBEE8F324E2C26F00FEF3F1 /* ADJUrlStrategy.h in Headers */,
19141911
9601CAE41C74B70600670879 /* ADJEventSuccess.h in Headers */,
19151912
6FCC85011F278CF300D6A0ED /* ADJReachability.h in Headers */,
19161913
96BCFBD41AC99338005A65C5 /* NSData+ADJAdditions.h in Headers */,
@@ -2610,7 +2607,6 @@
26102607
969952D21A01309200928462 /* ADJAttribution.m in Sources */,
26112608
960A8BB91A029A8000F2BB95 /* ADJConfig.m in Sources */,
26122609
96854A5A1B1F2779002B2874 /* ADJTimerOnce.m in Sources */,
2613-
6FBEE8F524E2C26F00FEF3F1 /* ADJUrlStrategy.m in Sources */,
26142610
96854A601B1F278C002B2874 /* ADJTimerCycle.m in Sources */,
26152611
96FCC53B1C186426007BBFE1 /* ADJResponseData.m in Sources */,
26162612
968173841C3C2D07002AE1DE /* ADJSessionSuccess.m in Sources */,

Adjust/ADJSystemProfile.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,8 @@ + (NSUInteger)batteryLevel {
832832
if (![[UIDevice currentDevice] isBatteryMonitoringEnabled]) {
833833
[[UIDevice currentDevice] setBatteryMonitoringEnabled:YES];
834834
}
835-
NSUInteger batteryLevel = (NSUInteger)(UIDevice.currentDevice.batteryLevel * 100);
835+
float fBatteryLevel = UIDevice.currentDevice.batteryLevel;
836+
NSUInteger batteryLevel = fBatteryLevel >= 0 ? (NSUInteger)(fBatteryLevel * 100) : 0;
836837
return batteryLevel;
837838
#endif
838839
}

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.23.0";
40+
static NSString * const kClientSdk = @"ios4.23.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.23.0
5+
// V4.23.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
@@ -221,7 +221,7 @@ + (NSString *)adjust_js {
221221
if (this.sdkPrefix) {
222222
return this.sdkPrefix;
223223
} else {
224-
return 'web-bridge4.23.0';
224+
return 'web-bridge4.23.1';
225225
}
226226
},
227227
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.23.0";
19+
self.clientSdk = @"ios4.23.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.23.1 (16th September 2020)
2+
#### Fixed
3+
- Fixed warning about storing negative value to `NSUInteger` data type.
4+
- Fixed duplicated `ADJURLStrategy` symbols error when using static framework.
5+
6+
---
7+
18
### Version 4.23.0 (19th August 2020)
29
#### Added
310
- Added communication with SKAdNetwork framework by default on iOS 14.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ We will describe the steps to integrate the Adjust SDK into your iOS project. We
7878
If you're using [CocoaPods][cocoapods], you can add the following line to your `Podfile` and continue from [this step](#sdk-integrate):
7979

8080
```ruby
81-
pod 'Adjust', '~> 4.23.0'
81+
pod 'Adjust', '~> 4.23.1'
8282
```
8383

8484
or:
8585

8686
```ruby
87-
pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.23.0'
87+
pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.23.1'
8888
```
8989

9090
---

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.23.0
1+
4.23.1

0 commit comments

Comments
 (0)