Skip to content

Commit

Permalink
Prep for 4.3.1 release (#285)
Browse files Browse the repository at this point in the history
* Prep for 4.3.1 release

* Add missing changelog entry and RNPurchasesModule update

* Update RELEASING.md

Co-authored-by: Cesar de la Vega <[email protected]>

Co-authored-by: Cesar de la Vega <[email protected]>
  • Loading branch information
beylmk and vegaro authored Sep 7, 2021
1 parent a51ae86 commit d7c4d8d
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 24 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 4.3.1

- Bumped purchases-android to 4.3.1 [Changelog here](https://github.com/RevenueCat/purchases-android/releases/4.3.1),
which fixes canMakePayments not returning (see related issue: https://github.com/RevenueCat/purchases-unity/issues/61)
- Bumped purchases-ios to 3.12.3 [Changelog here](https://github.com/RevenueCat/purchases-ios/releases/tag/3.12.3)
- Bumped purchases-hybrid-common to 1.9.1 [Changelog here](https://github.com/RevenueCat/purchases-hybrid-common/releases/tag/1.9.1)
- Extracted readableErrorCode to userInfo (https://github.com/RevenueCat/react-native-purchases/pull/268)

## 4.3.0

### Identity V3:
Expand Down
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
1. Update to the latest SDK versions in `scripts/build.js`, `RNPurchases.podspec` and `android/build.gradle`.
1. Update versions in VERSIONS.md.
1. Update version in `package.json`.
1. Update `platformFlavorVersion` in `RNPurchases.m` and `RNPurchasesModule.java`.
1. Update `platformFlavorVersion` in `RNPurchases.m` and `PLUGIN_VERSION` in RNPurchasesModule.java.
1. Update versionName in `android/build.gradle`.
1. Add an entry to CHANGELOG.md
1. Run `npm run build`
Expand Down
2 changes: 1 addition & 1 deletion RNPurchases.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ Pod::Spec.new do |spec|
]

spec.dependency "React-Core"
spec.dependency "PurchasesHybridCommon", '1.8.0'
spec.dependency "PurchasesHybridCommon", '1.9.1'
spec.swift_version = '5.0'
end
1 change: 1 addition & 0 deletions VERSIONS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
| Version | iOS version | Android version | Common files version |
|---------|-------------|-----------------|----------------------|
| 4.3.1 | 3.12.3 | 4.3.1 | 1.9.1 |
| 4.3.0 | 3.12.2 | 4.3.0 | 1.8.0 |
| 4.2.0 | 3.11.1 | 4.2.1 | 1.7.1 |
| 4.1.4 | 3.11.1 | 4.2.1 | 1.7.1 |
Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
versionCode 1
versionName '4.3.0'
versionName '4.3.1'
}

buildTypes {
Expand Down Expand Up @@ -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.8.0'
implementation 'com.revenuecat.purchases:purchases-hybrid-common:1.9.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd

private static final String PURCHASER_INFO_UPDATED = "Purchases-PurchaserInfoUpdated";
public static final String PLATFORM_NAME = "react-native";
public static final String PLUGIN_VERSION = "4.3.0";
public static final String PLUGIN_VERSION = "4.3.1";

private final ReactApplicationContext reactContext;

Expand Down
26 changes: 13 additions & 13 deletions examples/purchaseTester/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ PODS:
- glog (0.3.5)
- libevent (2.1.12)
- OpenSSL-Universal (1.1.180)
- Purchases (3.12.2):
- PurchasesCoreSwift (= 3.12.2)
- PurchasesCoreSwift (3.12.2)
- PurchasesHybridCommon (1.8.0):
- Purchases (= 3.12.2)
- Purchases (3.12.3):
- PurchasesCoreSwift (= 3.12.3)
- PurchasesCoreSwift (3.12.3)
- PurchasesHybridCommon (1.9.1):
- Purchases (= 3.12.3)
- RCT-Folly (2020.01.13.00):
- boost-for-react-native
- DoubleConversion
Expand Down Expand Up @@ -323,8 +323,8 @@ PODS:
- React-perflogger (= 0.64.2)
- RNGestureHandler (1.10.3):
- React-Core
- RNPurchases (4.2.0):
- PurchasesHybridCommon (= 1.8.0)
- RNPurchases (4.3.1):
- PurchasesHybridCommon (= 1.9.1)
- React-Core
- RNScreens (2.18.1):
- React-Core
Expand Down Expand Up @@ -473,7 +473,7 @@ SPEC CHECKSUMS:
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
FBLazyVector: e686045572151edef46010a6f819ade377dfeb4b
FBReactNativeSpec: d2f811af31560a92e6c50a1680bf8298c78ea11e
FBReactNativeSpec: 088cd565b22b8f5ee4039ea11d21ef80d77bf1a1
Flipper: d3da1aa199aad94455ae725e9f3aa43f3ec17021
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
Flipper-Folly: 755929a4f851b2fb2c347d533a23f191b008554c
Expand All @@ -484,9 +484,9 @@ SPEC CHECKSUMS:
glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b
Purchases: 3e20881892483ab6ca17cb86a89af4c6d1731562
PurchasesCoreSwift: e614645840af49d465dee1918011f784365d79a6
PurchasesHybridCommon: f87cfd2fb1a55df8daa2a996a1d19d48e5bfbf4f
Purchases: e9839517aea4335136f3946ae228eecf5131cc25
PurchasesCoreSwift: dd3fd55a9895abd7906a3842bd36c7f7539a99d1
PurchasesHybridCommon: 1d98dd58935a4fa1009c6e17f8b740973147b899
RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c
RCTRequired: 6d3e854f0e7260a648badd0d44fc364bc9da9728
RCTTypeSafety: c1f31d19349c6b53085766359caac425926fafaa
Expand All @@ -511,11 +511,11 @@ SPEC CHECKSUMS:
React-runtimeexecutor: a9904c6d0218fb9f8b19d6dd88607225927668f9
ReactCommon: 149906e01aa51142707a10665185db879898e966
RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211
RNPurchases: ffbb6728c3ee5ec33b86c9f5c8d7b8a18cc7b12e
RNPurchases: ef07f897760dd7639c36281a05e1ddbf30abc9f5
RNScreens: f7ad633b2e0190b77b6a7aab7f914fad6f198d8d
Yoga: 575c581c63e0d35c9a83f4b46d01d63abc1100ac
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: ef0169631a326f7a668fc6ea8da5bdfe60d83f4c

COCOAPODS: 1.10.1
COCOAPODS: 1.10.2
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 ";
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -438,7 +438,7 @@
COPY_PHASE_STRIP = YES;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 ";
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
Expand Down
2 changes: 1 addition & 1 deletion ios/RNPurchases.m
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ - (NSString *)platformFlavor {
}

- (NSString *)platformFlavorVersion {
return @"4.3.0";
return @"4.3.1";
}

@end
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-purchases",
"title": "React Native Purchases",
"version": "4.3.0",
"version": "4.3.1",
"description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android. ",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ if (os.type() === "Linux") {
console.log("Skipping iOS Dependencies");
} else if (os.type() === "Darwin") {
const downloadProcess = exec(
"./scripts/download-purchases-framework.sh 3.12.2"
"./scripts/download-purchases-framework.sh 3.12.3"
);
downloadProcess.stdout.pipe(process.stdout);
const downloadProcessCommon = exec(
"./scripts/download-purchases-common.sh 1.8.0"
"./scripts/download-purchases-common.sh 1.9.1"
);
downloadProcessCommon.stdout.pipe(process.stdout);
} else if (os.type() === "Windows_NT") {
Expand Down

0 comments on commit d7c4d8d

Please sign in to comment.