Skip to content

Commit 5b87493

Browse files
committed
Version bump for 7.4.0-beta.3
1 parent 2c29bc6 commit 5b87493

File tree

8 files changed

+65
-18
lines changed

8 files changed

+65
-18
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.4.0-SNAPSHOT
1+
7.4.0-beta.3

CHANGELOG.latest.md

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
1-
### Bugfixes
2-
* Fix purchaseSubscriptionOption not accepting oldProductIdentifier (#764) via Toni Rico (@tonidero)
3-
### Dependency Updates
4-
* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.3.0 (#765) via RevenueCat Git Bot (@RCGitBot)
5-
* [Android 7.2.0](https://github.com/RevenueCat/purchases-android/releases/tag/7.2.0)
6-
* [Android 7.1.1](https://github.com/RevenueCat/purchases-android/releases/tag/7.1.1)
7-
* [Android 7.1.0](https://github.com/RevenueCat/purchases-android/releases/tag/7.1.0)
8-
* [Android 7.1.0-beta.2](https://github.com/RevenueCat/purchases-android/releases/tag/7.1.0-beta.2)
9-
* [Android 7.1.0-beta.1](https://github.com/RevenueCat/purchases-android/releases/tag/7.1.0-beta.1)
10-
* [iOS 4.30.2](https://github.com/RevenueCat/purchases-ios/releases/tag/4.30.2)
11-
* [iOS 4.30.1](https://github.com/RevenueCat/purchases-ios/releases/tag/4.30.1)
12-
* [iOS 4.30.0](https://github.com/RevenueCat/purchases-ios/releases/tag/4.30.0)
1+
### New Features
2+
* 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#766)
3+
4+
#### Instructions:
5+
- Update `react-native-purchases` in your `package.json`:
6+
```json
7+
{
8+
"dependencies": {
9+
"react-native-purchases": "7.4.0-beta.3"
10+
}
11+
}
12+
```
13+
14+
#### Usage:
15+
```javascript
16+
import { presentPaywallIfNeeded } from 'react-native-purchases';
17+
18+
<TouchableOpacity
19+
style={styles.button}
20+
onPress={ presentPaywallIfNeeded("pro") } >
21+
<Text>Present paywall if PRO entitlement is not active</Text>
22+
</TouchableOpacity>
23+
```
24+
25+
#### Limitations:
26+
27+
- Currently only full screen paywalls are supported
28+
- There is no way to detect paywall events other than using `addCustomerInfoUpdateListener`
29+
- 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`

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
## 7.4.0-beta.3
2+
### New Features
3+
* 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#766)
4+
5+
#### Instructions:
6+
- Update `react-native-purchases` in your `package.json`:
7+
```json
8+
{
9+
"dependencies": {
10+
"react-native-purchases": "7.4.0-beta.3"
11+
}
12+
}
13+
```
14+
15+
#### Usage:
16+
```javascript
17+
import { presentPaywallIfNeeded } from 'react-native-purchases';
18+
19+
<TouchableOpacity
20+
style={styles.button}
21+
onPress={ presentPaywallIfNeeded("pro") } >
22+
<Text>Present paywall if PRO entitlement is not active</Text>
23+
</TouchableOpacity>
24+
```
25+
26+
#### Limitations:
27+
28+
- Currently only full screen paywalls are supported
29+
- There is no way to detect paywall events other than using `addCustomerInfoUpdateListener`
30+
- 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`
131
## 7.3.0
232
### Bugfixes
333
* Fix purchaseSubscriptionOption not accepting oldProductIdentifier (#764) via Toni Rico (@tonidero)

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ android {
2929
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
3030
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
3131
versionCode 1
32-
versionName '7.4.0-SNAPSHOT'
32+
versionName '7.4.0-beta.3'
3333
}
3434

3535
buildTypes {

android/src/main/java/com/revenuecat/purchases/react/RNPurchasesModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd
4545
private static final String CUSTOMER_INFO_UPDATED = "Purchases-CustomerInfoUpdated";
4646
private static final String LOG_HANDLER_EVENT = "Purchases-LogHandlerEvent";
4747
public static final String PLATFORM_NAME = "react-native";
48-
public static final String PLUGIN_VERSION = "7.4.0-SNAPSHOT";
48+
public static final String PLUGIN_VERSION = "7.4.0-beta.3";
4949

5050
private final ReactApplicationContext reactContext;
5151

ios/RNPurchases.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ - (NSString *)platformFlavor {
470470
}
471471

472472
- (NSString *)platformFlavorVersion {
473-
return @"7.4.0-SNAPSHOT";
473+
return @"7.4.0-beta.3";
474474
}
475475

476476
@end

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-purchases",
33
"title": "React Native Purchases",
4-
"version": "7.4.0-SNAPSHOT",
4+
"version": "7.4.0-beta.3",
55
"description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android. ",
66
"main": "dist/index.js",
77
"types": "dist/index.d.ts",

scripts/docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE html>
33
<html>
44
<head>
5-
<meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/react-native-purchases-docs/7.4.0-SNAPSHOT/" />
5+
<meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/react-native-purchases-docs/7.4.0-beta.3/" />
66
</head>
77
<body>
88
</body>

0 commit comments

Comments
 (0)