File tree Expand file tree Collapse file tree 9 files changed +43
-25
lines changed
examples/AdjustExample-Swift Expand file tree Collapse file tree 9 files changed +43
-25
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = "Adjust"
3
- s . version = "4.37.0 "
3
+ s . version = "4.37.1 "
4
4
s . summary = "This is the iOS SDK of adjust. You can read more about it at http://adjust.com."
5
5
s . homepage = "https://github.com/adjust/ios_sdk"
6
6
s . license = { :type => 'MIT' , :file => 'MIT-LICENSE' }
7
7
s . author = { "Adjust" => "[email protected] " }
8
- s . source = { :git => "https://github.com/adjust/ios_sdk.git" , :tag => "v4.37.0 " }
8
+ s . source = { :git => "https://github.com/adjust/ios_sdk.git" , :tag => "v4.37.1 " }
9
9
s . ios . deployment_target = '9.0'
10
10
s . tvos . deployment_target = '9.0'
11
11
s . framework = 'SystemConfiguration'
Original file line number Diff line number Diff line change @@ -1385,23 +1385,30 @@ + (void)addIdfaToParameters:(NSMutableDictionary * _Nullable)parameters
1385
1385
return ;
1386
1386
}
1387
1387
1388
- // read once && IDFA not cached
1389
- if (adjConfig.readDeviceInfoOnceEnabled && packageParams.idfaCached != nil ) {
1390
- [ADJPackageBuilder parameters: parameters setString: packageParams.idfaCached forKey: @" idfa" ];
1391
- return ;
1392
- }
1388
+ __block NSString *idfa = nil ;
1389
+ [ADJUtil launchSynchronisedWithObject: [ADJPackageBuilder class ] block: ^{
1390
+ // read once && IDFA not cached
1391
+ if (adjConfig.readDeviceInfoOnceEnabled && packageParams.idfaCached != nil ) {
1392
+ idfa = packageParams.idfaCached ;
1393
+ } else {
1394
+ // read IDFA
1395
+ idfa = [ADJUtil idfa ];
1396
+ if (idfa == nil ||
1397
+ idfa.length == 0 ||
1398
+ [idfa isEqualToString: @" 00000000-0000-0000-0000-000000000000" ])
1399
+ {
1400
+ idfa = nil ;
1401
+ } else {
1402
+ // cache IDFA
1403
+ packageParams.idfaCached = idfa;
1404
+ }
1405
+ }
1406
+ }];
1393
1407
1394
- // read IDFA
1395
- NSString *idfa = [ADJUtil idfa ];
1396
- if (idfa == nil ||
1397
- idfa.length == 0 ||
1398
- [idfa isEqualToString: @" 00000000-0000-0000-0000-000000000000" ]) {
1399
- return ;
1408
+ if (idfa != nil ) {
1409
+ // add IDFA to payload
1410
+ [ADJPackageBuilder parameters: parameters setString: idfa forKey: @" idfa" ];
1400
1411
}
1401
- // cache IDFA
1402
- packageParams.idfaCached = idfa;
1403
- // add IDFA to payload
1404
- [ADJPackageBuilder parameters: parameters setString: idfa forKey: @" idfa" ];
1405
1412
}
1406
1413
1407
1414
@end
Original file line number Diff line number Diff line change 35
35
static NSRegularExpression *shortUniversalLinkRegex = nil ;
36
36
static NSRegularExpression *excludedDeeplinkRegex = nil ;
37
37
38
- static NSString * const kClientSdk = @" ios4.37.0 " ;
38
+ static NSString * const kClientSdk = @" ios4.37.1 " ;
39
39
static NSString * const kDeeplinkParam = @" deep_link=" ;
40
40
static NSString * const kSchemeDelimiter = @" ://" ;
41
41
static NSString * const kDefaultScheme = @" AdjustUniversalScheme" ;
Original file line number Diff line number Diff line change 2
2
// Adjust.h
3
3
// Adjust SDK
4
4
//
5
- // V4.37.0
5
+ // V4.37.1
6
6
// Created by Christian Wellenbrock (@wellle) on 23rd July 2013.
7
7
// Copyright (c) 2012-2021 Adjust GmbH. All rights reserved.
8
8
//
@@ -58,6 +58,7 @@ extern NSString * __nonnull const ADJAdRevenueSourceHeliumChartboost;
58
58
extern NSString * __nonnull const ADJAdRevenueSourcePublisher;
59
59
extern NSString * __nonnull const ADJAdRevenueSourceTopOn;
60
60
extern NSString * __nonnull const ADJAdRevenueSourceADX;
61
+ extern NSString * __nonnull const ADJAdRevenueSourceTradplus;
61
62
62
63
/* *
63
64
* Constants for country app's URL strategies.
Original file line number Diff line number Diff line change 32
32
NSString * const ADJAdRevenueSourcePublisher = @" publisher_sdk" ;
33
33
NSString * const ADJAdRevenueSourceTopOn = @" topon_sdk" ;
34
34
NSString * const ADJAdRevenueSourceADX = @" adx_sdk" ;
35
+ NSString * const ADJAdRevenueSourceTradplus = @" tradplus_sdk" ;
35
36
36
37
NSString * const ADJUrlStrategyIndia = @" UrlStrategyIndia" ;
37
38
NSString * const ADJUrlStrategyChina = @" UrlStrategyChina" ;
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ + (NSString *)adjust_js {
280
280
if (this.sdkPrefix ) {
281
281
return this.sdkPrefix ;
282
282
} else {
283
- return ' web-bridge4.37.0 ' ;
283
+ return ' web-bridge4.37.1 ' ;
284
284
}
285
285
},
286
286
setTestOptions: function (testOptions) {
Original file line number Diff line number Diff line change
1
+ ### Version 4.37.1 (15th February 2024)
2
+ #### Added
3
+ - Added support for ` TradPlus ` ad revenue tracking.
4
+
5
+ #### Fixed
6
+ - Fixed occasional crashes caused by not synchronized access to cached IDFA value (https://github.com/adjust/ios_sdk/issues/696 ).
7
+
8
+ ---
9
+
1
10
### Version 4.37.0 (21st December 2023)
2
11
#### Added
3
12
- Added ability to instruct to SDK to read device IDs just once upon initialization. You can set this by calling ` setReadDeviceInfoOnceEnabled ` method of the ` ADJConfig ` instance.
Original file line number Diff line number Diff line change 1
- 4.37.0
1
+ 4.37.1
Original file line number Diff line number Diff line change 1
1
PODS:
2
- - Adjust (4.37.0 ):
3
- - Adjust/Core (= 4.37.0 )
4
- - Adjust/Core (4.37.0 )
2
+ - Adjust (4.37.1 ):
3
+ - Adjust/Core (= 4.37.1 )
4
+ - Adjust/Core (4.37.1 )
5
5
6
6
DEPENDENCIES:
7
7
- Adjust (from `../../`)
@@ -11,7 +11,7 @@ EXTERNAL SOURCES:
11
11
:path: "../../"
12
12
13
13
SPEC CHECKSUMS:
14
- Adjust: 86a6935688251ca6cea371f9b284578ccf3d981b
14
+ Adjust: de140fb7f466ad6884ffc2bca2f9a3afbd285f42
15
15
16
16
PODFILE CHECKSUM: 4c79da456db9adb90cdd42adc7f721c7bb6490cd
17
17
You can’t perform that action at this time.
0 commit comments