Skip to content

Commit

Permalink
Merge pull request #667 from adjust/v4335
Browse files Browse the repository at this point in the history
Version 4.33.5
  • Loading branch information
genadyb authored Jul 13, 2023
2 parents 6ae0388 + 5922052 commit c97e8e3
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 21 deletions.
4 changes: 2 additions & 2 deletions Adjust.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "Adjust"
s.version = "4.33.4"
s.version = "4.33.5"
s.summary = "This is the iOS SDK of adjust. You can read more about it at http://adjust.com."
s.homepage = "https://github.com/adjust/ios_sdk"
s.license = { :type => 'MIT', :file => 'MIT-LICENSE' }
s.author = { "Adjust" => "[email protected]" }
s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.33.4" }
s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.33.5" }
s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '9.0'
s.framework = 'SystemConfiguration'
Expand Down
11 changes: 2 additions & 9 deletions Adjust/ADJUtil.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
static NSRegularExpression *shortUniversalLinkRegex = nil;
static NSRegularExpression *excludedDeeplinkRegex = nil;

static NSString * const kClientSdk = @"ios4.33.4";
static NSString * const kClientSdk = @"ios4.33.5";
static NSString * const kDeeplinkParam = @"deep_link=";
static NSString * const kSchemeDelimiter = @"://";
static NSString * const kDefaultScheme = @"AdjustUniversalScheme";
Expand Down Expand Up @@ -677,15 +677,8 @@ + (NSString *)secondsNumberFormat:(double)seconds {
}

+ (double)randomInRange:(double)minRange maxRange:(double)maxRange {
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
srand48(arc4random());
});
double random = drand48();
double range = maxRange - minRange;
double scaled = random * range;
double shifted = scaled + minRange;
return shifted;
return minRange + (range * arc4random_uniform(100)*1.0/100);
}

+ (NSTimeInterval)waitingTime:(NSInteger)retries
Expand Down
2 changes: 1 addition & 1 deletion Adjust/Adjust.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Adjust.h
// Adjust SDK
//
// V4.33.4
// V4.33.5
// Created by Christian Wellenbrock (@wellle) on 23rd July 2013.
// Copyright (c) 2012-2021 Adjust GmbH. All rights reserved.
//
Expand Down
2 changes: 1 addition & 1 deletion AdjustBridge/AdjustBridgeRegister.m
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ + (NSString *)adjust_js {
if (this.sdkPrefix) {
return this.sdkPrefix;
} else {
return 'web-bridge4.33.4';
return 'web-bridge4.33.5';
}
},
setTestOptions: function(testOptions) {
Expand Down
14 changes: 10 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### Version 4.33.5 (13th July 2023)
#### Changed
- Replaced the usage of `drand48()` with `arc4random_uniform` method.

---

### Version 4.33.4 (9th February 2023)
#### Changed
- Removed usage of `iAd.framework` logic. As of February 7th 2023 the iAd framework has stopped attributing downloads from Apple Ads campaigns.
Expand Down Expand Up @@ -122,7 +128,7 @@
#### Added
- Added `adjustConversionValueUpdated:` callback which can be used to get information when Adjust SDK updates conversion value for the user.
- [beta] Added data residency support for Turkey region. You can choose this setting by calling `setUrlStrategy:` method of `ADJConfig` instance with `ADJDataResidencyTR` parameter.
- Added `trackAdRevenue:` method to `Adjust` interface to allow tracking of ad revenue by passing `ADJAdRevenue` object as parameter.
- Added `trackAdRevenue:` method to `Adjust` interface to allow tracking of ad revenue by passing `ADJAdRevenue` object as parameter.
- Added support for `AppLovin MAX` ad revenue tracking.

#### Changed
Expand Down Expand Up @@ -600,7 +606,7 @@
- Accessing private properties directly when copying.
- Removed static framework build with no Bitcode support from releases page.
- Updated docs.

#### Fixed
- Allow foreground/background timer to work in offline mode.
- Use `synchronized` blocks to prevent write deadlock/contention.
Expand Down Expand Up @@ -644,7 +650,7 @@
---

### Version 4.8.0 (25th July 2016)
#### Added
#### Added
- Added tracking support for native web apps (no SDK version change).

### Changed
Expand All @@ -653,7 +659,7 @@
---

### Version 4.8.0 (18th July 2016)
#### Added
#### Added
- Added `sendAdWordsRequest` method on `Adjust` instance to support AdWords Search and Mobile Web tracking.

---
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.33.4
4.33.5
6 changes: 3 additions & 3 deletions examples/AdjustExample-Swift/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PODS:
- Adjust (4.33.4):
- Adjust/Core (= 4.33.4)
- Adjust/Core (4.33.4)
- Adjust (4.33.5):
- Adjust/Core (= 4.33.5)
- Adjust/Core (4.33.5)

DEPENDENCIES:
- Adjust (from `../../`)
Expand Down

0 comments on commit c97e8e3

Please sign in to comment.