Skip to main content

One post tagged with "iOS"

iOS platform specific features

View All Tags

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