Integration
Superwall
Show Superwall paywalls from your onboarding
Use Superwall to show paywalls designed in Superwall’s dashboard.
Design your paywall and configure triggers in the Superwall dashboard.
Documentation Index
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" });