diff --git a/Adjust.podspec b/Adjust.podspec index 0e5b3b10c..be065ba75 100644 --- a/Adjust.podspec +++ b/Adjust.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Adjust" s.module_name = "AdjustSdk" - s.version = "5.4.5" + s.version = "5.4.6" s.summary = "This is the iOS SDK of Adjust. You can read more about it at https://adjust.com." s.homepage = "https://github.com/adjust/ios_sdk" s.license = { :type => 'MIT', :file => 'LICENSE' } @@ -20,7 +20,7 @@ Pod::Spec.new do |s| adj.exclude_files = 'Adjust/include/**/*.h' adj.resource_bundle = {'Adjust' => ['Adjust/*.xcprivacy']} adj.header_dir = 'AdjustSdk' - adj.dependency 'AdjustSignature', '3.47.0' + adj.dependency 'AdjustSignature', '3.61.0' end s.subspec 'AdjustWebBridge' do |awb| @@ -30,7 +30,7 @@ Pod::Spec.new do |s| awb.resource_bundle = {'Adjust' => ['Adjust/*.xcprivacy']} awb.header_dir = 'AdjustSdk' awb.ios.deployment_target = '12.0' - awb.dependency 'AdjustSignature', '3.47.0' + awb.dependency 'AdjustSignature', '3.61.0' end s.subspec 'AdjustGoogleOdm' do |odm| diff --git a/Adjust/ADJLinkResolution.m b/Adjust/ADJLinkResolution.m index a17b98754..ada932c83 100644 --- a/Adjust/ADJLinkResolution.m +++ b/Adjust/ADJLinkResolution.m @@ -10,6 +10,12 @@ static NSUInteger kMaxRecursions = 10; +@interface ADJLinkResolution (Private) + ++ (BOOL)isTerminalUrlWithHost:(nullable NSString *)urlHost; + +@end + @interface ADJLinkResolutionDelegate : NSObject + (nonnull ADJLinkResolutionDelegate *)sharedInstance; @@ -40,6 +46,13 @@ - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task newRequest:(NSURLRequest *)request completionHandler:(void (^)(NSURLRequest * _Nullable))completionHandler { + // if we're already at a terminal host (adjust.com / adj.st / go.link), + // stop auto-following to preserve the terminal URL (avoid jumping to App Store links) + if ([ADJLinkResolution isTerminalUrlWithHost:response.URL.host]) { + completionHandler(nil); + return; + } + NSURL *_Nullable convertedUrl = [ADJLinkResolutionDelegate convertUrlToHttps:request.URL]; if (request.URL != nil && convertedUrl != nil && ! [request.URL isEqual:convertedUrl]) { @@ -177,7 +190,7 @@ + (BOOL)isTerminalUrlWithHost:(nullable NSString *)urlHost { } NSArray *_Nonnull terminalUrlHostSuffixArray = - @[@"adjust.com", @"adj.st", @"go.link"]; + @[@"adjust.com", @"adj.st", @"go.link", @"adjust.cn", @"adjust.net.in", @"adjust.world", @"adjust.io"]; return [ADJLinkResolution urlMatchesSuffixWithHost:urlHost suffixArray:terminalUrlHostSuffixArray]; diff --git a/Adjust/Adjust.h b/Adjust/Adjust.h index e152cf9ee..17db51723 100644 --- a/Adjust/Adjust.h +++ b/Adjust/Adjust.h @@ -2,7 +2,7 @@ // Adjust.h // Adjust SDK // -// V5.4.5 +// V5.4.6 // Created by Christian Wellenbrock (@wellle) on 23rd July 2013. // Copyright (c) 2012-Present Adjust GmbH. All rights reserved. // diff --git a/Adjust/Internal/ADJUtil.m b/Adjust/Internal/ADJUtil.m index 778001413..f75b99cdd 100644 --- a/Adjust/Internal/ADJUtil.m +++ b/Adjust/Internal/ADJUtil.m @@ -31,7 +31,7 @@ static NSRegularExpression *goLinkUniversalLinkRegex = nil; static NSRegularExpression *excludedDeeplinkRegex = nil; -static NSString * const kClientSdk = @"ios5.4.5"; +static NSString * const kClientSdk = @"ios5.4.6"; static NSString * const kDeeplinkParam = @"deep_link="; static NSString * const kSchemeDelimiter = @"://"; static NSString * const kDefaultScheme = @"AdjustUniversalScheme"; diff --git a/AdjustBridge/AdjustBridgeRegister.m b/AdjustBridge/AdjustBridgeRegister.m index 724e1c160..426b6421a 100644 --- a/AdjustBridge/AdjustBridgeRegister.m +++ b/AdjustBridge/AdjustBridgeRegister.m @@ -176,7 +176,7 @@ function canSend(okCheck, errReason) { if (this.sdkPrefix) { return this.sdkPrefix; } else { - return 'web-bridge5.4.5'; + return 'web-bridge5.4.6'; } }, diff --git a/AdjustSignature/AdjustSigSdk.xcframework/Info.plist b/AdjustSignature/AdjustSigSdk.xcframework/Info.plist index c8c163c03..dc403cc94 100644 --- a/AdjustSignature/AdjustSigSdk.xcframework/Info.plist +++ b/AdjustSignature/AdjustSigSdk.xcframework/Info.plist @@ -6,40 +6,40 @@ BinaryPath - AdjustSigSdk.framework/Versions/A/AdjustSigSdk + AdjustSigSdk.framework/AdjustSigSdk LibraryIdentifier - ios-arm64_x86_64-maccatalyst + ios-arm64 LibraryPath AdjustSigSdk.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - maccatalyst BinaryPath AdjustSigSdk.framework/AdjustSigSdk LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath AdjustSigSdk.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator BinaryPath - AdjustSigSdk.framework/AdjustSigSdk + AdjustSigSdk.framework/Versions/A/AdjustSigSdk LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64_x86_64-maccatalyst LibraryPath AdjustSigSdk.framework SupportedArchitectures @@ -50,7 +50,7 @@ SupportedPlatform ios SupportedPlatformVariant - simulator + maccatalyst BinaryPath diff --git a/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeDirectory b/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeDirectory index f3ab8f09a..4ea50bcb7 100644 Binary files a/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeDirectory and b/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeDirectory differ diff --git a/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeRequirements-1 b/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeRequirements-1 index 351e5849a..1a6145260 100644 Binary files a/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeRequirements-1 and b/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeRequirements-1 differ diff --git a/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeResources b/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeResources index 59ceba17a..1534db1a1 100644 --- a/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeResources +++ b/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ ios-arm64/AdjustSigSdk.framework/AdjustSigSdk - FN94zO7Od0e+lsaTCnZ3/gzdwtE= + Nq5dZL4tIHgGm0sA52Qn/eg0nK0= ios-arm64/AdjustSigSdk.framework/Headers/ADJSigner.h @@ -26,7 +26,7 @@ ios-arm64_x86_64-maccatalyst/AdjustSigSdk.framework/Versions/A/AdjustSigSdk - jj/Vjx/GV6hpLEdi+j6J+mXAbQM= + k0nvD7iNBG2cV92UyTNnrWochBo= ios-arm64_x86_64-maccatalyst/AdjustSigSdk.framework/Versions/A/Headers/ADJSigner.h @@ -46,7 +46,7 @@ ios-arm64_x86_64-simulator/AdjustSigSdk.framework/AdjustSigSdk - mlIQ+exMZuUtDicN8FlsiC9tKdg= + ea2yeLfsqWBAGfA+CEKMnayQy0U= ios-arm64_x86_64-simulator/AdjustSigSdk.framework/Headers/ADJSigner.h @@ -66,7 +66,7 @@ tvos-arm64/AdjustSigSdk.framework/AdjustSigSdk - USQcD+EQFn7zBjjzm9Nmb/wx/mc= + zHc/kEUwi4wSkURFhXHXrY2KzEk= tvos-arm64/AdjustSigSdk.framework/Headers/ADJSigner.h @@ -86,7 +86,7 @@ tvos-arm64_x86_64-simulator/AdjustSigSdk.framework/AdjustSigSdk - RScK8h73H+/oalOIcsGM0Gljazg= + qVAo3/v04ge0C/j3dQ4IjT7LrKw= tvos-arm64_x86_64-simulator/AdjustSigSdk.framework/Headers/ADJSigner.h @@ -111,11 +111,11 @@ hash - FN94zO7Od0e+lsaTCnZ3/gzdwtE= + Nq5dZL4tIHgGm0sA52Qn/eg0nK0= hash2 - O/BBK6Id2P8fn+1CcAXnJDu+m7IQneAoHG2LNb7MZ1E= + C6551C5rErpDMhjPCJB4UMmIFcPWmk5MImROCBGnlhU= ios-arm64/AdjustSigSdk.framework/Headers/ADJSigner.h @@ -186,11 +186,11 @@ hash - jj/Vjx/GV6hpLEdi+j6J+mXAbQM= + k0nvD7iNBG2cV92UyTNnrWochBo= hash2 - xqXWWsmQENxVh6dcgWCBFDkQb+nlSmZ4kJZH7sck9Zs= + M4dq+F9mby0Z3Jw4U7XCKTbjmfPMNUMFCs7JJwer7xg= ios-arm64_x86_64-maccatalyst/AdjustSigSdk.framework/Versions/A/Headers/ADJSigner.h @@ -246,11 +246,11 @@ hash - mlIQ+exMZuUtDicN8FlsiC9tKdg= + ea2yeLfsqWBAGfA+CEKMnayQy0U= hash2 - jnHG0Sg7fvyDB3s/qMssZiVt21JN2SKk/UpVGsI+wt4= + DkQay/hH7S09/yhNL9AfEvlq+yoP5/q18QSQaXqhOpA= ios-arm64_x86_64-simulator/AdjustSigSdk.framework/Headers/ADJSigner.h @@ -301,11 +301,11 @@ hash - USQcD+EQFn7zBjjzm9Nmb/wx/mc= + zHc/kEUwi4wSkURFhXHXrY2KzEk= hash2 - FYn6CI9xsh8zji0wVBAnki7WCNYI4HFcsuJi/sE7fDk= + 4QRm2diebDi3ltFXn57z8jy8saE478dhQTfHPgbJ9JM= tvos-arm64/AdjustSigSdk.framework/Headers/ADJSigner.h @@ -356,11 +356,11 @@ hash - RScK8h73H+/oalOIcsGM0Gljazg= + qVAo3/v04ge0C/j3dQ4IjT7LrKw= hash2 - 54gBFyVHcDPNmWJIMSWgaIAgZXMa9Pwak/irAlPZ6qk= + BRI+QjvjYW36fQq1cccWvMSZ61AtXkHWUYPsQ4kNZCw= tvos-arm64_x86_64-simulator/AdjustSigSdk.framework/Headers/ADJSigner.h diff --git a/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeSignature b/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeSignature index 3dccfcc59..a0ea381f8 100644 Binary files a/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeSignature and b/AdjustSignature/AdjustSigSdk.xcframework/_CodeSignature/CodeSignature differ diff --git a/AdjustSignature/AdjustSigSdk.xcframework/ios-arm64/AdjustSigSdk.framework/AdjustSigSdk b/AdjustSignature/AdjustSigSdk.xcframework/ios-arm64/AdjustSigSdk.framework/AdjustSigSdk index f91c7cada..bcef55583 100755 Binary files a/AdjustSignature/AdjustSigSdk.xcframework/ios-arm64/AdjustSigSdk.framework/AdjustSigSdk and b/AdjustSignature/AdjustSigSdk.xcframework/ios-arm64/AdjustSigSdk.framework/AdjustSigSdk differ diff --git a/AdjustSignature/AdjustSigSdk.xcframework/ios-arm64_x86_64-maccatalyst/AdjustSigSdk.framework/Versions/A/AdjustSigSdk b/AdjustSignature/AdjustSigSdk.xcframework/ios-arm64_x86_64-maccatalyst/AdjustSigSdk.framework/Versions/A/AdjustSigSdk index ab3a0015c..d2a53a9a4 100755 Binary files a/AdjustSignature/AdjustSigSdk.xcframework/ios-arm64_x86_64-maccatalyst/AdjustSigSdk.framework/Versions/A/AdjustSigSdk and b/AdjustSignature/AdjustSigSdk.xcframework/ios-arm64_x86_64-maccatalyst/AdjustSigSdk.framework/Versions/A/AdjustSigSdk differ diff --git a/AdjustSignature/AdjustSigSdk.xcframework/ios-arm64_x86_64-simulator/AdjustSigSdk.framework/AdjustSigSdk b/AdjustSignature/AdjustSigSdk.xcframework/ios-arm64_x86_64-simulator/AdjustSigSdk.framework/AdjustSigSdk index eb5e52d14..d9c7dd623 100755 Binary files a/AdjustSignature/AdjustSigSdk.xcframework/ios-arm64_x86_64-simulator/AdjustSigSdk.framework/AdjustSigSdk and b/AdjustSignature/AdjustSigSdk.xcframework/ios-arm64_x86_64-simulator/AdjustSigSdk.framework/AdjustSigSdk differ diff --git a/AdjustSignature/AdjustSigSdk.xcframework/tvos-arm64/AdjustSigSdk.framework/AdjustSigSdk b/AdjustSignature/AdjustSigSdk.xcframework/tvos-arm64/AdjustSigSdk.framework/AdjustSigSdk index 4129ea091..ca4728b14 100755 Binary files a/AdjustSignature/AdjustSigSdk.xcframework/tvos-arm64/AdjustSigSdk.framework/AdjustSigSdk and b/AdjustSignature/AdjustSigSdk.xcframework/tvos-arm64/AdjustSigSdk.framework/AdjustSigSdk differ diff --git a/AdjustSignature/AdjustSigSdk.xcframework/tvos-arm64_x86_64-simulator/AdjustSigSdk.framework/AdjustSigSdk b/AdjustSignature/AdjustSigSdk.xcframework/tvos-arm64_x86_64-simulator/AdjustSigSdk.framework/AdjustSigSdk index 795497c57..712974679 100755 Binary files a/AdjustSignature/AdjustSigSdk.xcframework/tvos-arm64_x86_64-simulator/AdjustSigSdk.framework/AdjustSigSdk and b/AdjustSignature/AdjustSigSdk.xcframework/tvos-arm64_x86_64-simulator/AdjustSigSdk.framework/AdjustSigSdk differ diff --git a/CHANGELOG.md b/CHANGELOG.md index 8607c061d..d58de887e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +### Version 5.4.6 (23rd October 2025) +#### Changed +- Updated the Adjust Signature library version to 3.61.0. +- Updated link resolution logic to include new Adjust domains where link resolution ends. + +--- + ### Version 5.4.5 (26th September 2025) #### Fixed - Updated the Swift Package Manager dependency constraint for `GoogleAdsOnDeviceConversion` to ensure compatibility with version 3.x.x (https://github.com/adjust/ios_sdk/issues/773). @@ -1481,3 +1488,4 @@ In case you were using beta version of the SDK v5, please switch to the official #### Added - Initial release of the adjust SDK for iOS. + diff --git a/Carthage/AdjustSdk-Dynamic.json b/Carthage/AdjustSdk-Dynamic.json index 8345f6b55..b1eeac4b5 100644 --- a/Carthage/AdjustSdk-Dynamic.json +++ b/Carthage/AdjustSdk-Dynamic.json @@ -1,4 +1,5 @@ { + "5.4.6": "https://github.com/adjust/ios_sdk/releases/download/v5.4.6/AdjustSdk-iOS-tvOS-Dynamic-5.4.6.xcframework.zip", "5.4.5": "https://github.com/adjust/ios_sdk/releases/download/v5.4.5/AdjustSdk-iOS-tvOS-Dynamic-5.4.5.xcframework.zip", "5.4.4": "https://github.com/adjust/ios_sdk/releases/download/v5.4.4/AdjustSdk-iOS-tvOS-Dynamic-5.4.4.xcframework.zip", "5.4.3": "https://github.com/adjust/ios_sdk/releases/download/v5.4.3/AdjustSdk-iOS-tvOS-Dynamic-5.4.3.xcframework.zip", diff --git a/Carthage/AdjustSdk-Static.json b/Carthage/AdjustSdk-Static.json index 0d9a71161..075845c1d 100644 --- a/Carthage/AdjustSdk-Static.json +++ b/Carthage/AdjustSdk-Static.json @@ -1,4 +1,5 @@ { + "5.4.6": "https://github.com/adjust/ios_sdk/releases/download/v5.4.6/AdjustSdk-iOS-tvOS-Static-5.4.6.xcframework.zip", "5.4.5": "https://github.com/adjust/ios_sdk/releases/download/v5.4.5/AdjustSdk-iOS-tvOS-Static-5.4.5.xcframework.zip", "5.4.4": "https://github.com/adjust/ios_sdk/releases/download/v5.4.4/AdjustSdk-iOS-tvOS-Static-5.4.4.xcframework.zip", "5.4.3": "https://github.com/adjust/ios_sdk/releases/download/v5.4.3/AdjustSdk-iOS-tvOS-Static-5.4.3.xcframework.zip", diff --git a/Carthage/AdjustSdkIm-Dynamic.json b/Carthage/AdjustSdkIm-Dynamic.json index 49d14250c..dfe8cf310 100644 --- a/Carthage/AdjustSdkIm-Dynamic.json +++ b/Carthage/AdjustSdkIm-Dynamic.json @@ -1,4 +1,5 @@ { + "5.4.6": "https://github.com/adjust/ios_sdk/releases/download/v5.4.6/AdjustSdk-iMessage-Dynamic-5.4.6.xcframework.zip", "5.4.5": "https://github.com/adjust/ios_sdk/releases/download/v5.4.5/AdjustSdk-iMessage-Dynamic-5.4.5.xcframework.zip", "5.4.4": "https://github.com/adjust/ios_sdk/releases/download/v5.4.4/AdjustSdk-iMessage-Dynamic-5.4.4.xcframework.zip", "5.4.3": "https://github.com/adjust/ios_sdk/releases/download/v5.4.3/AdjustSdk-iMessage-Dynamic-5.4.3.xcframework.zip", diff --git a/Carthage/AdjustSdkIm-Static.json b/Carthage/AdjustSdkIm-Static.json index 4efc06d6d..97aafaa61 100644 --- a/Carthage/AdjustSdkIm-Static.json +++ b/Carthage/AdjustSdkIm-Static.json @@ -1,4 +1,5 @@ { + "5.4.6": "https://github.com/adjust/ios_sdk/releases/download/v5.4.6/AdjustSdk-iMessage-Static-5.4.6.xcframework.zip", "5.4.5": "https://github.com/adjust/ios_sdk/releases/download/v5.4.5/AdjustSdk-iMessage-Static-5.4.5.xcframework.zip", "5.4.4": "https://github.com/adjust/ios_sdk/releases/download/v5.4.4/AdjustSdk-iMessage-Static-5.4.4.xcframework.zip", "5.4.3": "https://github.com/adjust/ios_sdk/releases/download/v5.4.3/AdjustSdk-iMessage-Static-5.4.3.xcframework.zip", diff --git a/Carthage/AdjustSdkWebBridge-Dynamic.json b/Carthage/AdjustSdkWebBridge-Dynamic.json index 594cef565..9fea09dba 100644 --- a/Carthage/AdjustSdkWebBridge-Dynamic.json +++ b/Carthage/AdjustSdkWebBridge-Dynamic.json @@ -1,4 +1,5 @@ { + "5.4.6": "https://github.com/adjust/ios_sdk/releases/download/v5.4.6/AdjustSdk-WebBridge-Dynamic-5.4.6.xcframework.zip", "5.4.5": "https://github.com/adjust/ios_sdk/releases/download/v5.4.5/AdjustSdk-WebBridge-Dynamic-5.4.5.xcframework.zip", "5.4.4": "https://github.com/adjust/ios_sdk/releases/download/v5.4.4/AdjustSdk-WebBridge-Dynamic-5.4.4.xcframework.zip", "5.4.3": "https://github.com/adjust/ios_sdk/releases/download/v5.4.3/AdjustSdk-WebBridge-Dynamic-5.4.3.xcframework.zip", diff --git a/Carthage/AdjustSdkWebBridge-Static.json b/Carthage/AdjustSdkWebBridge-Static.json index 81ab4f686..057afd4e5 100644 --- a/Carthage/AdjustSdkWebBridge-Static.json +++ b/Carthage/AdjustSdkWebBridge-Static.json @@ -1,4 +1,5 @@ { + "5.4.6": "https://github.com/adjust/ios_sdk/releases/download/v5.4.6/AdjustSdk-WebBridge-Static-5.4.6.xcframework.zip", "5.4.5": "https://github.com/adjust/ios_sdk/releases/download/v5.4.5/AdjustSdk-WebBridge-Static-5.4.5.xcframework.zip", "5.4.4": "https://github.com/adjust/ios_sdk/releases/download/v5.4.4/AdjustSdk-WebBridge-Static-5.4.4.xcframework.zip", "5.4.3": "https://github.com/adjust/ios_sdk/releases/download/v5.4.3/AdjustSdk-WebBridge-Static-5.4.3.xcframework.zip", diff --git a/Package.swift b/Package.swift index 0e3f5f484..5f022742c 100644 --- a/Package.swift +++ b/Package.swift @@ -12,7 +12,7 @@ let package = Package( dependencies: [ .package( url: "https://github.com/adjust/adjust_signature_sdk.git", - .exact("3.47.0") + .exact("3.61.0") ), .package( url: "https://github.com/googleads/google-ads-on-device-conversion-ios-sdk.git", diff --git a/VERSION b/VERSION index 8ce222e90..bb0915fd5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.4.5 +5.4.6