React-native-iap: The sku was not found. Please fetch products first by calling getItems

Created on 21 Jul 2020  ·  5Comments  ·  Source: dooboolab/react-native-iap

Version of react-native-iap

4.4.9

Version of react-native

0.62.2

Platforms you faced the error (IOS or Android or both?)

Android

Actual behavior

Some users cannot make in-app purchases, the error they encountered is "the sku was not found. Please fetch products first by calling getItems"

The first thing i do in the app after initConnection () and consumeAllItemsAndroid () is to take the list of in-app purchases.

I don't know how to reproduce the error, it does not seem related to a particular version of android or to a particular device

🙏 help wanted 🤖 android

Most helpful comment

Yes, having same issue. Please post solution.

All 5 comments

Have you called getProducts?

@Ilario17 Having the same issue on android only, did you find a solution?

Yes, having same issue. Please post solution.

It take long to approve product from Google Play store. Don't know why. And not update any kind of status on product. But after two days wait. Products are automatic fetching with same source code. So wait for approve products.

I have approved my in app purchase products from play store even getting the response but sometime it returns sku not found for some users , don't know why me too faced this issues sometimes while testing and thought it was the issue because play store takes time to approve products but it is still occurring sometimes

Was this page helpful?
0 / 5 - 0 ratings