Rovenue React Native SDK
    Preparing search index...

    Rovenue React Native SDK

    Rovenue React Native SDK

    Open-source subscription management SDK for React Native. Integrates with the Rovenue API server to provide entitlement checks, receipt verification, and event tracking.

    npm install @rovenue/react-native-sdk
    # or
    yarn add @rovenue/react-native-sdk

    Peers: expo >=52, react >=18.3, react-native >=0.76. In an Expo app use the React Native version your Expo SDK pins (npx expo install --check): Expo ships ExpoModulesCore prebuilt against that version's JSI ABI, and a mismatched React Native crashes at launch in dyld (Symbol not found: …jsi…).

    import { Rovenue } from '@rovenue/react-native-sdk';

    Rovenue.configure({ apiKey: 'rov_pub_...', baseUrl: 'https://edge.rovenue.io' });

    const pro = await Rovenue.entitlement('pro');
    if (pro?.isActive) { /* unlock features */ }

    RovenueFunnelView is an Expo view that hosts the native SwiftUI / Android funnel renderer — it is not a JavaScript renderer. A funnel is Rovenue's multi-screen onboarding-and-paywall document, and every screen of it is drawn by the same native code an iOS or Android app runs, so there is no fourth renderer to keep in sync.

    import { RovenueFunnelView } from '@rovenue/react-native';

    <RovenueFunnelView
    placementIdentifier="onboarding"
    onFinished={() => router.replace('/home')}
    onPurchase={(packageIdentifier) => Rovenue.purchase(packageIdentifier)}
    />

    Funnels are the only thing placements serve: this view resolves its placement and draws it (or nothing, when the placement resolved to nothing). There is no paywall API on this SDK any more.

    Full guides, API reference, and the identity & consent policy live at https://docs.rovenue.io — start with the Quick Start.