Skip to content

Releases: RevenueCat/react-native-purchases

7.15.0

12 Jan 22:14
Compare
Choose a tag to compare

New Features

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

Instructions:

  • Update your package.json to include react-native-purchases-ui:
{
  "dependencies": {
    "react-native-purchases": "7.15.0",
    "react-native-purchases-ui": "7.15.0"
  }
}

Usage:

import RevenueCatUI, { PAYWALL_RESULT } from "../react-native-purchases-ui";

async function presentPaywallIfNeeded() {
    const paywallResult: PAYWALL_RESULT = await RevenueCatUI.presentPaywallIfNeeded({
        requiredEntitlementIdentifier: "pro"
    });
}

You can find more information in our documentation.

7.15.0-rc.1

02 Jan 17:36
Compare
Choose a tag to compare
7.15.0-rc.1 Pre-release
Pre-release

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

7.6.0

28 Dec 09:56
Compare
Choose a tag to compare

Dependency Updates

7.5.1

13 Dec 17:54
Compare
Choose a tag to compare

Dependency Updates

7.5.0

06 Dec 19:26
Compare
Choose a tag to compare

Dependency Updates

7.4.0

23 Nov 10:58
Compare
Choose a tag to compare

New Features

  • Trusted Entitlements: add support for setting EntitlementVerificationMode (#678) via NachoSoto (@NachoSoto)

Dependency Updates

Other Changes

7.4.0-beta.3

23 Nov 04:12
Compare
Choose a tag to compare
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 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

7.4.0-beta.2

17 Nov 18:30
Compare
Choose a tag to compare
7.4.0-beta.2 Pre-release
Pre-release

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.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 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

7.3.1

15 Nov 19:38
Compare
Choose a tag to compare

Dependency Updates

Other Changes

  • Update VERSIONS with 4.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

14 Nov 01:23
Compare
Choose a tag to compare
7.4.0-beta.1 Pre-release
Pre-release

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.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 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