In App Purchase module for React Native that confirms OpenIAP
3,224
stars
2,153
commits
TypeScript
primary language
Aug 4, 2026
updated
[!IMPORTANT] ⚠️ This repository has moved to hyodotdev/openiap. react-native-iap is now developed in the monorepo at
libraries/react-native-iap— this repository is archived and read-only.
react-native-iap is actively maintained — development simply moved home.
This repository is archived and kept read-only as history.
| 🧭 Source code | hyodotdev/openiap → libraries/react-native-iap |
| 🏠 Monorepo | hyodotdev/openiap |
| 📚 Docs | openiap.dev/docs/setup/react-native · legacy docs |
| 🐛 Issues | hyodotdev/openiap/issues |
| 💬 Q&A | react-native-iap discussions |
The npm package name is unchanged — npm install react-native-iap keeps working as always.
Background: 📢 announcement issue · discussion thread
React Native IAP is a high-performance in-app purchase library using Nitro Modules that conforms to the Open IAP specification. It provides a unified API for handling in-app purchases across iOS and Android platforms with comprehensive error handling and modern TypeScript support.
Starting from version 14.0.0, this library uses Nitro Modules for high-performance native bridge implementation. You must install react-native-nitro-modules alongside react-native-iap.
react-native-iap@14.x (Nitro) requires React Native 0.79+.npm i react-native-iap@13.1.0.AnyMap.swift with cppPart.pointee.*)? Temporarily pin Swift to 5.10 for the NitroModules pod (see Installation docs) or upgrade RN and Nitro deps.react-native-nitro-modules/nitro-codegen, then pod install and clean build.More details and the Podfile snippet are in the docs: https://hyochan.github.io/react-native-iap/docs/installation#ios
useIAPnpm install react-native-iap react-native-nitro-modules
# or
yarn add react-native-iap react-native-nitro-modules
📖 See the complete installation guide and quick start tutorial →
React Native IAP is built with a modern architecture that emphasizes:
| Platform | Support | Notes |
|---|---|---|
| iOS | ✅ | StoreKit 2 (requires iOS 15+) |
| Android | ✅ | Google Play Billing v8.0.0+ |
| Expo Go | ❌ | Not supported (requires native modules) |
| Expo Dev Client | ✅ | Full support |
| Bare React Native | ✅ | Full support |
Before installing React Native IAP, make sure you have:
Kotlin Version Requirement: This library requires Kotlin 2.0+. Configure your project's Kotlin version:
In your root android/build.gradle:
buildscript {
ext {
kotlinVersion = "2.1.20"
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
Install pods:
cd ios && pod install
Add StoreKit capability to your iOS app in Xcode:
For Expo projects, add the plugin to your app.json or expo.json:
{
"expo": {
"plugins": [
"react-native-iap",
[
"expo-build-properties",
{
"android": {
"kotlinVersion": "2.2.0"
}
}
]
]
}
}
Note: Expo projects require development build (dev-client) as this library contains native code.
React Native IAP is OpenIAP compliant. For detailed store configuration:
React Native IAP provides AI-friendly documentation for Cursor, GitHub Copilot, Claude, and ChatGPT.
Quick links:
📖 Visit our comprehensive documentation site →
React Native IAP conforms to the OpenIAP specification — an open, vendor-neutral interoperability standard for in-app purchases. OpenIAP provides:
Other libraries built on OpenIAP: expo-iap · flutter_inapp_purchase · kmp-iap · maui-iap · godot-iap
Learn more about the OpenIAP standard →
Angel
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. Buy me a coffee.
The original react-native-iap collective moved to opencollective.com/openiap and now supports the broader OpenIAP ecosystem.
Become a sponsor | Become a backer
See our Contributing Guide for development setup and guidelines.
(top 30 of 234)
TypeScript
80.5%
Kotlin
8.6%
Swift
7.4%
JavaScript
1.9%
Shell
1.1%
In App Purchase module for React Native that confirms OpenIAP
3,224
stars
2,153
commits
TypeScript
primary language
Aug 4, 2026
updated
[!IMPORTANT] ⚠️ This repository has moved to hyodotdev/openiap. react-native-iap is now developed in the monorepo at
libraries/react-native-iap— this repository is archived and read-only.
react-native-iap is actively maintained — development simply moved home.
This repository is archived and kept read-only as history.
| 🧭 Source code | hyodotdev/openiap → libraries/react-native-iap |
| 🏠 Monorepo | hyodotdev/openiap |
| 📚 Docs | openiap.dev/docs/setup/react-native · legacy docs |
| 🐛 Issues | hyodotdev/openiap/issues |
| 💬 Q&A | react-native-iap discussions |
The npm package name is unchanged — npm install react-native-iap keeps working as always.
Background: 📢 announcement issue · discussion thread
React Native IAP is a high-performance in-app purchase library using Nitro Modules that conforms to the Open IAP specification. It provides a unified API for handling in-app purchases across iOS and Android platforms with comprehensive error handling and modern TypeScript support.
Starting from version 14.0.0, this library uses Nitro Modules for high-performance native bridge implementation. You must install react-native-nitro-modules alongside react-native-iap.
react-native-iap@14.x (Nitro) requires React Native 0.79+.npm i react-native-iap@13.1.0.AnyMap.swift with cppPart.pointee.*)? Temporarily pin Swift to 5.10 for the NitroModules pod (see Installation docs) or upgrade RN and Nitro deps.react-native-nitro-modules/nitro-codegen, then pod install and clean build.More details and the Podfile snippet are in the docs: https://hyochan.github.io/react-native-iap/docs/installation#ios
useIAPnpm install react-native-iap react-native-nitro-modules
# or
yarn add react-native-iap react-native-nitro-modules
📖 See the complete installation guide and quick start tutorial →
React Native IAP is built with a modern architecture that emphasizes:
| Platform | Support | Notes |
|---|---|---|
| iOS | ✅ | StoreKit 2 (requires iOS 15+) |
| Android | ✅ | Google Play Billing v8.0.0+ |
| Expo Go | ❌ | Not supported (requires native modules) |
| Expo Dev Client | ✅ | Full support |
| Bare React Native | ✅ | Full support |
Before installing React Native IAP, make sure you have:
Kotlin Version Requirement: This library requires Kotlin 2.0+. Configure your project's Kotlin version:
In your root android/build.gradle:
buildscript {
ext {
kotlinVersion = "2.1.20"
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
Install pods:
cd ios && pod install
Add StoreKit capability to your iOS app in Xcode:
For Expo projects, add the plugin to your app.json or expo.json:
{
"expo": {
"plugins": [
"react-native-iap",
[
"expo-build-properties",
{
"android": {
"kotlinVersion": "2.2.0"
}
}
]
]
}
}
Note: Expo projects require development build (dev-client) as this library contains native code.
React Native IAP is OpenIAP compliant. For detailed store configuration:
React Native IAP provides AI-friendly documentation for Cursor, GitHub Copilot, Claude, and ChatGPT.
Quick links:
📖 Visit our comprehensive documentation site →
React Native IAP conforms to the OpenIAP specification — an open, vendor-neutral interoperability standard for in-app purchases. OpenIAP provides:
Other libraries built on OpenIAP: expo-iap · flutter_inapp_purchase · kmp-iap · maui-iap · godot-iap
Learn more about the OpenIAP standard →
Angel
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. Buy me a coffee.
The original react-native-iap collective moved to opencollective.com/openiap and now supports the broader OpenIAP ecosystem.
Become a sponsor | Become a backer
See our Contributing Guide for development setup and guidelines.
(top 30 of 234)
TypeScript
80.5%
Kotlin
8.6%
Swift
7.4%
JavaScript
1.9%
Shell
1.1%