From 738d526860e56c07cd5c8f855ea0161275066094 Mon Sep 17 00:00:00 2001 From: Cesar de la Vega Date: Tue, 8 Jun 2021 17:49:20 -0700 Subject: [PATCH] Preparing release 4.1.3 (#256) --- CHANGELOG.md | 5 +++++ RNPurchases.podspec | 2 +- VERSIONS.md | 1 + android/build.gradle | 4 ++-- .../purchases/react/RNPurchasesModule.java | 12 +++++----- examples/purchaseTester/ios/Podfile.lock | 22 +++++++++---------- ios/RNPurchases.m | 2 +- package.json | 2 +- scripts/build.js | 2 +- 9 files changed, 29 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb500623..18a0bfed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 4.1.3 + +- Bumped purchases-hybrid-common to 1.7.1 [Changelog here](https://github.com/RevenueCat/purchases-hybrid-common/releases/1.7.1) +- Bumped purchases-android to 4.2.1 [Changelog here](https://github.com/RevenueCat/purchases-android/releases/4.2.1) + ## 4.1.2 - Fix wrong types specified in TypeScript diff --git a/RNPurchases.podspec b/RNPurchases.podspec index a65be343..b9d36b19 100644 --- a/RNPurchases.podspec +++ b/RNPurchases.podspec @@ -23,6 +23,6 @@ Pod::Spec.new do |spec| ] spec.dependency "React-Core" - spec.dependency "PurchasesHybridCommon", '1.6.2' + spec.dependency "PurchasesHybridCommon", '1.7.1' spec.swift_version = '5.0' end diff --git a/VERSIONS.md b/VERSIONS.md index 1f943d4f..4b5033cb 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -1,5 +1,6 @@ | Version | iOS version | Android version | Common files version | |---------|-------------|-----------------|----------------------| +| 4.1.3 | 3.11.1 | 4.2.1 | 1.7.1 | | 4.1.2 | 3.11.1 | 4.0.5 | 1.6.3 | | 4.1.1 | 3.10.7 | 4.0.5 | 1.6.2 | | 4.1.0 | 3.10.6 | 4.0.4 | 1.6.1 | diff --git a/android/build.gradle b/android/build.gradle index 9033c758..043373dd 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -29,7 +29,7 @@ android { minSdkVersion getExtOrIntegerDefault('minSdkVersion') targetSdkVersion getExtOrIntegerDefault('targetSdkVersion') versionCode 1 - versionName '4.1.2' + versionName '4.1.3' } buildTypes { @@ -122,6 +122,6 @@ def kotlin_version = getExtOrDefault('kotlinVersion') dependencies { //noinspection GradleDynamicVersion api 'com.facebook.react:react-native:+' - implementation 'com.revenuecat.purchases:purchases-hybrid-common:1.6.3' + implementation 'com.revenuecat.purchases:purchases-hybrid-common:1.7.0' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" } diff --git a/android/src/main/java/com/revenuecat/purchases/react/RNPurchasesModule.java b/android/src/main/java/com/revenuecat/purchases/react/RNPurchasesModule.java index b25410d0..9f55fd8d 100644 --- a/android/src/main/java/com/revenuecat/purchases/react/RNPurchasesModule.java +++ b/android/src/main/java/com/revenuecat/purchases/react/RNPurchasesModule.java @@ -16,13 +16,13 @@ import com.facebook.react.modules.core.DeviceEventManagerModule; import com.revenuecat.purchases.PurchaserInfo; import com.revenuecat.purchases.Purchases; -import com.revenuecat.purchases.common.CommonKt; -import com.revenuecat.purchases.common.ErrorContainer; -import com.revenuecat.purchases.common.OnResult; -import com.revenuecat.purchases.common.OnResultList; +import com.revenuecat.purchases.hybridcommon.CommonKt; +import com.revenuecat.purchases.hybridcommon.ErrorContainer; +import com.revenuecat.purchases.hybridcommon.OnResult; +import com.revenuecat.purchases.hybridcommon.OnResultList; import com.revenuecat.purchases.common.PlatformInfo; -import com.revenuecat.purchases.common.SubscriberAttributesKt; -import com.revenuecat.purchases.common.mappers.PurchaserInfoMapperKt; +import com.revenuecat.purchases.hybridcommon.SubscriberAttributesKt; +import com.revenuecat.purchases.hybridcommon.mappers.PurchaserInfoMapperKt; import com.revenuecat.purchases.interfaces.UpdatedPurchaserInfoListener; import org.jetbrains.annotations.NotNull; diff --git a/examples/purchaseTester/ios/Podfile.lock b/examples/purchaseTester/ios/Podfile.lock index c764105c..05e9e7ca 100644 --- a/examples/purchaseTester/ios/Podfile.lock +++ b/examples/purchaseTester/ios/Podfile.lock @@ -59,11 +59,11 @@ PODS: - glog (0.3.5) - libevent (2.1.12) - OpenSSL-Universal (1.1.180) - - Purchases (3.10.7): - - PurchasesCoreSwift (= 3.10.7) - - PurchasesCoreSwift (3.10.7) - - PurchasesHybridCommon (1.6.2): - - Purchases (= 3.10.7) + - Purchases (3.11.1): + - PurchasesCoreSwift (= 3.11.1) + - PurchasesCoreSwift (3.11.1) + - PurchasesHybridCommon (1.7.1): + - Purchases (= 3.11.1) - RCT-Folly (2020.01.13.00): - boost-for-react-native - DoubleConversion @@ -323,8 +323,8 @@ PODS: - React-perflogger (= 0.64.2) - RNGestureHandler (1.10.3): - React-Core - - RNPurchases (4.1.2): - - PurchasesHybridCommon (= 1.6.2) + - RNPurchases (4.1.3): + - PurchasesHybridCommon (= 1.7.1) - React-Core - RNScreens (2.18.1): - React-Core @@ -484,9 +484,9 @@ SPEC CHECKSUMS: glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b - Purchases: b8b8fb6e856ac8166e217f6e014df894d821dda1 - PurchasesCoreSwift: 8ae0f08e020f0bc97c1befa4e38a0dbc8e9732e0 - PurchasesHybridCommon: 5f5c1c245b12fc5e8760af7d11cb10f888109a9b + Purchases: 6351f9ff6bd514e5ec5aa0f989ea181effa94bf5 + PurchasesCoreSwift: ee857e4c21e6254b09d7e303a756fcf2b9164408 + PurchasesHybridCommon: e3b25475328b58169e811135a3476ed0e5a4243a RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c RCTRequired: 6d3e854f0e7260a648badd0d44fc364bc9da9728 RCTTypeSafety: c1f31d19349c6b53085766359caac425926fafaa @@ -511,7 +511,7 @@ SPEC CHECKSUMS: React-runtimeexecutor: a9904c6d0218fb9f8b19d6dd88607225927668f9 ReactCommon: 149906e01aa51142707a10665185db879898e966 RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211 - RNPurchases: 42da7176d5091f95d380968e56c1e33a2040c525 + RNPurchases: 872ab12151c30dbf8e9f691cca883e9166f716d0 RNScreens: f7ad633b2e0190b77b6a7aab7f914fad6f198d8d Yoga: 575c581c63e0d35c9a83f4b46d01d63abc1100ac YogaKit: f782866e155069a2cca2517aafea43200b01fd5a diff --git a/ios/RNPurchases.m b/ios/RNPurchases.m index 3c723c1b..7f6ee9be 100644 --- a/ios/RNPurchases.m +++ b/ios/RNPurchases.m @@ -359,7 +359,7 @@ - (NSString *)platformFlavor { } - (NSString *)platformFlavorVersion { - return @"4.1.2"; + return @"4.1.3"; } @end diff --git a/package.json b/package.json index 1e3e6b85..39565a97 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-purchases", "title": "React Native Purchases", - "version": "4.1.2", + "version": "4.1.3", "description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android. ", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/scripts/build.js b/scripts/build.js index bee2c957..29cc5102 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -9,7 +9,7 @@ if (os.type() === "Linux") { ); downloadProcess.stdout.pipe(process.stdout); const downloadProcessCommon = exec( - "./scripts/download-purchases-common.sh 1.6.3" + "./scripts/download-purchases-common.sh 1.7.1" ); downloadProcessCommon.stdout.pipe(process.stdout); } else if (os.type() === "Windows_NT") {