Releases: RevenueCat/react-native-purchases
Releases · RevenueCat/react-native-purchases
7.19.0
Dependency Updates
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 9.6.0 (#897) via RevenueCat Git Bot (@RCGitBot)
- Bump cocoapods from 1.15.0 to 1.15.1 (#895) via dependabot[bot] (@dependabot[bot])
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 9.5.0 (#893) via RevenueCat Git Bot (@RCGitBot)
- Upgrade purchase tester dependencies to upgrade JSON5 (#889) via Toni Rico (@tonidero)
- Bump danger from 9.4.2 to 9.4.3 (#890) via dependabot[bot] (@dependabot[bot])
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 9.4.0 (#888) via RevenueCat Git Bot (@RCGitBot)
6.7.1
7.18.0
RevenueCatUI
Bugfixes
- Add xcodeproj to react-native-purchases-ui (#875) via Cesar de la Vega (@vegaro)
- Throw error if null module (#883) via Cesar de la Vega (@vegaro)
- Remove 'new NativeEventEmitter() was called with a non-null argument' (#882) via Cesar de la Vega (@vegaro)
Dependency Updates
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 9.3.0 (#885) via RevenueCat Git Bot (@RCGitBot)
- [AUTOMATIC BUMP] Updates purchases-hybrid-common to 9.2.1 (#880) via RevenueCat Git Bot (@RCGitBot)
- Bump cocoapods from 1.14.3 to 1.15.0 (#879) via dependabot[bot] (@dependabot[bot])
Other Changes
purchasePackage
: addStoreTransaction
inMakePurchaseResult
(#872) via NachoSoto (@NachoSoto)
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])