adaptyteam / AdaptySDK-Flutter

SDK for growing mobile in-app purchases
https://docs.adapty.io/docs/quickstart
MIT License
96 stars 17 forks source link

AdaptyError (code null) Play Market request failed: Google Play In-app Billing API version is less than 3 #78

Closed furkancetintass closed 1 year ago

furkancetintass commented 1 year ago

I see this error in Sentry issues while getPaywalls running adapty_flutter: ^2.2.4

adapty_flutter.dart in Adapty._invokeMethodHandlingErrors at line 241 within adapty_flutter
Called from: <asynchronous suspension>
adapty_flutter.dart in Adapty.getPaywalls at line 64 within adapty_flutter
Called from: <asynchronous suspension>
adapty_service.dart in AdaptyService.getProducts at line 59 within uppy
Called from: <asynchronous suspension>
premium_viewmodel.dart in PremiumViewModel.getProductsFromAdapty at line 779 within uppy
Called from: <asynchronous suspension>
premium_viewmodel.dart in PremiumViewModel.createAppSubscriptionOptions at line 215 within uppy
vladd-g commented 1 year ago

hi @furkancetintass

I suppose it was either an emulator or a device without Google Play

furkancetintass commented 1 year ago

hi @vladd-g

Among the devices where this problem occurs is the iPhone 11

and some examples from other devices: Samsung Galaxy Tab S7

x401om commented 1 year ago

@furkancetintass that is impossible to get Google Play related errors from iOS. Are you sure that Sentry is aggregating error data correctly?

furkancetintass commented 1 year ago

@x401om Yes we are sure, we have been using sentry for a long time. here other devices having this problem TA-1033 SM-T733 HRY-LX1 SM-A515F iPhone 11 SM-A725F SM-T220

x401om commented 1 year ago

As I said above, there is no way to get an error related to Google Play on an iOS device. I think there are some inaccuracies here in how the information was collected (it happens that analytics systems mix stack traces incorrectly). If possible, please send us a verbose log for the sessions with errors.

UlasKasim-dusyeri commented 1 year ago

iOS devices produce error as AdaptyError (code 0) Bilinmeyen bir hata oluştu Android devices produce error as AdaptyError (code null) Play Market request failed: An internal error occurred.

x401om commented 1 year ago

@furkancetintass @UlasKasim-dusyeri are you still facing this issue? Was you able to reproduce it with your deveces?

x401om commented 1 year ago

I'll close the issue since there is no response. Feel free to reopen if you will be able to provide more information or verbose logs from the SDK.