-
Notifications
You must be signed in to change notification settings - Fork 54
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
In-app billing API version 3 is not supported on this device. #1874
Comments
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out! |
Okay so a little update : dismissRequest hack does not work as it is triggered when :
So this callback is totally unreliable for error handling .. => Adding a nullable error would be a good enhancement to determine if this callback is called for an error or not (or adding a separate loadingErrorHandler, or stop auto-dismissing paywall on purchase, or ...) Finally, with this issue + #1862 , I'm having a real hard/bad time to about error handling in revenuecat PaywallFooter ... note: at first I reproducted this issue in emulator, but now, I detected this same behavior on production (app from playstore, not sideloaded), so this error handling really need to be done. So last ugly workaround :
=> a "isBillingReadyToUse / isBillingInitialized / whatever" from your SDK that performs this checks would be GREAT (in order, for example, to NOT show a will-be-bugged paywall instead of letting it miserably crash) |
Hi, sorry for the delay in response here. If you are using our Android SDK, then this will need to go through Google Play. So side loading outside of the Play Store will not work if payments are not being processed via Google. If your app is using something like Stripe to process payments instead, then you can actually send those Stripe receipts to RevenueCat and we can log these for those users using the mobile app, see our blog here: https://www-origin.revenuecat.com/blog/cross-platform-subscriptions-ios-android-web/ |
Yeah I'm using your Android SDK on a PlayStore application (so, with, normally, GooglePlay up and running). No sideload/external payment. But, some clients seems to encounter Paywall crash in production and error handling is hard to do ... |
Thanks for clarifying that, in order to see what error those users are getting with the paywall it would be great to get some debug logs. We've had some developers enable debug logs in production and they are able to send them to their server to get those. To get debug logs from production for the affected users, you will want to have the RevenueCat SDK code in your app enabling debug logs and then you can have in the settings page of your app a couple of buttons, such as 'Record Debug Logs' and 'Send Debug Logs' where this will tell your app to start saving the debug logs and then to send them to your server. You should have your user press the 'Record Debug Logs' button, then have them attempt to make the purchase and go through the flow you previously described. Afterwards, they should press the 'Send Debug Logs' so you can receive these from them. After you get those can you please open a support ticket here and also include the app user ids of the affected users so I can check our server logs for anything amiss? Note that paywall crashes won't necessarily show up in our server logs which is why debug logs would be helpful here. |
Using an emulator (api25) with GooglePlay but not connected I got this error :
using revenuecat_version = '8.8.0'
Multiple problems here :
- But the critical issue is that this error triggers the display of an undismissable error Dialog (not my UI but revenucat one with a message "Error 2: There was a problem with the store") . Clicking on "OK" doesn't do anything._Edit: on this last issue, I workaround-ed with " by using the
dismissRequest
callback to "close/navigate away" from my onboarding/paywall page (removing PaywallFooter from the loaded screen seems to also delete this DialogBox)... But it's totally hacky and your dialogs should never be non-dismissable when clicking "OK"Thanks
The text was updated successfully, but these errors were encountered: