-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
p: 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 specifically
Description
In app purchase subscription using in_app_purchase 0.2.1+.
Step followed:
- I have added subscriptions plan on Google Developer Console.
- Uploaded released build on Google Developer Console.
- App is approved
- Now we are unable to get subscription item list. Getting blank array.
This is code we have used:
Future<void> _getProducts() async {
Set<String> ids = Set.from([month1, month6, year1]);
Set<String> ids1 = <String>{month1,month6,year1}.toSet();
debugPrint('Product List ids : $ids1');
ProductDetailsResponse response = await _iap.queryProductDetails(ids1);
setState(() {
_products = response.productDetails;
debugPrint('Product List : $_products');
});
}Metadata
Metadata
Assignees
Labels
p: 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 specifically