Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] No way to filter out deactivated products? #1537

Open
xiaoxiao99 opened this issue Feb 23, 2024 · 0 comments
Open

[Android] No way to filter out deactivated products? #1537

xiaoxiao99 opened this issue Feb 23, 2024 · 0 comments

Comments

@xiaoxiao99
Copy link

Observed behavior

According to the API documentation, it seems Product.canPurchase is the only avaliable flag to check if a product is active or not.
However, I found this flag is always true even if product is inactive.
To confirm that fact I updated the product title at the same timing as deactivaing product in play store.
It turns out the product title was updated in my app after a few hours, but the canPurchase flag still remains true.
So it is not an issue of local caching.

Expected behavior

If canPurchase is not the right place to check product activeness, what else should I look into?

System Info

cordova-android :12.0.1
cordova-plugin-purchase: 3.10.1

PS
This is my first try on this plugin, so I do not have chance to check the behavior on iOS yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant