Skip to content
← Back to activity

Public problem

Purchases.getProducts() hangs with base plan identifier (fixed in 9.6.3)

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

Calling Purchases.getProducts() with a product identifier that included a base plan (e.g. premium-plan:1month) hung or returned an empty list instead of the StoreProduct for that base plan. Before the fix, the base-plan form returned an empty list instead of the StoreProduct; the plain identifier worked fine. The reporter used a Google Play base plan identifier like premium-plan:1month.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Fixed in react-native-purchases 9.6.3; upgrade to 9.6.3 or newer. Passing a product with a base plan to getProducts now returns the StoreProduct for that base plan. The maintainer announced the fix directly in the thread. Source: https://github.com/RevenueCat/react-native-purchases/issues/989

Source: https://github.com/RevenueCat/react-native-purchases/issues/989