Superwall

Install the SDK

Install the Superwall React Native SDK via your favorite package manager.

This guide is for Expo projects that want to integrate Superwall using our Expo SDK.

This doesn't sound like you?

Important: Expo SDK 53+ Required

This SDK is exclusively compatible with Expo SDK version 53 and newer. For projects using older Expo versions, please use our legacy React Native SDK.

Expo Go is Not Supported

The Superwall SDK uses native modules that are not available in Expo Go. You must use an Expo Development Build to run your app with Superwall.

To create a development build:

npx expo run:ios
# or
npx expo run:android

If you see the error Cannot find native module 'SuperwallExpo', see our Debugging guide for solutions.

To see the latest release, check out the Superwall Expo SDK repo.

bunx expo install expo-superwall
pnpm dlx expo install expo-superwall
npx expo install expo-superwall
yarn dlx expo install expo-superwall

Version Targeting

Superwall requires iOS 15.1 or higher, as well as Android SDK 21 or higher. Ensure your Expo project targets the correct minimum OS version by updating app.json or app.config.js.

First, install the expo-build-properties config plugin if your Expo project hasn’t yet:

npx expo install expo-build-properties

Then, add the following to your app.json or app.config.js file:

{
  "expo": {
    "plugins": [
      ...
      [
        "expo-build-properties",
        {
          "android": {
            "minSdkVersion": 21
          },
          "ios": {
              "deploymentTarget": "15.1" // or higher
          }
        }
      ]
    ]
  }
}
And you're done! Now you're ready to configure the SDK

How is this guide?

Edit on GitHub

On this page