Skip to content

iaptic/react-native-iap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,875 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@iaptic/react-native-iap — Iaptic-maintained fork

This is an Iaptic-maintained fork of react-native-iap@12.16.4 (which has been archived upstream).

The fork exists to ship a single fix needed to build on React Native ≥ 0.83 / Expo SDK ≥ 55 / new architecture: under RCT_NEW_ARCH_ENABLED=1, RNIap.podspec now uses React Native's install_modules_dependencies(s) helper instead of declaring RCT-Folly / RCTRequired / RCTTypeSafety / ReactCommon/turbomodule/core directly. RN ≥ 0.83 ships those inside the prebuilt ReactNativeDependencies pod and no longer publishes them as standalone podspecs, which broke the upstream podspec.

The JavaScript/TypeScript API and the Java / Obj-C / Swift native code are unchanged from 12.16.4. This fork is intended for use as the IAP layer under react-native-iaptic; other users may install it directly if they're stuck on the same RN 0.83 build error.

If you came here looking for the actively-developed react-native-iap, head to hyodotdev/openiaplibraries/react-native-iap (v15+, Nitro Modules-based). That's the long-term direction; this fork is a stop-gap on the v12.x line.


image


Version Next Version Download Backers and Sponsors FOSSA Status


Announcement

Announcing the Migration of react-native-iap to an Expo Module for Improved Maintenance and Compatibility in discussion #2754.

The expo-iap library is now ready to use, with support for StoreKit 2 and Google Play Billing.

Documentation

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

Logs

  • 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 maintenance 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 🎉

Configuration of Play Store & App Store Connect

Example

Follow this guide to get the example running.

Sponsors

Gold Tier

courier_dot_com

Past Sponsors

    

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.

Need Help Implementing/Debugging/Testing your IAP project?

Please take a look at iap.dev/consulting. At iap.dev, we offer IAP consulting services for all platforms. Please Contact Us.

Note: This service is not affiliated with hyochan. It was created by andresesfm who has contributed and provided support for this project

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

About

Iaptic-maintained fork of react-native-iap@12.16.4 with the iOS new-architecture pod-resolution fix for React Native >= 0.83 / Expo SDK >= 55. Stop-gap until react-native-iaptic migrates to OpenIAP/Nitro.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors