Skip to content

Commit cd05aec

Browse files
authored
Merge pull request #700 from adjust/v4372
Version 4.37.2
2 parents a6fb83b + 5ab4fee commit cd05aec

File tree

19 files changed

+179
-64
lines changed

19 files changed

+179
-64
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.37.1"
3+
s.version = "4.37.2"
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" => "[email protected]" }
8-
s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.37.1" }
8+
s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.37.2" }
99
s.ios.deployment_target = '9.0'
1010
s.tvos.deployment_target = '9.0'
1111
s.framework = 'SystemConfiguration'

Adjust/ADJActivityHandler.m

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,28 @@ - (void)processSessionI:(ADJActivityHandler *)selfI {
10301030
[ADJUserDefaults removeDisableThirdPartySharing];
10311031

10321032
return;
1033+
} else {
1034+
// these checks should run after SDK initialization after the first one
1035+
if ([ADJUserDefaults getDisableThirdPartySharing]) {
1036+
[selfI disableThirdPartySharingI:selfI];
1037+
}
1038+
if (selfI.savedPreLaunch.preLaunchAdjustThirdPartySharingArray != nil) {
1039+
for (ADJThirdPartySharing *thirdPartySharing
1040+
in selfI.savedPreLaunch.preLaunchAdjustThirdPartySharingArray)
1041+
{
1042+
[selfI trackThirdPartySharingI:selfI
1043+
thirdPartySharing:thirdPartySharing];
1044+
}
1045+
1046+
selfI.savedPreLaunch.preLaunchAdjustThirdPartySharingArray = nil;
1047+
}
1048+
if (selfI.savedPreLaunch.lastMeasurementConsentTracked != nil) {
1049+
[selfI
1050+
trackMeasurementConsentI:selfI
1051+
enabled:[selfI.savedPreLaunch.lastMeasurementConsentTracked boolValue]];
1052+
1053+
selfI.savedPreLaunch.lastMeasurementConsentTracked = nil;
1054+
}
10331055
}
10341056

10351057
double lastInterval = now - selfI.activityState.lastActivity;

Adjust/ADJUtil.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
static NSRegularExpression *shortUniversalLinkRegex = nil;
3636
static NSRegularExpression *excludedDeeplinkRegex = nil;
3737

