pabal-expo-paywall-ui
v1.6.9
Published
RevenueCat-agnostic React Native paywall UI for Pabal apps.
Readme
pabal-expo-paywall-ui
RevenueCat-agnostic React Native UI for paywalls, onboarding helpers, and profile subscription surfaces.
The consuming app owns RevenueCat configuration, offering fetch, purchase,
restore, analytics, navigation, legal links, permissions, and clipboard behavior.
This package receives normalized data and app-owned callbacks only.
Pass freeTrial, selected weekly/monthly/annual/lifetime plans, and
purchase/restore loading flags into Paywall; the package localizes the
default CTA text from those props. freeTrial can be global or overridden per
plan period or plan id.
It does not import react-native-purchases or react-native-purchases-ui.
Install
yarn add pabal-expo-paywall-uiIf the consuming app uses swpm:
swpm add pabal-expo-paywall-uiWrap the app with SafeAreaProvider. react-native-safe-area-context is a peer
dependency.
Docs
- Paywall: configure plans, benefits, trials, purchase callbacks, and RevenueCat-like package conversion.
- Onboarding: pre-onboarding screen exports, pre-onboarding frame/content exports, onboarding frame/content exports, required prelude problem/solution frame, supported onboarding content types, package-owned nickname flow, gallery grid animation and image-only display controls, animation helpers, acquisition source options, permission prompt previews, prelude body paragraph migration guidance, and the required first-screen language selector placement under the title.
- Profile: subscription status, benefit usage, and profile identifier UI.
Validate
yarn typecheck
yarn test
yarn buildReal RevenueCat sandbox purchases belong in consuming apps. Do not add the RevenueCat SDK to this package or the playground.
