Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Show Superwall paywalls from your onboarding
npm install @superwall/react-native-superwall
import { RampKit } from "rampkit-expo-dev"; import Superwall from "@superwall/react-native-superwall"; // Initialize Superwall first Superwall.configure({ apiKey: "YOUR_SUPERWALL_KEY" }); // Then RampKit await RampKit.init({ appId: "YOUR_APP_ID", onShowPaywall: async () => { await Superwall.shared.register({ event: "onboarding_paywall" }); }, });
// Register an event that triggers a paywall await Superwall.shared.register({ event: "campaign_trigger" });