> For the complete documentation index, see [llms.txt](https://docs.hyperswitch.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hyperswitch.io/integration-guide/payment-suite/payment-method-card/mobile/cross-platform/react-native/expo-integration.md).

# Expo integration

{% hint style="info" %}
**Note:** **Expo Go is not supported.**\
The Juspay Hyperswitch SDK uses native modules, so the app must be built with native Android and iOS code.
{% endhint %}

### 1. Install Required Dependencies

The Juspay Hyperswitch SDK has peer dependencies that must be installed before installing the SDK.

```
# Install peer dependencies
yarn add @sentry/react-native react-native-inappbrowser-reborn react-native-svg

# Install Hyperswitch SDK
yarn add @juspay-tech/react-native-hyperswitch
```

### 2. Prebuild the App

Generate the native **Android** and **iOS** folders:

```
npx expo prebuild --clean
```

This command will:

* Generate **Android and iOS native folders**
* Run **CocoaPods** for iOS dependencies
* Configure **TurboModule code generation**
* **Auto-link native modules**

### 3. Implement the Payment Flow

After completing the Expo setup, **follow the same steps as the React Native integration** to implement the payment flow:

1. Wrap your app with **HyperProvider**
2. Use the **useHyper()** hook
3. Initialize the payment session using **initPaymentSession**
4. Present the payment sheet using **presentPaymentSheet**

Refer to the [**React Native integration steps**](/integration-guide/payment-suite/payment-method-card/mobile/cross-platform/react-native/react-native-with-rest-api-integration.md) for the complete payment flow implementation.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hyperswitch.io/integration-guide/payment-suite/payment-method-card/mobile/cross-platform/react-native/expo-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
