Skip to main content
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.