Published in website.
Please fund the project if you are willing the maintainers to make the repository sustainable.
The fund goes to maintainers.
-
Version
11.0.0is currently in alpha candidate. The module migrates OS sdk to storekit2. andresesfm is working hard on this.yarn add react-native-iap@next -
Version
10.0.0is a maitenance build. Many internal refactorings and clean up of the code. Special thanks to jeremybarbet for his contributions. Most notably all methods now take an object parameter instead of separate parameters. Please help us test -
Version
9.0.0The module migrates android sdk to play billing library v5. Our core maintainers andresesfm and jeremybarbet worked hard on this. -
Version
8.0.0has finally landed in Jan 28th. Since this is early release, please use it with caution 🚧. We recommend user to use>=8.0.0with react-native>=0.65.1. Thenextpackage is no longer updated until we organize the roadmap for9.0.0. -
Version
8.0.0is currently in release candidate. The module is completely rewritten withKotlinandSwiftfor maintenenance issue by andresesfm 🔆. You may install this for early preview. -
React Native IAP hook is out. You can see medium post on how to use it.
-
The
react-native-iapmodule hasn't been maintained well recently. We are thinking of participating again and make the module healthier. Please refer to 2021 Maintenance plan and share with us how you or your organization is using it. Happy new year 🎉- The sample code is out in Sponsor page in dooboolab.com repository which sadly is rejected by Apple because of lacking product features. I will work on another example project to support this module. More information in #1241 commment.
This react-native module will help you access the In-app purchases capabilities of your phone on the Android, iOS platforms and the Amazon platform (Beta).
Keep in mind react-native-iap will provide the basic features you need but is not a turnkey solution, implementing In-app purchases in your app will still require quite some work.
Also, implementing the client side is only one side of the coin, you'll have to implement the server side to validate your receipts (which is probably the most time consuming part to do it correctly).
If you're looking for a module going further than react-native-iap, we recommend using react-native-iaphub which is taking care of everything from the client side to the server side.
- A device simulator, use a real device for testing!
- The sandbox environment of the project not being configured properly (Configure android sandbox, Configure ios sandbox)
- An incorrect usage of the library
- We had hard time supporting
react-native-iapissues that did not provide working codes or any other examples. Therefore, we've decided to make anexampleapp called DoobooIAP, which will contain all the features ofIAP's and willing to continuously improve to support real-life examples. @Bang9 who had been helping many others forreact-native-iap, is willing to support this repo so he will grant $300 of our income inopencollectiveas described in #855 🎉. react-native-iap@4.0.8~react-native-iap@4.1.0is incompatible withreact-native <0.61. This is fixed inreact-native-iap@4.1.1and above.react-native-iap@4.0.0has been released. You can see #716 for updates.- In the past,
react-native-iap@^3.*has been updated very promptly for migration issues. Don't get surprised too much on why it is bumping up version so quickly these days.- Migrated to new
AndroidXAPIs. - Migrated to new
Androidbilling client which is> 2.0.0.acknowledgePurchase()has been added since3.2.0which is very important.
- New Purchase Flow
- More is coming in
iOS 13.
- Migrated to new
[7.4.0]
- Now using React's Context to manage IAP state
- Introduce
withIAPContextHOC (how to use)
[7.1.0]
androidOldSkuis no longer required #1438.
[6.1.0]
- Creates two variants:
playandamazonand only uses the required code.[3.0.0+] react-native-iap V3 noteNOTE: This would be a breaking change with a very simple fix described in the documentation. To add: `missingDimensionStrategy 'store', 'play'` `in build.gradle`
- Please refer to Blog.
Follow this guide to get the example running.
Since IAP itself is not perfect on each platform, we desperately need
this project to be maintained. If you'd like to help us, please consider being
with us in Open Collective.
Support this project by becoming a sponsor. Your logo will show up here with
a link to your website. Become a sponsor.
Please be our Backers.
Please make sure to read the Contributing Guide before making a pull request. Thank you to all the people who helped to maintain and upgrade this project!

