Integrate Helium into your React Native App.
@tryheliumai/paywall-sdk-react-native
(older Expo versions OR bare React Native).HeliumProvider
HeliumProvider
. We recommend wrapping your navigation provider, but placing HeliumProvider UNDER your sentry error boundary, to make sure
errors get logged.initialize()
early in your app’s lifecycle, typically in your root component.
Purchases.configure()
) before initializing HeliumpresentUpsell
method to present a paywall. presentUpsell
takes in a dictionary
specifying the triggerName
as well as an optional onFallback
parameter defining custom fallback behavior (in case the user didn’t have a network connection)
onHeliumPaywallEvent
callback. See Helium Events for more details.