Skip to main content

Release 14.2.0

Β· One min read
Hyo
React Native IAP Maintainer

React Native IAP 14.2.0 focuses on stability and smoother integration across iOS and Android.

Highlights​

  • iOS: Idempotent, non-blocking initConnection() with proper failure propagation. Prevents false-positive connected states under rapid navigation.
  • iOS: Upgraded OpenIAP to ~> 1.1.8 for StoreKit 2 stability.
  • Android: Ship consumer R8 keep rules so Nitro HybridObjects aren’t stripped in release builds. Apps no longer need manual keeps.
  • CI: Use vendored Yarn binary to avoid Corepack network/503 issues.
  • Examples: Stabilized Subscription/Purchase flows and improved tests.

Details​

  • ios/HybridRnIap.swift: initConnection() now awaits OpenIAP initialization and returns the actual result. Errors surface through the purchase error channel with E_INIT_CONNECTION and the hook no longer marks as connected prematurely.
  • NitroIap.podspec: Depends on openiap ~> 1.1.8.
  • android/consumer-rules.pro: Keep rules for Nitro IAP classes; wired via consumerProguardFiles so downstream apps inherit them automatically.
  • CI workflows updated to call .yarn/releases/yarn-3.6.1.cjs directly.

Upgrade Notes​

No breaking API changes. After upgrading:

  1. Reinstall Pods for the iOS example/app

    cd example/ios && pod install
  2. Regenerate Nitrogen if you edited specs

    yarn nitrogen
  3. Android consumers can remove any app-local keep rules previously added for Nitro IAP (the library now ships consumer rules).

Release 14.2.2

Β· One min read
Hyo
React Native IAP Maintainer

Small stability update focused on iOS and example UX.

Highlights​

  • iOS: Upgraded OpenIAP to ~> 1.1.9 (notes)
  • iOS: Event‑only purchase flow with error de‑duplication (no double cancel popups)
  • Examples: Guard finishTransaction until connected; short delayed retry for reliability

Notes​

No breaking changes. If you edited specs, regenerate Nitrogen:

yarn nitrogen

v14.1.1 - iOS Product Cache Invalidation

Β· One min read
Hyo
React Native IAP Maintainer

We're releasing v14.1.1 with an important fix for iOS subscription management.

πŸ› Bug Fix​

iOS: Fixed Product Fetching in Subscription Management​

Fixed an issue where showManageSubscriptionsIOS() would fail to detect subscription changes when products weren't pre-cached in the ProductStore. The method now includes a fallback mechanism that:

  • Fetches products directly from StoreKit when not found in cache
  • Derives subscription SKUs from Transaction.currentEntitlements when ProductStore is empty
  • Ensures subscription status changes are properly detected even without calling fetchProducts() first

This fix improves the reliability of subscription management UI interactions on iOS.

πŸ“¦ Installation​

npm install react-native-iap@14.1.1
# or
yarn add react-native-iap@14.1.1

πŸ™ Acknowledgments​

Thanks to the CodeRabbit AI reviewer for identifying this edge case and suggesting the improvement.


For the complete changelog, see CHANGELOG.md

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.