Releases: RevenueCat/react-native-purchases
Releases · RevenueCat/react-native-purchases
7.17.1
7.17.0
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
: separatePurchasesHybridCommonUI
(#858) via NachoSoto (@NachoSoto)
Bugfixes
Dependency Updates
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.12.0 (#862) via RevenueCat Git Bot (@RCGitBot)
Other Changes
- Fix
update-hybrid-common-versions
(#865) via NachoSoto (@NachoSoto) RNPaywalls.podspec
: removePurchasesHybridCommon
dependency (#864) via NachoSoto (@NachoSoto)- Add repositories to
purchaseTesterTypescript
android build.gradle (#859) via Cesar de la Vega (@vegaro) Fastlane
: fixbump_phc_version
(#848) via NachoSoto (@NachoSoto)
7.16.1
7.16.0
7.15.0
New Features
- 📱 Initial support for cross-platform RevenueCat Paywalls 🐾 🧱 (#837)
Instructions:
- Update your
package.json
to includereact-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
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
andreact-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 inreact-native-purchases
. TheminSdkVersion
in
react-native-purchases-ui
is 24.
Instructions:
- Update your
package.json
to includereact-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
Dependency Updates
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.2.1 (#814) via RevenueCat Git Bot (@RCGitBot)
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.2.0 (#812) via RevenueCat Git Bot (@RCGitBot)
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.1.2 (#806) via RevenueCat Git Bot (@RCGitBot)
- Bump danger from 9.4.1 to 9.4.2 (#805) via dependabot[bot] (@dependabot[bot])
7.5.1
Dependency Updates
- Bump danger from 9.4.0 to 9.4.1 (#798) via dependabot[bot] (@dependabot[bot])
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.1.1 (#802) via RevenueCat Git Bot (@RCGitBot)
7.5.0
Dependency Updates
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.1.0 (#800) via RevenueCat Git Bot (@RCGitBot)
- Bump cocoapods from 1.14.2 to 1.14.3 (#788) via dependabot[bot] (@dependabot[bot])
7.4.0
New Features
Trusted Entitlements
: add support for settingEntitlementVerificationMode
(#678) via NachoSoto (@NachoSoto)
Dependency Updates
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 8.0.0 (#790) via RevenueCat Git Bot (@RCGitBot)
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 7.4.0 (#785) via RevenueCat Git Bot (@RCGitBot)
Other Changes
CI
: disableprepare-next-version
(#782) via NachoSoto (@NachoSoto)