Upvote us on Product Hunt!Help us climb the ranks and reach more people

Upvote Now
Logo of react-native-iap compatible with React Native

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

  1. Sell on both stores with a single API. react-native-iap puts StoreKit and Google Play Billing behind one consistent interface, so your purchase and subscription code works on iOS and Android without platform-specific branches.
  2. 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.
  3. 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

Alternatives to react-native-iap for React Native