---
updatedAt: 2026-10-08T17:02:00.000Z
agentTools:
  projectIndex: https://docs.purchasely.com/llms.txt
---

# React Native

We rely on [NPM](https://www.npmjs.com/package/react-native-purchasely) to distribute our React Native SDK

# Main dependency

```shell
npm install react-native-purchasely@6.2.0 --save
```

Don't forget to change the minimum OS versions to match Purchasely requirements (iOS 13.4 / Android minSdk 23)

```yaml iOS
// Podfile

...

platform :ios, '13.4'

...
```
```groovy Android
// Edit file android/build.gradle
buildscript {
    ext {
        minSdkVersion = 23 //min version must not be below 23
        compileSdkVersion = 36
        targetSdkVersion = 35
    }
}

allprojects {
    repositories {
        mavenCentral()
    }
}
```

# Android setup

We do include a store by default in our SDK, with Android you can choose to use Google and/or Huawei and/or Amazon.<br />See below to add the store you want to use

<Callout icon="📘" theme="info">
  ### Versioning

  All your dependencies **must** always be at the **same version** for example

  ```json package.json
  "dependencies": {
    "react-native-purchasely": "6.2.0",
    "@purchasely/react-native-purchasely-google": "6.2.0",
    "@purchasely/react-native-purchasely-android-player": "6.2.0",
  },
  ```
</Callout>

<br />

## Video Player

A video player is not provided by default on Android to avoid conflict with another dependency you may have<br />We provide one in an external dependency that is detected and handled automatically

```shell
npm install @purchasely/react-native-purchasely-android-player@6.2.0 --save
```

<br />