-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
flutter/plugins
#3287Labels
c: crashStack traces logged to the consoleStack traces logged to the consolep: in_app_purchasePlugin for in-app purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
Description
In play billing api appeared new error code SERVICE_TIMEOUT = -3;
Got a crash while parsing enum with that code
Invalid argument(s): `-3` is not one of the supported values: -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8
_$enumDecode.<fn> (enum_converters.g.dart:28)
Iterable.singleWhere (iterable.dart:625)
._$enumDecode (enum_converters.g.dart:27)
BillingResponseConverter.fromJson (enum_converters.dart:18)
._$PurchasesResultWrapperFromJson (purchase_wrapper.g.dart:36)
new PurchasesResultWrapper.fromJson (purchase_wrapper.dart:108)
BillingClient.queryPurchases (billing_client_wrapper.dart:174)
GooglePlayConnection.queryPastPurchases (google_play_connection.dart:86)
sowens-csd and impure
Metadata
Metadata
Assignees
Labels
c: crashStack traces logged to the consoleStack traces logged to the consolep: in_app_purchasePlugin for in-app purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.