Reputation:
UPDATE: Works now. I don't know why I did not change anything. Maybe Google needs more time these days...
I am struggling to query products for my android app. The app is created with Flutter and uses the official In App Purchase Plugin. I assume it is a configuration problem on Google Play Store. In the past, I succeeded in writing apps that can access in-app products with this setup.
Query:
var productsResponse = await InAppPurchaseConnection.instance
.queryProductDetails({_registrationId, _subscriptionId});
Result:
App configuration on Google Play:
build.gradle
Billing
capability was addedSome remarks:
isAvailable()
returns true and is called before the queryflutter clean
and manual app removal from the phone was done several timesDoes anyone have any hints for me? It could be something totally stupid I just don't see at the moment.
Thanks for any help!
UPDATE: I upgraded the app to the alpha track, sadly results didn't change. It does not seem to be track related.
Upvotes: 4
Views: 2074
Reputation: 77
Keep in mind to use the product id of the subscription group, not of the subscription offer.
Here you see what I mean in the subscription settings of the play store console.
Upvotes: 2