38-
static NSString * const kClientSdk = @"ios4.37.1";
38+
static NSString * const kClientSdk = @"ios4.37.2";
3939
static NSString * const kDeeplinkParam = @"deep_link=";
4040
static NSString * const kSchemeDelimiter = @"://";
4141
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.37.1
5+
// V4.37.2
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
@@ -280,7 +280,7 @@ + (NSString *)adjust_js {
280280
if (this.sdkPrefix) {
281281
return this.sdkPrefix;
282282
} else {
283-
return 'web-bridge4.37.1';
283+
return 'web-bridge4.37.2';
284284
}
285285
},
286286
setTestOptions: function(testOptions) {

CHANGELOG.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
### Version 4.37.2 (28th February 2024)
2+
#### Changed
3+
- Added tracking of `third_party_sharing` and `measurement_consent` packages if invoked before SDK initialization in subsequent SDK initializations.
4+
- Cleaned up example apps.
5+
6+
---
7+
18
### Version 4.37.1 (15th February 2024)
29
#### Added
310
- Added support for `TradPlus` ad revenue tracking.
@@ -178,7 +185,7 @@
178185
#### Fixed
179186
- Fixed new Xcode 13 beta compile time errors for extensions targets (https://github.com/adjust/ios_sdk/pull/559).
180187
- Improved dummy iAd attribution responses filtering (https://github.com/adjust/ios_sdk/pull/524).
181-
- Fixed SPM warnnings about `ADJLinkResolution.h` not being part of umbrella header (https://github.com/adjust/ios_sdk/pull/557).
188+
- Fixed SPM warnings about `ADJLinkResolution.h` not being part of umbrella header (https://github.com/adjust/ios_sdk/pull/557).
182189
- Fixed some static code analysis warnings (https://github.com/adjust/ios_sdk/pull/558).
183190

184191
---
@@ -640,7 +647,7 @@
640647
#### Fixed
641648
- Replaced `NSLog` in `ADJSystemProfile` with the adjust logger.
642649
- It is no longer necessary to have attribution delegate implemented to get deferred deep links.
643-
- Sending `os_build` or permenent version, not both.
650+
- Sending `os_build` or permanent version, not both.
644651

645652
---
646653

@@ -922,7 +929,7 @@
922929
- Added sending of short app version field.
923930

924931
#### Changed
925-
- Updating deep linking handling to be comaptible with iOS 9.
932+
- Updating deep linking handling to be compatible with iOS 9.
926933
- Updated docs.
927934

928935
#### Fixed
@@ -1102,8 +1109,8 @@
11021109
#### Added
11031110
- Added config object used for SDK initialisation.
11041111
- Added possibility send currency together with revenue in the event.
1105-
- Added posibility to track parameters for client callbacks.
1106-
- Added posibility to track parameters for partner networks.
1112+
- Added possibility to track parameters for client callbacks.
1113+
- Added possibility to track parameters for partner networks.
11071114
- Added `setOfflineMode` method to allow you to put SDK in offline mode.
11081115

11091116
#### Changed
@@ -1117,7 +1124,7 @@
11171124
- Added support for handling deferred deep links.
11181125

11191126
#### Changed
1120-
- Removed static dependancy on `ADClient`.
1127+
- Removed static dependency on `ADClient`.
11211128

11221129
---
11231130

@@ -1133,7 +1140,7 @@
11331140
### Version 3.3.4 (19th June 2014)
11341141
#### Added
11351142
- Added tracker information to response data.
1136-
- Addded support for `Mixpanel`.
1143+
- Added support for `Mixpanel`.
11371144

11381145
#### Changed
11391146
- Updated docs.
@@ -1278,7 +1285,7 @@
12781285
- Added support for `iOS 7`.
12791286
- Added offline tracking.
12801287
- Added persisted storage.
1281-
- Addud multi threading.
1288+
- Added multi-threading.
12821289

12831290
---
12841291

@@ -1300,7 +1307,7 @@
13001307
### Version 1.4 (17th January 2013)
13011308
#### Added
13021309
- Added session IDs and interval to last session event to session starts and ends.
1303-
- Added facebook attribution ID to installs for facebook install ads.
1310+
- Added Facebook attribution ID to installs for Facebook install ads.
13041311

13051312
---
13061313

@@ -1337,3 +1344,4 @@
13371344
### Version 1.0.0 (30th July 2012)
13381345
#### Added
13391346
- Initial release of the adjust SDK for iOS.
1347+

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.37.1
1+
4.37.2

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
07A893432B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 07A8933F2B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.m */; };
11-
07A893442B0B980B0011DAB8 /* ADJPurchaseVerificationResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 07A893402B0B980B0011DAB8 /* ADJPurchaseVerificationResult.m */; };
12-
07A893452B0B980B0011DAB8 /* ADJPurchase.m in Sources */ = {isa = PBXBuildFile; fileRef = 07A893412B0B980B0011DAB8 /* ADJPurchase.m */; };
1310
07AF832327BD3CBF00C5DD9E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 07AF832227BD3CBF00C5DD9E /* Main.storyboard */; };
11+
07C8C7F22B8F447B006979A1 /* ADJPurchaseVerificationResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7EC2B8F447B006979A1 /* ADJPurchaseVerificationResult.m */; };
12+
07C8C7F32B8F447B006979A1 /* ADJPurchase.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7ED2B8F447B006979A1 /* ADJPurchase.m */; };
13+
07C8C7F42B8F447B006979A1 /* ADJPurchaseVerificationHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 07C8C7EF2B8F447B006979A1 /* ADJPurchaseVerificationHandler.m */; };
1414
6FAB78C12636DDC400773869 /* ADJLinkResolution.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FAB78BF2636DDC400773869 /* ADJLinkResolution.m */; };
1515
9D49D17A290FEC2E00042345 /* ADJSKAdNetwork.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D49D179290FEC2E00042345 /* ADJSKAdNetwork.m */; };
1616
9D9D1533212EB3920081445E /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D9D1532212EB3920081445E /* AppDelegate.m */; };
@@ -63,13 +63,13 @@
6363
/* End PBXBuildFile section */
6464

