(on Android) In my code when I want to start fetching products IDs the code never goes past this line:
final bool isAvailable = await InAppPurchase.instance.isAvailable();
And sometimes randomly it executes that line and stops here:
try {
ProductDetailsResponse productDetailResponse = await InAppPurchase.instance.queryProductDetails(_productIds.toSet());
//...
} on PlatformException catch (platformException) {
print(platformException);
} catch (error) {
print(error);
}
I've put both lines in a try-catch error but no error nor exception. I am clueless at this point.
I'm using in_app_purchase: ^2.0.0
and Flutter 2.5.3 stable channel
I'd appreciate if you have any hint.
P.S. everything works fine on iOS