-
-
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
RNIap.requestPurchase is not responding in iOS #1005
Comments
Same here, however it seems to work on Android. |
I may have fixed it by adding
At the begining of componentDidMount ; Let me know if that help |
@hyochan Have you found a resolution to this? I am also experiencing the same problem in iOS. Its extremely frustrating, and I can't get past app review because calling RNIap.requestPurchase doesn't respond with the alert either promoting the user to agree to the subscription terms or confirming that the subscription is already active. If I force close the app and try it again, sometimes it works. I don't know if there is a problem with the sandbox or this library. |
@smarttouchtechnology Have you called |
It may be hard for @smarttouchtechnology to read the answer below that "solve" the "problem" ;) |
I had the same problem and @Panda313 suggestion to add |
@Panda313 ... You just saved me1 week sleepless night of apple rejection |
Could someone add this to the documentation so more people don't run into this issue? I'm not sure the best way to add it. EDIT: Added here. #1088. Feel free to review (I'm not confident I did it right.) |
For iOS, I didn't have any response from |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
I am experiencing this right now but the scenario is . . I tried purchasing in a different account in my app when there is an active subscription so calling requestPurchase when there is active subscription seems an issue. I am expecting to have a return like an error. |
Hi... I have the same problem with apple pay... yesterday worked really nice got everything to work from fetching the products to getting the purchase history and validating the latest receipt and today for some kind of reason won't appear any more and there is no error or anything when calling requestPurchase..
The |
@Mihai-github We are experiencing this issue too. How did you fix? |
Version of react-native-iap
4.4.8
Version of react-native
0.61.5
Platforms you faced the error (IOS or Android or both?)
iOS
Expected behavior
REQUEST OVER to be printed.
Actual behavior
In device i use sandbox tester account, it is responding and working well. But with any other devices or simulator it is not responding or resolving. This is vital since during app review, Apple keep rejecting my application with reason of tapping in BUY is not responding.
There is no problem about
RNIap.getProducts(itemSkus)
Tested environment (Emulator? Real Device?)
Real Device and Simulator
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: