# Using Expo SDK in Bare React Native Apps

Install Superwall's Expo SDK in existing React Native projects without Expo

This guide is for React Native developers who want to integrate Superwall for the first time using our Expo SDK, even though their project doesn't use Expo.

> **Note**

**This doesn't sound like you?**- **Expo project** → Use the standard [installation guide](/docs/expo/quickstart/install)
- **React Native app with existing Superwall SDK** → See our [migration guide](/docs/expo/guides/migrating-react-native)



What are Expo Modules? [#what-are-expo-modules]

Expo Modules allow you to use Expo SDK packages in any React Native project, even if you're not using Expo as your development framework. This means bare React Native apps can benefit from Expo's ecosystem while maintaining their existing project structure.

Superwall's Expo SDK (`expo-superwall`) is now our recommended SDK for all React Native projects. By installing Expo Modules in your bare React Native app, you can use our latest SDK with the best features and support.

Prerequisites [#prerequisites]

Before starting, ensure you have:

* A React Native project (compatible with React Native 0.79+)
* iOS deployment target set to 15.1 or higher
* Android minimum SDK version 21 or higher
* Node.js 18 or newer

Step 1: Install Expo Modules [#step-1-install-expo-modules]

First, you need to install Expo modules in your React Native project. This allows you to use any Expo SDK package, including `expo-superwall`.

> **Note**

For comprehensive installation details, refer to [Expo's official guide](https://docs.expo.dev/bare/installing-expo-modules/)



Automatic Installation (Recommended) [#automatic-installation-recommended]

Run the following command in your project root:

```bash
npx install-expo-modules@latest
```

This command automatically configures your iOS and Android projects to support Expo modules.

Manual Installation (If Automatic Fails) [#manual-installation-if-automatic-fails]

If the automatic installation doesn't work (common in highly customized projects), follow these steps:

1. Install the expo package:

```bash
npm install expo
```

2. Configure your iOS project:
   * Set iOS deployment target to 15.1 in Xcode
   * Update your `AppDelegate` files as per [Expo's manual instructions](https://docs.expo.dev/bare/installing-expo-modules/#manual-installation)
   * Run `npx pod-install` to install iOS dependencies

3. Configure your Android project:
   * Update `android/settings.gradle` and `android/app/build.gradle`
   * Follow the Android configuration steps in [Expo's guide](https://docs.expo.dev/bare/installing-expo-modules/#manual-installation)

Step 2: Install Superwall Expo SDK [#step-2-install-superwall-expo-sdk]

Once Expo modules are configured, install the Superwall SDK:

## Tab

```bash npm
npm install expo-superwall
```

## Tab

```bash yarn
yarn add expo-superwall
```

## Tab

```bash pnpm
pnpm add expo-superwall
```

## Tab

```bash bun
bun add expo-superwall
```



Step 3: Platform-Specific Configuration [#step-3-platform-specific-configuration]

iOS Configuration [#ios-configuration]

After installing the SDK, run:

```bash
cd ios && pod install
```

Android Configuration [#android-configuration]

Ensure your `android/app/build.gradle` has:

```groovy gradle
android {
    compileSdkVersion 34
    
    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 34
    }
}
```

Troubleshooting [#troubleshooting]

If you encounter any issues during installation, refer to [Expo's installation guide](https://docs.expo.dev/bare/installing-expo-modules/) for detailed troubleshooting steps and platform-specific configuration details.

What's Next? [#whats-next]

Continue with the [Superwall configuration guide](/docs/expo/quickstart/configure) to complete your setup.