Using an emulator (api25) with GooglePlay but not connected I got this error :
In-app billing API version 3 is not supported on this device.
2024-10-09 00:06:50.487 10022-10022 [Purchases] - ERROR com.app.test E 🤖‼️ PurchasesError(code=StoreProblemError, underlyingErrorMessage=Billing is not available in this device. Make sure there's an account configured in Play Store. Reopen the Play Store or clean its caches if this keeps happening. Original error message: DebugMessage: Google Play In-app Billing API version is less than 3. ErrorCode: BILLING_UNAVAILABLE., message='There was a problem with the store.')
2024-10-09 00:06:50.488 10022-10022 [Purchases] - ERROR com.app.test E 🤖‼️ Error fetching offerings - PurchasesError(code=StoreProblemError, underlyingErrorMessage=Billing is not available in this device. Make sure there's an account configured in Play Store. Reopen the Play Store or clean its caches if this keeps happening. Original error message: DebugMessage: Google Play In-app Billing API version is less than 3. ErrorCode: BILLING_UNAVAILABLE., message='There was a problem with the store.')
2024-10-09 00:06:50.488 10022-10022 RevenueCatUI com.app.test E Paywall transitioned to error state: Error 2: There was a problem with the store.
using revenuecat_version = '8.8.0'
Multiple problems here :
I want my app to be usable even for users With Playstore/Playservices but NOT logged in
I want my app to be usable even if sideloaded outside playstore (so no playstore/playservices)
Using the PaywallFooter, there is no way to handle this error as it load as soon as the PaywallFooter load (not even on purchase/restore click) and in the setListener methods there are callback only for these 2 actions (onPurchaseError / onRestoreError) .. no onLoadingError
- 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"
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 thedismissRequest
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