-
-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Promise returned by requestSubscription never resolved #632
Comments
Could you also test if the |
Yes, It works fine in purchaseUpdatedListener (and I use it save subscription). I wanted to use promise because there is a delay between user click 'Buy' and payment modal appears on IOS (to show spinner). And It works fine currently on IOS. But for android it never resolved (so I will need to have special case in source code to handle it). |
I can confirm this use case happens to me as well with the latest version of react-native-iap and React Native 0.60.3 |
Faced it with the latest version of react-native-iap & React Native 0.60.4 |
Same problem with react-native@0.61 and react-native-iap@3.5.2 on Android. |
Please try |
@hyochan Still not working on |
@pierregoutheraud Could you try |
@hyochan I tried installing |
Version of react-native-iap
3.3.9
Version of react-native
0.60.3
Platforms you faced the error (IOS or Android or both?)'
Android only (IOS works fine)
Expected behavior
Promise returned by requestSubscription should be resolved
Actual behavior
Promise returned by requestSubscription never resolved
Tested environment (Emulator? Real Device?)
Real Device + Sandbox
Steps to reproduce the behavior
await iap.requestSubscription();
console.log('This string does not print')
The text was updated successfully, but these errors were encountered: