react-native-iap

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

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

主要指标

概览
名称与所有者hyochan/react-native-iap
主编程语言TypeScript
编程语言Java (语言数: 8)
平台
许可证MIT License
所有者活动
创建于2017-10-22 00:31:20
推送于2025-06-28 17:11:27
最后一次提交
发布数227
最新版本名称12.16.4 (发布于 )
第一版名称intermediate (发布于 2017-12-30 15:12:31)
用户参与
星数3.1k
关注者数35
派生数671
提交数1.9k
已启用问题?
问题数1547
打开的问题数223
拉请求数953
打开的拉请求数4
关闭的拉请求数151
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?