react-native-iap

用于应用内购买的 react-native 原生模块。「react-native native module for In App Purchase.」

Github stars Tracking Chart

image


Version
Next Version
Download
Backers and Sponsors
FOSSA Status


Documentation

Read the documentation. See the troubleshooting for the common issues to avoid.

Announcement

  • Version 12.0.0: Implements Amazon 3.x SDK including the new DRM verification.

  • Version 11.0.0: The module migrates OS sdk to storekit2. andresesfm is working hard on this.

    yarn add react-native-iap@next
    
  • Version 10.0.0 is a maintenance 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.0 The module migrates android sdk to play billing library v5. Our core maintainers andresesfm and jeremybarbet worked hard on this.

  • Version 8.0.0 has finally landed in Jan 28th. Since this is early release, please use it with caution 🚧. We recommend user to use >=8.0.0 with react-native >=0.65.1. The next package is no longer updated until we organize the roadmap for 9.0.0.

  • Version 8.0.0 is currently in release candidate. The module is completely rewritten with Kotlin and Swift for 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-iap module 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.

Configuration of Play Store & App Store Connect

Example

Follow this guide to get the example running.

Sponsors

Gold Tier

NAMI

Silver Tier

Revenuecat

Support this project by becoming a sponsor. Your logo will show up here with
a link to your website. Buy me a coffee or
Become a sponsor.

Backers

Please be our Backers.

Contributing

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!


FOSSA Status

Main metrics

Overview
Name With Ownerhyochan/react-native-iap
Primary LanguageTypeScript
Program languageJava (Language Count: 8)
Platform
License:MIT License
所有者活动
Created At2017-10-22 00:31:20
Pushed At2025-06-28 17:11:27
Last Commit At
Release Count227
Last Release Name12.16.4 (Posted on )
First Release Nameintermediate (Posted on 2017-12-30 15:12:31)
用户参与
Stargazers Count3.1k
Watchers Count35
Fork Count671
Commits Count1.9k
Has Issues Enabled
Issues Count1547
Issue Open Count223
Pull Requests Count953
Pull Requests Open Count4
Pull Requests Close Count151
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private