PlatformException(getSubscriptions, E_NOT_PREPARED, IAP not prepared. Check if Google Play service is available., null)
devr097 opened this issue · 4 comments
When trying to run the getSubscriptions, I got this error
final List _productIds = [
'plus_sub',
'plus_diamond',
'plus_subscription_android',
'diamond_subscription_android',
];
FlutterInappPurchase.instance.getSubscriptions(_productIds);
How to fix this error?
Before using make sure you initialized like: await FlutterInappPurchase.instance.initialize();
Thank you for your reply.
I tried to run the initialization.
I got an error like this.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(initConnection, responseCode: 3, , null)
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.
anyone found a solution for this?