Skip to content

Releases: RevenueCat/react-native-purchases

7.17.1

29 Jan 10:38
ba85c8f
Compare
Choose a tag to compare

Dependency Updates

Other Changes

  • Update react native devDependency versions (#874) via Cesar de la Vega (@vegaro)

7.17.0

24 Jan 17:33
Compare
Choose a tag to compare

RevenueCatUI

  • Fix for footer in lansdcape mode in iOS (#867) via Cesar de la Vega (@vegaro)
  • Add Offering option to paywall functions (#855) via Cesar de la Vega (@vegaro)
  • Paywalls: separate PurchasesHybridCommonUI (#858) via NachoSoto (@NachoSoto)

Bugfixes

  • PaywallViewManager: added controller to UIVC hierarchy (#860) via Cesar de la Vega (@vegaro)

Dependency Updates

Other Changes

  • Fix update-hybrid-common-versions (#865) via NachoSoto (@NachoSoto)
  • RNPaywalls.podspec: remove PurchasesHybridCommon dependency (#864) via NachoSoto (@NachoSoto)
  • Add repositories to purchaseTesterTypescript android build.gradle (#859) via Cesar de la Vega (@vegaro)
  • Fastlane: fix bump_phc_version (#848) via NachoSoto (@NachoSoto)

7.16.1

22 Jan 15:25
Compare
Choose a tag to compare

RevenueCatUI

  • Fix presentPaywall and presentPaywallIfNeeded in iOS opening the paywall
  • Dependency Updates

  • [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.11.2 (#854) via RevenueCat Git Bot (@RCGitBot)

7.16.0

19 Jan 11:11
Compare
Choose a tag to compare

RevenueCatUI

  • Add displayCloseButton parameters to functions (#842) via Cesar de la Vega (@vegaro)

Dependency Updates

Other Changes

  • Use parameter instead of multiple commands to install yarn dependencies (#843) via Toni Rico (@tonidero)
  • Separate yarn caches by machine type (#841) via Toni Rico (@tonidero)

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