-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/packages
#5120Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfyi-ecosystemFor the attention of Ecosystem teamFor the attention of Ecosystem teamgood first issueRelatively approachable for first-time contributorsRelatively approachable for first-time contributorsp: in_app_purchasePlugin for in-app purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team
Description
Is there an existing issue for this?
- I have searched the existing package issues
- I have read the guide to filing a bug
What package does this bug report belong to?
in_app_purchase
What target platforms are you seeing this bug on?
Android
Have you already upgraded your packages?
Yes
Steps to reproduce
There is an unhandled NETWORK_ERROR (Error Code 12) in _$BillingResponseEnumMap.
Logs
Logs
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Invalid argument(s): `12` is not one of the supported values: -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8
#00 pc 0x3b9433 com.example ($enumDecode [enum_helpers.dart:83]) (BuildId: 349b90035e514d04af40333aa39dd131)
#01 pc 0x3bb8ef com.example (BillingResponseConverter.fromJson [billing_client_wrapper.dart:432]) (BuildId: 349b90035e514d04af40333aa39dd131)
#02 pc 0x3bb803 com.example (_$BillingResultWrapperFromJson [billing_response_wrapper.g.dart:12]) (BuildId: 349b90035e514d04af40333aa39dd131)
#03 pc 0x3bb767 com.example (new BillingResultWrapper.fromJson [billing_response_wrapper.dart:40]) (BuildId: 349b90035e514d04af40333aa39dd131)
#04 pc 0x63aa8f com.example (_$ProductDetailsResponseWrapperFromJson [product_details_wrapper.g.dart:35]) (BuildId: 349b90035e514d04af40333aa39dd131)
#05 pc 0x728c73 com.example (BillingClient.queryProductDetails [product_details_wrapper.dart:127]) (BuildId: 349b90035e514d04af40333aa39dd131)
#06 pc 0x69a33f com.example (_SuspendState._createAsyncStarCallback.<anonymous closure> [async_patch.dart:379]) (BuildId: 349b90035e514d04af40333aa39dd131)
#07 pc 0x2973df com.example (_FutureListener.handleValue [zone.dart:1661]) (BuildId: 349b90035e514d04af40333aa39dd131)
#08 pc 0x6bdeab com.example (Future._propagateToListeners.handleValueCallback [future_impl.dart:784]) (BuildId: 349b90035e514d04af40333aa39dd131)
#09 pc 0x292f8b com.example (Future._propagateToListeners [future_impl.dart:813]) (BuildId: 349b90035e514d04af40333aa39dd131)
#10 pc 0x2942df com.example (Future._completeWithValue [future_impl.dart:584]) (BuildId: 349b90035e514d04af40333aa39dd131)
#11 pc 0x69a983 com.example (_SuspendState._returnAsyncNotFuture [async_patch.dart:365]) (BuildId: 349b90035e514d04af40333aa39dd131)
#12 pc 0x69a33f com.example (_SuspendState._createAsyncStarCallback.<anonymous closure> [async_patch.dart:379]) (BuildId: 349b90035e514d04af40333aa39dd131)
#13 pc 0x2973df com.example (_FutureListener.handleValue [zone.dart:1661]) (BuildId: 349b90035e514d04af40333aa39dd131)
#14 pc 0x6bdeab com.example (Future._propagateToListeners.handleValueCallback [future_impl.dart:784]) (BuildId: 349b90035e514d04af40333aa39dd131)
#15 pc 0x292f8b com.example (Future._propagateToListeners [future_impl.dart:813]) (BuildId: 349b90035e514d04af40333aa39dd131)
#16 pc 0x2942df com.example (Future._completeWithValue [future_impl.dart:584]) (BuildId: 349b90035e514d04af40333aa39dd131)
#17 pc 0x69aabb com.example (_SuspendState._returnAsync [async_patch.dart:350]) (BuildId: 349b90035e514d04af40333aa39dd131)
#18 pc 0x69a33f com.example (_SuspendState._createAsyncStarCallback.<anonymous closure> [async_patch.dart:379]) (BuildId: 349b90035e514d04af40333aa39dd131)
#19 pc 0x2973df com.example (_FutureListener.handleValue [zone.dart:1661]) (BuildId: 349b90035e514d04af40333aa39dd131)
#20 pc 0x6bdeab com.example (Future._propagateToListeners.handleValueCallback [future_impl.dart:784]) (BuildId: 349b90035e514d04af40333aa39dd131)
#21 pc 0x292f8b com.example (Future._propagateToListeners [future_impl.dart:813]) (BuildId: 349b90035e514d04af40333aa39dd131)
#22 pc 0x2942df com.example (Future._completeWithValue [future_impl.dart:584]) (BuildId: 349b90035e514d04af40333aa39dd131)
#23 pc 0x29424b com.example (Future._asyncCompleteWithValue.<anonymous closure> [future_impl.dart:657]) (BuildId: 349b90035e514d04af40333aa39dd131)
#24 pc 0x293a0b com.example (_microtaskLoop [schedule_microtask.dart:40]) (BuildId: 349b90035e514d04af40333aa39dd131)
#25 pc 0x6bc963 com.example (_startMicrotaskLoop [schedule_microtask.dart:49]) (BuildId: 349b90035e514d04af40333aa39dd131)
#26 pc 0x29397b com.example (_startMicrotaskLoop [schedule_microtask.dart:44]) (BuildId: 349b90035e514d04af40333aa39dd131)vodemn, putnokiabel and MagnusJohanssonSoftWyer
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfyi-ecosystemFor the attention of Ecosystem teamFor the attention of Ecosystem teamgood first issueRelatively approachable for first-time contributorsRelatively approachable for first-time contributorsp: in_app_purchasePlugin for in-app purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team