6565
/* Begin PBXFileReference section */
66-
07A8933D2B0B980B0011DAB8 /* ADJPurchase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ADJPurchase.h; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchase.h"; sourceTree = "<group>"; };
67-
07A8933E2B0B980B0011DAB8 /* ADJPurchaseVerificationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ADJPurchaseVerificationResult.h; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchaseVerificationResult.h"; sourceTree = "<group>"; };
68-
07A8933F2B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ADJPurchaseVerificationHandler.m; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchaseVerificationHandler.m"; sourceTree = "<group>"; };
69-
07A893402B0B980B0011DAB8 /* ADJPurchaseVerificationResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ADJPurchaseVerificationResult.m; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchaseVerificationResult.m"; sourceTree = "<group>"; };
70-
07A893412B0B980B0011DAB8 /* ADJPurchase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ADJPurchase.m; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchase.m"; sourceTree = "<group>"; };
71-
07A893422B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ADJPurchaseVerificationHandler.h; path = "../../../Downloads/ios_sdk_dev-tracking_domain/Adjust/ADJPurchaseVerificationHandler.h"; sourceTree = "<group>"; };
7266
07AF832227BD3CBF00C5DD9E /* Main.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
67+
07C8C7EC2B8F447B006979A1 /* ADJPurchaseVerificationResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationResult.m; sourceTree = "<group>"; };
68+
07C8C7ED2B8F447B006979A1 /* ADJPurchase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchase.m; sourceTree = "<group>"; };
69+
07C8C7EE2B8F447B006979A1 /* ADJPurchase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchase.h; sourceTree = "<group>"; };
70+
07C8C7EF2B8F447B006979A1 /* ADJPurchaseVerificationHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJPurchaseVerificationHandler.m; sourceTree = "<group>"; };
71+
07C8C7F02B8F447B006979A1 /* ADJPurchaseVerificationHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationHandler.h; sourceTree = "<group>"; };
72+
07C8C7F12B8F447B006979A1 /* ADJPurchaseVerificationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJPurchaseVerificationResult.h; sourceTree = "<group>"; };
7373
6FAB78BF2636DDC400773869 /* ADJLinkResolution.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ADJLinkResolution.m; sourceTree = "<group>"; };
7474
6FAB78C02636DDC400773869 /* ADJLinkResolution.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJLinkResolution.h; sourceTree = "<group>"; };
7575
9D49D178290FEC2E00042345 /* ADJSKAdNetwork.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ADJSKAdNetwork.h; sourceTree = "<group>"; };
@@ -298,12 +298,12 @@
298298
6FAB78BF2636DDC400773869 /* ADJLinkResolution.m */,
299299
9D49D178290FEC2E00042345 /* ADJSKAdNetwork.h */,
300300
9D49D179290FEC2E00042345 /* ADJSKAdNetwork.m */,
301-
07A8933D2B0B980B0011DAB8 /* ADJPurchase.h */,
302-
07A893412B0B980B0011DAB8 /* ADJPurchase.m */,
303-
07A893422B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.h */,
304-
07A8933F2B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.m */,
305-
07A8933E2B0B980B0011DAB8 /* ADJPurchaseVerificationResult.h */,
306-
07A893402B0B980B0011DAB8 /* ADJPurchaseVerificationResult.m */,
301+
07C8C7EE2B8F447B006979A1 /* ADJPurchase.h */,
302+
07C8C7ED2B8F447B006979A1 /* ADJPurchase.m */,
303+
07C8C7F02B8F447B006979A1 /* ADJPurchaseVerificationHandler.h */,
304+
07C8C7EF2B8F447B006979A1 /* ADJPurchaseVerificationHandler.m */,
305+
07C8C7F12B8F447B006979A1 /* ADJPurchaseVerificationResult.h */,
306+
07C8C7EC2B8F447B006979A1 /* ADJPurchaseVerificationResult.m */,
307307
);
308308
name = Adjust;
309309
path = ../../../Adjust;
@@ -427,16 +427,13 @@
427427
9DF92F202630F377000FC3FC /* ADJResponseData.m in Sources */,
428428
9DF92F1C2630F377000FC3FC /* ADJActivityPackage.m in Sources */,
429429
9DF92F0C2630F377000FC3FC /* ADJEventSuccess.m in Sources */,
430-
07A893442B0B980B0011DAB8 /* ADJPurchaseVerificationResult.m in Sources */,
431430
9DF92FB02630F3A1000FC3FC /* WKWebViewJavascriptBridge.m in Sources */,
432-
07A893432B0B980B0011DAB8 /* ADJPurchaseVerificationHandler.m in Sources */,
433431
9DF92F232630F377000FC3FC /* ADJUserDefaults.m in Sources */,
434432
9DF92F182630F377000FC3FC /* NSData+ADJAdditions.m in Sources */,
435433
9DF92F212630F377000FC3FC /* ADJPackageBuilder.m in Sources */,
436434
9DF92F132630F377000FC3FC /* Adjust.m in Sources */,
437435
9DF92F172630F377000FC3FC /* NSString+ADJAdditions.m in Sources */,
438436
9DF92F052630F377000FC3FC /* ADJTimerOnce.m in Sources */,
439-
07A893452B0B980B0011DAB8 /* ADJPurchase.m in Sources */,
440437
9DF92F072630F377000FC3FC /* ADJRequestHandler.m in Sources */,
441438
9DF92F122630F377000FC3FC /* ADJBackoffStrategy.m in Sources */,
442439
9DF92F222630F377000FC3FC /* ADJSubscription.m in Sources */,
@@ -457,14 +454,17 @@
457454
9DF92F0F2630F377000FC3FC /* ADJTimerCycle.m in Sources */,
458455
9DF92FB12630F3A1000FC3FC /* WebViewJavascriptBridge_JS.m in Sources */,
459456
9DF92F0E2630F377000FC3FC /* ADJSessionFailure.m in Sources */,
457+
07C8C7F22B8F447B006979A1 /* ADJPurchaseVerificationResult.m in Sources */,
460458
9DF92F1E2630F377000FC3FC /* ADJUrlStrategy.m in Sources */,
461459
6FAB78C12636DDC400773869 /* ADJLinkResolution.m in Sources */,
462460
9DF92F1B2630F377000FC3FC /* ADJThirdPartySharing.m in Sources */,
461+
07C8C7F42B8F447B006979A1 /* ADJPurchaseVerificationHandler.m in Sources */,
463462
9DF92F162630F377000FC3FC /* ADJActivityKind.m in Sources */,
464463
9DF92F092630F377000FC3FC /* ADJEvent.m in Sources */,
465464
9DF92F0D2630F377000FC3FC /* ADJActivityState.m in Sources */,
466465
9DF92F0A2630F377000FC3FC /* ADJSessionSuccess.m in Sources */,
467466
9DF92F042630F377000FC3FC /* ADJAdRevenue.m in Sources */,
467+
07C8C7F32B8F447B006979A1 /* ADJPurchase.m in Sources */,
468468
9DF92F142630F377000FC3FC /* ADJConfig.m in Sources */,
469469
);
470470
runOnlyForDeploymentPostprocessing = 0;

examples/AdjustExample-FbPixel/AdjustExample-FbPixel/AppDelegate.m

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
2222
return YES;
2323
}
2424

25-
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options {
25+
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
26+
NSLog(@"Scheme based deep link opened an app: %@", url);
27+
// add your code below to handle deep link
28+
// (e.g., open deep link content)
29+
// url object contains the deep link
30+
31+
// Call the below method to send deep link to Adjust backend
2632
[Adjust appWillOpenUrl:url];
2733
return YES;
2834
}

examples/AdjustExample-ObjC/AdjustExample-ObjC/AppDelegate.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
8282

8383
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
8484
NSLog(@"Scheme based deep link opened an app: %@", url);
85-
// Pass deep link to Adjust in order to potentially reattribute user.
85+
// add your code below to handle deep link
86+
// (e.g., open deep link content)
87+
// url object contains the deep link
88+
89+
// Call the below method to send deep link to Adjust backend
8690
[Adjust appWillOpenUrl:url];
8791
return YES;
8892
}

0 commit comments

Comments
 (0)