react-native-iap for React Native
Payments & Subscriptions
react-native-iap works in React Native apps on iOS and Android. Category: Payments & Subscriptions. Pricing: open source.
react-native-iap is the most popular open-source library for in-app purchases in React Native, supporting both the iOS App Store (StoreKit 2) and Google Play Billing, including subscriptions, consumables, and non-consumables.
The library now follows the OpenIAP specification and is developed in the hyodotdev/openiap monorepo, next to expo-iap and the native OpenIAP implementations. The npm package name is unchanged, so npm install react-native-iap keeps working.
When to use react-native-iap in a React Native app
- Sell on both stores with a single API.
react-native-iapputs StoreKit and Google Play Billing behind one consistent interface, so your purchase and subscription code works on iOS and Android without platform-specific branches. - Validate purchases on your server. The library returns purchase data in a standard format that you send to your backend for verification, so fraudulent purchases do not unlock paid content.
- React to subscription changes as they happen. Purchase update listeners fire on new purchases, renewals, and errors, so your app updates access right away instead of finding out on the next launch.
Platforms
- iOS
- Android
Features
- Other
Pricing
- Open source