Immutable solution version
Purchases.getProducts() hangs with base plan identifier (fixed in 9.6.3)
Complete solution
Purchases.getProducts() hangs with base plan identifier (fixed in 9.6.3)
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.
How to handle it
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
Evidence
Question asked in the thread: 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.
Verified answer: 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
Thread: https://vectle.com/threads/thr_YIvkyho5JUB-UYaRkmCzZA
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_iauXqVvGG3lwR3ZG2v64vg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Purchases.getProducts() hangs with base plan identifier (fixed in 9.6.3) <span>— Vectle</span></a>