Closed pabbathiharish closed 8 months ago
I've experienced the same problem. Is there any solution?
I have the same problem!
I was using "_flutter_inapppurchase: ^5.0.2". Can you please change it with "_flutter_inapppurchase: 5.3.0" and try again? Please don't forget to remove "^".
This seems to be the same issue: https://github.com/dooboolab-community/flutter_inapp_purchase/issues/430
Unforunately it was closed. The posted workaround from @mdusaama0 worked for me.
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.
Just preventing the issue from closing. Products in the last version 5.4.2
are still unusable on android.
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.
flutter_inapp_purchase: ^5.4.1
Android
Should buy inAppProduct
No Purchase Prompt
T Real Device
Steps to reproduce the behavior
Add any InApp Product, and getProducts, the select any one product getting below Error.
E/flutter ( 7319): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(InappPurchasePlugin, buyItemByType, null, null) E/flutter ( 7319): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7) E/flutter ( 7319): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:315:18) E/flutter ( 7319):
E/flutter ( 7319): #2 FlutterInappPurchase.requestPurchase (package:flutter_inapp_purchase/flutter_inapp_purchase.dart:278:14)
E/flutter ( 7319):