You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I wonder if that is neccessary when using the hooks from useIAP, or is the flushFailedPurchasesCachedAsPendingAndroid method called automatically in that case so that I don't need to specify it directly?
It seems to me that there are two approaches when using react-native-iap, either you go with the useIAP hooks or you don't. But maybe that is the wrong assumption?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I use something like this in my implementation:
But I wonder if that is neccessary when using the hooks from
useIAP
, or is theflushFailedPurchasesCachedAsPendingAndroid
method called automatically in that case so that I don't need to specify it directly?It seems to me that there are two approaches when using react-native-iap, either you go with the useIAP hooks or you don't. But maybe that is the wrong assumption?
Beta Was this translation helpful? Give feedback.
All reactions