Skip to main content

React Native IAP Reborn

ยท 2 min read
Hyo
React Native IAP Maintainer

React Native IAP has been completely renewed with cutting-edge Nitro Modules architecture! ๐Ÿš€

We're excited to share this comprehensive resource for developers looking to implement in-app purchases in their Expo and React Native applications.

๐Ÿ—๏ธ New Architecture Support!โ€‹

React Native IAP v14.0.0 brings full support for React Native's New Architecture! ๐Ÿš€

Powered by Nitro Modulesโ€‹

We've completely rewritten React Native IAP using Nitro Modules, bringing you:

  • โšก Lightning-fast Performance - Direct JSI bindings eliminate bridge overhead
  • ๐Ÿ”’ Type-safe Native APIs - Full TypeScript support from JavaScript to native code
  • ๐ŸŽฏ Synchronous Native Calls - No more async/await for simple getters
  • ๐Ÿ“ฆ Smaller Bundle Size - Optimized code generation reduces app size
  • ๐Ÿ› ๏ธ Better Developer Experience - Auto-completion and type checking for all native methods

Key Improvementsโ€‹

  • Zero Bridge Overhead: Direct C++ to JavaScript communication via JSI
  • Fabric & TurboModules Ready: Full compatibility with React Native's New Architecture
  • Backwards Compatible: Works seamlessly with both old and new architecture apps
  • Modern Native Code: Rewritten with Swift (iOS) and Kotlin (Android) for better maintainability

Migration Made Easyโ€‹

Upgrading from v13? Our migration is designed to be smooth:

  • Most APIs remain the same with enhanced TypeScript types
  • Improved error handling with structured error objects
  • Better subscription management with new helper methods

What's Newโ€‹

This documentation site features:

  • ๐Ÿš€ Quick Start Guide - Get up and running in 5 minutes
  • ๐Ÿ“ฑ Platform-specific Setup - Detailed guides for iOS and Android
  • ๐ŸŽฃ useIAP Hook API - Complete API reference with examples
  • โš ๏ธ Error Handling - Centralized error code management
  • ๐ŸŽจ Beautiful Design - Clean, modern interface with oatmeal theme
  • ๐Ÿ—๏ธ New Architecture Support - Full compatibility with Fabric and TurboModules

Getting Startedโ€‹

Ready to add in-app purchases to your app? Start with our installation guide and follow our step-by-step setup process.

Have questions or feedback? We'd love to hear from you on GitHub!