diff --git a/Adjust.podspec b/Adjust.podspec index 9a72aa7f0..cb43d1f9c 100644 --- a/Adjust.podspec +++ b/Adjust.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |s| s.name = "Adjust" - s.version = "4.38.3" + s.version = "4.38.4" 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" => "sdk@adjust.com" } - s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.38.3" } + s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.38.4" } s.ios.deployment_target = '9.0' s.tvos.deployment_target = '9.0' s.framework = 'SystemConfiguration' diff --git a/Adjust/ADJActivityHandler.m b/Adjust/ADJActivityHandler.m index fca4dd592..b531c8135 100644 --- a/Adjust/ADJActivityHandler.m +++ b/Adjust/ADJActivityHandler.m @@ -1599,10 +1599,12 @@ - (void)launchSdkClickResponseTasksI:(ADJActivityHandler *)selfI // check if we got resolved deep link in the response if (sdkClickResponseData.resolvedDeeplink != nil) { if (selfI.cachedDeeplinkResolutionCallback != nil) { + NSString *resolvedDeepLink = sdkClickResponseData.resolvedDeeplink; + AdjustResolvedDeeplinkBlock callback = selfI.cachedDeeplinkResolutionCallback; [ADJUtil launchInMainThread:^{ - selfI.cachedDeeplinkResolutionCallback(sdkClickResponseData.resolvedDeeplink); - selfI.cachedDeeplinkResolutionCallback = nil; + callback(resolvedDeepLink); }]; + selfI.cachedDeeplinkResolutionCallback = nil; } } } diff --git a/Adjust/ADJUtil.m b/Adjust/ADJUtil.m index c0e2558c3..87ec9e829 100644 --- a/Adjust/ADJUtil.m +++ b/Adjust/ADJUtil.m @@ -35,7 +35,7 @@ static NSRegularExpression *shortUniversalLinkRegex = nil; static NSRegularExpression *excludedDeeplinkRegex = nil; -static NSString * const kClientSdk = @"ios4.38.3"; +static NSString * const kClientSdk = @"ios4.38.4"; static NSString * const kDeeplinkParam = @"deep_link="; static NSString * const kSchemeDelimiter = @"://"; static NSString * const kDefaultScheme = @"AdjustUniversalScheme"; diff --git a/Adjust/Adjust.h b/Adjust/Adjust.h index 0e6ac9940..3adfe69ab 100644 --- a/Adjust/Adjust.h +++ b/Adjust/Adjust.h @@ -2,7 +2,7 @@ // Adjust.h // Adjust SDK // -// V4.38.3 +// V4.38.4 // Created by Christian Wellenbrock (@wellle) on 23rd July 2013. // Copyright (c) 2012-2021 Adjust GmbH. All rights reserved. // diff --git a/AdjustBridge/AdjustBridgeRegister.m b/AdjustBridge/AdjustBridgeRegister.m index db2ae8a93..76bbbd564 100644 --- a/AdjustBridge/AdjustBridgeRegister.m +++ b/AdjustBridge/AdjustBridgeRegister.m @@ -280,7 +280,7 @@ + (NSString *)adjust_js { if (this.sdkPrefix) { return this.sdkPrefix; } else { - return 'web-bridge4.38.3'; + return 'web-bridge4.38.4'; } }, setTestOptions: function(testOptions) { diff --git a/CHANGELOG.md b/CHANGELOG.md index b2c13f997..8bf709aa0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +### Version 4.38.4 (4th June 2024) +#### Fixed +- Fixed occasional crashes when processing resolved deep links. + +--- ### Version 4.38.3 (23rd May 2024) #### Fixed - Added missing `WKNavigationDelegate` methods to the `WebBridge` implementation. diff --git a/VERSION b/VERSION index 3ebe3743b..608c5ec8d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.38.3 +4.38.4