
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
react-native-iap
Advanced tools
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.
π Visit our comprehensive documentation site β
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.1.20"
}
}
]
]
}
}
Note: Expo projects require development build (dev-client) as this library contains native code.
React Native IAP is OpenIAP compliant. For detailed store configuration:
π Visit our comprehensive documentation site β
πΌ View Our Sponsors
Angel
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. Buy me a coffee.
We also manage sponsorships through OpenCollective, which operates separately from our main sponsor program.
Become a sponsor | Become a backer
See our Contributing Guide for development setup and guidelines.
FAQs
React Native In-App Purchases module for iOS and Android using Nitro
The npm package react-native-iap receives a total of 64,786 weekly downloads. As such, react-native-iap popularity was classified as popular.
We found that react-native-iap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.