dooboolab-community / react-native-iap

In App Purchase module for React Native!
https://react-native-iap.dooboolab.com
MIT License
2.73k stars 629 forks source link

I can't get any examples from the IAPExample folder to work on iOS. Am I the only one in this situation? #2736

Closed gkpo closed 1 month ago

gkpo commented 1 month ago

Description

Getting the list of subscriptions works fine (both when using the subscriptions example or the products example). What does not work is trying to purchase a subscription. The hooks don't get called properly, or they get called too often (i'm doing my tests on a physical device). It seems way too buggy and I haven't managed to get it to work not even once on iOS. I (painfully) managed to use react-native-iap for Android. But for iOS I might have to resort using another package...

I can read many issues about this kind of behaviour and I'm curious to know if anybody has managed to get this working for iOS and renewable subscriptions. This library really needs to have a better documentation. It seems to be the most widely used lib, more used than react-native-purchases but it seems so painful to achieve anything stable...

Expected Behavior

The examples should work I guess..

Environment:

To Reproduce