InAppPurchases getProductsAsync causes app crash during Apple review

Please provide the following:

  1. SDK Version: Expo34

  2. Platforms(Android/iOS/web/all): iOS

  3. Before submitting to Apple review, the app run normally in test flight

  4. Apple starts to review today and they report they found bug in the screen for in app purchase

  5. I just tested on my development environment. The app cause crash when calling getProductsAsync of InAppPurchases module.

I could not find any stacktrace in my js console or xcode.
I just the following message:
libc++abi.dylib: terminating with uncaught exception of type NSException

Please help

Hi oscaryuen,

The same problem for me today, Apple has review yesterday and invalidate my products.

Because one or more products are invalidate in the store, getProductsAsync crash with an uncaught exception.

Did you find a way to caught this exception or to make it work ?

Hi turn out I found that the subscription group is also under (metadata rejected) status even they said they rejected your subscription item.
You need to change the name of the subscription group and change it back to the original name to make the metadata rejected to become waiting for review.

After that , you can test it on the testflight to see if it would crash when getting purchase items.