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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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