Skip to main content
SDK

React Native 7.15.0-rc.1

React Native 7.15.0-rc.1
RC Support
RevenueCat Staff
Forum|alt.badge.img+4

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 and react-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 in react-native-purchases. The minSdkVersion in
    react-native-purchases-ui is 24.

Instructions:

  • Update your package.json to include react-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

To view new release, visit https://github.com/RevenueCat/react-native-purchases/releases/tag/7.15.0-rc.1

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