-
Notifications
You must be signed in to change notification settings - Fork 84
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
Purchases.getProducts() hangs #989
Comments
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out! |
There's nothing in the logcat? We are going to need those logs to be able to understand what's going on with |
Just learned logcat is a thing inside Android Studio (I was expecting terminal output) and there are errors which seem to point to billing
I think two questions - why would this cause the call to hang? And the same issue is happening in my live app on an Android device that I am logged into the play store with and has my credit card attached. |
Hey @theianjohnson I'm not sure why that error would cause getProducts to hang (maybe @vegaro can chime in) but the |
@mshmoustafa I've tried clearing Google Play cache and data, tried multiple devices, all the same hang with getProducts(). In all the same environments getOfferings() works fine so that's what I'm now reimplementing everything with, seems getProducts() is just buggy |
That's very strange. Do you mind sharing the full logcat? Also, we would appreciate if you have a minimal reproducible project you can share with us so we can try to reproduce on our side. Thanks! |
Hi, I am having the same issue. Is there any update on this or is it recommended to use |
I can confirm that using |
@c-lamont sorry for the delay, can you open a new issue with the requested environment details and the logcat for when getProducts fails? |
this also hangs btw await Purchases.logIn(userIdentifier) |
I can confirm that using |
I noticed that for Android, I have to use the value up to the For example |
Yes, I can confirm that @sakutaro220 is correct, and for Android, I also had to use the value up to the : instead of the full path of the Products to get it. |
Also ran into this issue, and further needed to match the product ID for those that were returned, since when using the prefix on Android, multiple products can be returned. Here is the code I am using:
|
Describe the bug
A clear and concise description of what the bug is. The more detail you can provide the faster our team will be able to triage and resolve the issue. Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.
purchasePackage
method hangs forever with DEFERRED proration. No information about DEFERRED subscription #832 I've set Purchases.setLogLevel(Purchases.LOG_LEVEL.DEBUG); but nothing's ever actually logged (ongoing issue seemingly unrelated)Additional context
I had a purchase in February and haven't changed anything in RevenueCat or the Play Store since then so it's seemingly something code
The text was updated successfully, but these errors were encountered: