From 6c9ebb01c789752a3ffae31d66ae852a663c0575 Mon Sep 17 00:00:00 2001 From: NachoSoto Date: Mon, 13 Nov 2023 08:18:14 -0800 Subject: [PATCH] release/3.5.4 (#359) - Update `purchases-ios` to version [3.14.4](https://github.com/RevenueCat/purchases-ios/releases/tag/3.14.4) --------- Co-authored-by: Toni Rico --- .circleci/config.yml | 4 ++-- CHANGELOG.md | 4 ++++ IntegrationTests/fastlane/Fastfile | 8 ++++++-- RevenueCat/Plugins/Android/PurchasesWrapper.java | 2 +- RevenueCat/Plugins/Editor/RevenueCatDependencies.xml | 4 ++-- RevenueCat/Plugins/iOS/PurchasesUnityHelper.m | 2 +- VERSION | 2 +- VERSIONS.md | 1 + scripts/create-unity-package.sh | 2 +- 9 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 440e1816..17ae473c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,7 +58,7 @@ commands: steps: - run: name: Decode license in env variable - command: echo $BASE64_LICENSE | base64 --decode >> Unity_v2019.x.ulf + command: echo $UNITY_LICENSE_OLD_BASE64 | base64 --decode >> Unity_v2019.x.ulf - run: name: Import Unity license file command: | @@ -196,7 +196,7 @@ jobs: archive-ios: description: "Run iOS integration tests for Unity" macos: - xcode: 12.2.0 + xcode: 12.5.1 steps: - checkout - attach_workspace: diff --git a/CHANGELOG.md b/CHANGELOG.md index 886a2afb..898baedd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.5.4 + +- Update `purchases-ios` to version [3.14.4](https://github.com/RevenueCat/purchases-ios/releases/tag/3.14.4) + ## 3.5.3 When installing this release, make sure to make a fresh installation by removing the RevenueCat folder before importing the package. That way obsolete files are deleted from your project. diff --git a/IntegrationTests/fastlane/Fastfile b/IntegrationTests/fastlane/Fastfile index bb0845d3..53430ddd 100644 --- a/IntegrationTests/fastlane/Fastfile +++ b/IntegrationTests/fastlane/Fastfile @@ -26,8 +26,12 @@ platform :ios do workspace = options[:workspace] fail ArgumentError, "missing workspace" unless workspace - match(type: "appstore") - gym(export_method: "app-store", workspace: workspace) + gym( + export_method: "app-store", + workspace: workspace, + skip_codesigning: true, + skip_package_ipa: true + ) end end diff --git a/RevenueCat/Plugins/Android/PurchasesWrapper.java b/RevenueCat/Plugins/Android/PurchasesWrapper.java index 6ab623d9..7732bc91 100644 --- a/RevenueCat/Plugins/Android/PurchasesWrapper.java +++ b/RevenueCat/Plugins/Android/PurchasesWrapper.java @@ -46,7 +46,7 @@ public class PurchasesWrapper { private static final String GET_PAYMENT_DISCOUNT = "_getPaymentDiscount"; private static final String PLATFORM_NAME = "unity"; - private static final String PLUGIN_VERSION = "3.5.3"; + private static final String PLUGIN_VERSION = "3.5.4"; private static String gameObject; private static UpdatedPurchaserInfoListener listener = new UpdatedPurchaserInfoListener() { diff --git a/RevenueCat/Plugins/Editor/RevenueCatDependencies.xml b/RevenueCat/Plugins/Editor/RevenueCatDependencies.xml index e99f3826..b6c06cd6 100644 --- a/RevenueCat/Plugins/Editor/RevenueCatDependencies.xml +++ b/RevenueCat/Plugins/Editor/RevenueCatDependencies.xml @@ -1,10 +1,10 @@ - + - + diff --git a/RevenueCat/Plugins/iOS/PurchasesUnityHelper.m b/RevenueCat/Plugins/iOS/PurchasesUnityHelper.m index 5958e9df..3e42db4e 100644 --- a/RevenueCat/Plugins/iOS/PurchasesUnityHelper.m +++ b/RevenueCat/Plugins/iOS/PurchasesUnityHelper.m @@ -400,7 +400,7 @@ - (NSString *)platformFlavor { } - (NSString *)platformFlavorVersion { - return @"3.5.3"; + return @"3.5.4"; } @end diff --git a/VERSION b/VERSION index 444877d4..65afb3b8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.5.3 +3.5.4 diff --git a/VERSIONS.md b/VERSIONS.md index c8cb6cc3..df0fc09e 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -1,5 +1,6 @@ | Version | iOS version | Android version | Common version | BillingClient version | Unity IAP compatibility | |---------|-------------|-----------------|----------------|-----------------------|-------------------------| +| 3.5.4 | 3.14.4 | 4.6.1 | 2.0.2 | 4.0.0 | Not compatible | | 3.5.3 | 3.14.1 | 4.6.1 | 2.0.1 | 4.0.0 | Not compatible | | 3.5.2 | 3.14.1 | 4.6.1 | 2.0.1 | 4.0.0 | Not compatible | | 3.5.1 | 3.14.0 | 4.6.0 | 2.0.0 | 4.0.0 | Not compatible | diff --git a/scripts/create-unity-package.sh b/scripts/create-unity-package.sh index f2c9ed0f..89aa528e 100755 --- a/scripts/create-unity-package.sh +++ b/scripts/create-unity-package.sh @@ -36,7 +36,7 @@ fi if [ -f $PROJECT/external-dependency-manager-*.unitypackage ]; then echo "👌 External dependency manager plugin found. It will be added to the unitypackage." else - wget https://github.com/googlesamples/unity-jar-resolver/raw/master/external-dependency-manager-latest.unitypackage -P $PROJECT + wget https://github.com/googlesamples/unity-jar-resolver/raw/v1.2.172/external-dependency-manager-latest.unitypackage -P $PROJECT fi if [ -f $PACKAGE ]; then