Skip to main content
SDK

React Native 7.4.0-beta.3

React Native 7.4.0-beta.3
RC Support
RevenueCat Staff
Forum|alt.badge.img+4

New Features

  • 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#766)

Instructions:

  • Update react-native-purchases in your package.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 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

To view new release, visit https://github.com/RevenueCat/react-native-purchases/releases/tag/7.4.0-beta.3

This post has been closed for comments

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings