diff --git a/Adjust.podspec b/Adjust.podspec index d26e45e01..7d833c775 100644 --- a/Adjust.podspec +++ b/Adjust.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |s| s.name = "Adjust" - s.version = "4.22.0" + s.version = "4.22.1" 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 = { "Christian Wellenbrock" => "welle@adjust.com" } - s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.22.0" } + s.source = { :git => "https://github.com/adjust/ios_sdk.git", :tag => "v4.22.1" } s.ios.deployment_target = '6.0' s.tvos.deployment_target = '9.0' s.framework = 'SystemConfiguration' diff --git a/Adjust/ADJSubscription.m b/Adjust/ADJSubscription.m index 304c37b6d..4b7b76cc1 100644 --- a/Adjust/ADJSubscription.m +++ b/Adjust/ADJSubscription.m @@ -128,10 +128,11 @@ - (id)copyWithZone:(NSZone *)zone { if (copy) { copy->_price = [self.price copyWithZone:zone]; copy->_currency = [self.currency copyWithZone:zone]; - copy->_transactionDate = [self.receipt copyWithZone:zone]; copy->_transactionId = [self.transactionId copyWithZone:zone]; copy->_receipt = [self.receipt copyWithZone:zone]; - copy->_billingStore = [self.receipt copyWithZone:zone]; + copy->_billingStore = [self.billingStore copyWithZone:zone]; + copy->_transactionDate = [self.transactionDate copyWithZone:zone]; + copy->_salesRegion = [self.salesRegion copyWithZone:zone]; copy.mutableCallbackParameters = [self.mutableCallbackParameters copyWithZone:zone]; copy.mutablePartnerParameters = [self.mutablePartnerParameters copyWithZone:zone]; } diff --git a/Adjust/ADJUtil.m b/Adjust/ADJUtil.m index d380749c0..f15627237 100644 --- a/Adjust/ADJUtil.m +++ b/Adjust/ADJUtil.m @@ -40,7 +40,7 @@ static CTTelephonyNetworkInfo *networkInfo = nil; #endif -static NSString * const kClientSdk = @"ios4.22.0"; +static NSString * const kClientSdk = @"ios4.22.1"; 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 6e6acda59..34833a0fb 100644 --- a/Adjust/Adjust.h +++ b/Adjust/Adjust.h @@ -2,7 +2,7 @@ // Adjust.h // Adjust // -// V4.22.0 +// V4.22.1 // Created by Christian Wellenbrock (wellle) on 23rd July 2013. // Copyright © 2012-2017 Adjust GmbH. All rights reserved. // diff --git a/AdjustBridge/AdjustBridgeRegister.m b/AdjustBridge/AdjustBridgeRegister.m index 62b58c204..310cd91a2 100644 --- a/AdjustBridge/AdjustBridgeRegister.m +++ b/AdjustBridge/AdjustBridgeRegister.m @@ -221,7 +221,7 @@ + (NSString *)adjust_js { if (this.sdkPrefix) { return this.sdkPrefix; } else { - return 'web-bridge4.22.0'; + return 'web-bridge4.22.1'; } }, setTestOptions: function(testOptions) { diff --git a/AdjustTests/AdjustUnitTests/ADJPackageFields.m b/AdjustTests/AdjustUnitTests/ADJPackageFields.m index d41d85980..53963ba7b 100644 --- a/AdjustTests/AdjustUnitTests/ADJPackageFields.m +++ b/AdjustTests/AdjustUnitTests/ADJPackageFields.m @@ -16,7 +16,7 @@ - (id) init { // default values self.appToken = @"qwerty123456"; - self.clientSdk = @"ios4.22.0"; + self.clientSdk = @"ios4.22.1"; self.suffix = @""; self.environment = @"sandbox"; diff --git a/CHANGELOG.md b/CHANGELOG.md index abacf3aba..bd1c76da7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +### Version 4.22.1 (5th June 2020) +#### Added +- Fixed `copyWithZone:` method implementation in `ADJSubscription.m` (thanks to @atilimcetin). + +--- + ### Version 4.22.0 (29th May 2020) #### Added - Added subscription tracking feature. diff --git a/README.md b/README.md index 6116015a9..6ff5b1630 100644 --- a/README.md +++ b/README.md @@ -75,13 +75,13 @@ We will describe the steps to integrate the Adjust SDK into your iOS project. We If you're using [CocoaPods][cocoapods], you can add the following line to your `Podfile` and continue from [this step](#sdk-integrate): ```ruby -pod 'Adjust', '~> 4.22.0' +pod 'Adjust', '~> 4.22.1' ``` or: ```ruby -pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.22.0' +pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.22.1' ``` --- diff --git a/VERSION b/VERSION index d7638f377..352b26ac2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.22.0 +4.22.1 diff --git a/doc/chinese/README.md b/doc/chinese/README.md index 07e41ebe5..61911b9c3 100644 --- a/doc/chinese/README.md +++ b/doc/chinese/README.md @@ -73,13 +73,13 @@ Read this in other languages: [English][en-readme], [中文][zh-readme], [日本 如果您正在使用[CocoaPods][cocoapods],您可以将以下代码行添加至 `Podfile`,然后继续进行[此步骤](#sdk-integrate): ```ruby -pod 'Adjust', '~> 4.22.0' +pod 'Adjust', '~> 4.22.1' ``` 或: ```ruby -pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.22.0' +pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.22.1' ``` --- diff --git a/doc/english/migrate.md b/doc/english/migrate.md index 1b4b98dc5..9dfbbeceb 100644 --- a/doc/english/migrate.md +++ b/doc/english/migrate.md @@ -1,4 +1,4 @@ -## Migrate your Adjust SDK for iOS to v4.22.0 from v3.4.0 +## Migrate your Adjust SDK for iOS to v4.22.1 from v3.4.0 ### Initial setup diff --git a/doc/english/web_views.md b/doc/english/web_views.md index 3e1b83d49..a6122ea6d 100644 --- a/doc/english/web_views.md +++ b/doc/english/web_views.md @@ -64,7 +64,7 @@ We will describe the steps to integrate the Adjust SDK into your iOS project. We If you're using [CocoaPods][cocoapods], you can add the following line to your `Podfile` and continue from [this step](#sdk-integrate): ```ruby -pod 'Adjust/WebBridge', '~> 4.22.0' +pod 'Adjust/WebBridge', '~> 4.22.1' ``` --- diff --git a/doc/japanese/README.md b/doc/japanese/README.md index e6ffc2957..de7342906 100644 --- a/doc/japanese/README.md +++ b/doc/japanese/README.md @@ -25,13 +25,13 @@ adjust SDKをiOSプロジェクトに連携する手順を説明します。 [こちらの手順](#sdk-integrate)に進んでください。 ```ruby -pod 'Adjust', '~> 4.22.0' +pod 'Adjust', '~> 4.22.1' ``` または ```ruby -pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.22.0' +pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.22.1' ``` --- diff --git a/doc/korean/README.md b/doc/korean/README.md index 16d6727cd..af8a463dc 100644 --- a/doc/korean/README.md +++ b/doc/korean/README.md @@ -73,13 +73,13 @@ iOS 개발용 Xcode를 사용한다는 가정하에 iOS 프로젝트에 Adjust S [CocoaPods][cocoapods]를 사용하는 경우, 다음 내용을 `Podfile`에 추가한 후 [해당 단계](#sdk-integrate)를 완료하세요. ```ruby -pod 'Adjust', '~> 4.22.0' +pod 'Adjust', '~> 4.22.1' ``` 또는: ```ruby -pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.22.0' +pod 'Adjust', :git => 'https://github.com/adjust/ios_sdk.git', :tag => 'v4.22.1' ``` --- diff --git a/doc/korean/web_views.md b/doc/korean/web_views.md index 2775d6800..c792d0510 100644 --- a/doc/korean/web_views.md +++ b/doc/korean/web_views.md @@ -64,7 +64,7 @@ iOS 개발용 Xcode를 사용한다는 가정하에 iOS 프로젝트에 Adjust S [CocoaPods][cocoapods]를 사용하는 경우, 다음 내용을 'Podfile'에 추가한 후 [해당 단계](#sdk-integrate)를 완료하세요. ```ruby -pod 'Adjust/WebBridge', '~> 4.22.0' +pod 'Adjust/WebBridge', '~> 4.22.1' ``` --- diff --git a/doc/migrate.md b/doc/migrate.md index 1b4b98dc5..9dfbbeceb 100644 --- a/doc/migrate.md +++ b/doc/migrate.md @@ -1,4 +1,4 @@ -## Migrate your Adjust SDK for iOS to v4.22.0 from v3.4.0 +## Migrate your Adjust SDK for iOS to v4.22.1 from v3.4.0 ### Initial setup