7.4.0-beta.3
Pre-release
Pre-release
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