Skip to content

Commit

Permalink
Version bump for 7.4.0-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Nov 23, 2023
1 parent 2c29bc6 commit 5b87493
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.4.0-SNAPSHOT
7.4.0-beta.3
41 changes: 29 additions & 12 deletions CHANGELOG.latest.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
### Bugfixes
* Fix purchaseSubscriptionOption not accepting oldProductIdentifier (#764) via Toni Rico (@tonidero)
### Dependency Updates
* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.3.0 (#765) via RevenueCat Git Bot (@RCGitBot)
* [Android 7.2.0](https://github.com/RevenueCat/purchases-android/releases/tag/7.2.0)
* [Android 7.1.1](https://github.com/RevenueCat/purchases-android/releases/tag/7.1.1)
* [Android 7.1.0](https://github.com/RevenueCat/purchases-android/releases/tag/7.1.0)
* [Android 7.1.0-beta.2](https://github.com/RevenueCat/purchases-android/releases/tag/7.1.0-beta.2)
* [Android 7.1.0-beta.1](https://github.com/RevenueCat/purchases-android/releases/tag/7.1.0-beta.1)
* [iOS 4.30.2](https://github.com/RevenueCat/purchases-ios/releases/tag/4.30.2)
* [iOS 4.30.1](https://github.com/RevenueCat/purchases-ios/releases/tag/4.30.1)
* [iOS 4.30.0](https://github.com/RevenueCat/purchases-ios/releases/tag/4.30.0)
### New Features
* 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#766)

#### Instructions:
- Update `react-native-purchases` in your `package.json`:
```json
{
"dependencies": {
"react-native-purchases": "7.4.0-beta.3"
}
}
```

#### Usage:
```javascript
import { presentPaywallIfNeeded } from 'react-native-purchases';

<TouchableOpacity
style={styles.button}
onPress={ presentPaywallIfNeeded("pro") } >
<Text>Present paywall if PRO entitlement is not active</Text>
</TouchableOpacity>
```

#### Limitations:

- Currently only full screen paywalls are supported
- There is no way to detect paywall events other than using `addCustomerInfoUpdateListener`
- Android's `minSdkVersion` is temporarily increased from `19` to `24` to support paywalls. This will be reverted in a future release as we split `react-native-purchases` and `react-native-purchases-ui`
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
## 7.4.0-beta.3
### New Features
* 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#766)

#### Instructions:
- Update `react-native-purchases` in your `package.json`:
```json
{
"dependencies": {
"react-native-purchases": "7.4.0-beta.3"
}
}
```

#### Usage:
```javascript
import { presentPaywallIfNeeded } from 'react-native-purchases';

<TouchableOpacity
style={styles.button}
onPress={ presentPaywallIfNeeded("pro") } >
<Text>Present paywall if PRO entitlement is not active</Text>
</TouchableOpacity>
```

#### Limitations:

- Currently only full screen paywalls are supported
- There is no way to detect paywall events other than using `addCustomerInfoUpdateListener`
- Android's `minSdkVersion` is temporarily increased from `19` to `24` to support paywalls. This will be reverted in a future release as we split `react-native-purchases` and `react-native-purchases-ui`
## 7.3.0
### Bugfixes
* Fix purchaseSubscriptionOption not accepting oldProductIdentifier (#764) via Toni Rico (@tonidero)
Expand Down
2 changes: 1 addition & 1 deletion 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 '7.4.0-SNAPSHOT'
versionName '7.4.0-beta.3'
}

buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd
private static final String CUSTOMER_INFO_UPDATED = "Purchases-CustomerInfoUpdated";
private static final String LOG_HANDLER_EVENT = "Purchases-LogHandlerEvent";
public static final String PLATFORM_NAME = "react-native";
public static final String PLUGIN_VERSION = "7.4.0-SNAPSHOT";
public static final String PLUGIN_VERSION = "7.4.0-beta.3";

private final ReactApplicationContext reactContext;

Expand Down
2 changes: 1 addition & 1 deletion ios/RNPurchases.m
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ - (NSString *)platformFlavor {
}

- (NSString *)platformFlavorVersion {
return @"7.4.0-SNAPSHOT";
return @"7.4.0-beta.3";
}

@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": "7.4.0-SNAPSHOT",
"version": "7.4.0-beta.3",
"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
2 changes: 1 addition & 1 deletion scripts/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/react-native-purchases-docs/7.4.0-SNAPSHOT/" />
<meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/react-native-purchases-docs/7.4.0-beta.3/" />
</head>
<body>
</body>
Expand Down

0 comments on commit 5b87493

Please sign in to comment.