Documentation Index
Fetch the complete documentation index at: https://docs.rampkit.com/llms.txt
Use this file to discover all available pages before exploring further.
Use Superwall to show paywalls designed in Superwall’s dashboard.
Install
npm install @superwall/react-native-superwall
Setup
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" });
},
});
Present Paywall
// Register an event that triggers a paywall
await Superwall.shared.register({ event: "campaign_trigger" });
Design your paywall and configure triggers in the Superwall dashboard.