Releases: RevenueCat/react-native-purchases
Releases · RevenueCat/react-native-purchases
7.15.0-rc.1
New Features
- 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#766)
Breaking changes from previous betas
- We have split the library in two,
react-native-purchases
andreact-native-purchases-ui
. The first one contains
the core functionality of the SDK, while the second one contains the RevenueCat Paywalls functionality. - Android's
minSdkVersion
is brought back to 19 inreact-native-purchases
. TheminSdkVersion
in
react-native-purchases-ui
is 24.
Instructions:
- Update your
package.json
to includereact-native-purchases-ui
:
{
"dependencies": {
"react-native-purchases-ui": "7.15.0-rc.1"
}
}
Usage:
import { presentPaywallIfNeeded } from 'react-native-purchases-ui';
<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
7.6.0
Dependency Updates
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.2.1 (#814) via RevenueCat Git Bot (@RCGitBot)
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.2.0 (#812) via RevenueCat Git Bot (@RCGitBot)
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.1.2 (#806) via RevenueCat Git Bot (@RCGitBot)
- Bump danger from 9.4.1 to 9.4.2 (#805) via dependabot[bot] (@dependabot[bot])
7.5.1
Dependency Updates
- Bump danger from 9.4.0 to 9.4.1 (#798) via dependabot[bot] (@dependabot[bot])
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.1.1 (#802) via RevenueCat Git Bot (@RCGitBot)
7.5.0
Dependency Updates
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.1.0 (#800) via RevenueCat Git Bot (@RCGitBot)
- Bump cocoapods from 1.14.2 to 1.14.3 (#788) via dependabot[bot] (@dependabot[bot])
7.4.0
New Features
Trusted Entitlements
: add support for settingEntitlementVerificationMode
(#678) via NachoSoto (@NachoSoto)
Dependency Updates
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.0.0 (#790) via RevenueCat Git Bot (@RCGitBot)
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.4.0 (#785) via RevenueCat Git Bot (@RCGitBot)
Other Changes
CI
: disableprepare-next-version
(#782) via NachoSoto (@NachoSoto)
7.4.0-beta.3
New Features
- 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#766)
Instructions:
- Update
react-native-purchases
in yourpackage.json
:
{
"dependencies": {
"react-native-purchases": "7.4.0-beta.3"
}
}
Usage:
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 from19
to24
to support paywalls. This will be reverted in a future release as we splitreact-native-purchases
andreact-native-purchases-ui
7.4.0-beta.2
New Features
- 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#766)
Instructions:
- Update
react-native-purchases
in yourpackage.json
:
{
"dependencies": {
"react-native-purchases": "7.4.0-beta.2"
}
}
Usage:
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 from19
to24
to support paywalls. This will be reverted in a future release as we splitreact-native-purchases
andreact-native-purchases-ui
7.3.1
Dependency Updates
- Bump fastlane from 2.216.0 to 2.217.0 (#780) via dependabot[bot] (@dependabot[bot])
- Bump danger from 9.3.2 to 9.4.0 (#779) via dependabot[bot] (@dependabot[bot])
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.3.3 (#778) via RevenueCat Git Bot (@RCGitBot)
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.3.2 (#776) via RevenueCat Git Bot (@RCGitBot)
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.3.1 (#769) via RevenueCat Git Bot (@RCGitBot)
Other Changes
- Update
VERSIONS
with4.6.3
(#774) via NachoSoto (@NachoSoto) - Update RevenueCat orb to 2.2.0 (#775) via Cesar de la Vega (@vegaro)
7.4.0-beta.1
New Features
- 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#766)
Instructions:
- Update
react-native-purchases
in yourpackage.json
:
{
"dependencies": {
"react-native-purchases": "7.4.0-beta.1"
}
}
Usage:
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 from19
to24
to support paywalls. This will be reverted in a future release as we splitreact-native-purchases
andreact-native-purchases-ui