react-native-iap will help you access the In-App purchases capabilities of your device on iOS, and Android (Play Store and Amazon). In order to initialize the native modules, call initConnection() early in the lifecycle of your application. This should be done at a top-level component as the library caches the native connection. Initializing just before you needed is discouraged as it incurs on a performance hit. Calling this method multiple times without ending the previous connection will result in an error. Not calling this method will cause other method calls to be rejected as a connection needs to be established ahead of time. You should not call initConnection and endConnection every time you need to interact with the library. This is considered an anti-pattern as it consumes more time, and resources and could lead to undesired side effects such as many callbacks.

Features

  • Access the In-App purchases capabilities of your device on iOS
  • Available for Android
  • This library will provide the basic features to consume In-App purchases on the client-side
  • Requires react 16.13.1
  • Needs react-native 0.65.1
  • Android Support
  • AndroidX supported

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow react-native-iap

react-native-iap Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of react-native-iap!

Additional Project Details

Operating Systems

Android, Apple iPhone

Programming Language

TypeScript

Related Categories

TypeScript User Interface (UI) Software

Registered

2023-06-07