Is there any way to ask (programmatically) GooglePlay if the application refund time has expired?
Edit: what i wanto to achive is that if users are inside the refund period I do want to skip the licensing check
Is there any way to ask (programmatically) GooglePlay if the application refund time has expired?
Edit: what i wanto to achive is that if users are inside the refund period I do want to skip the licensing check
No. Google does not expose such API to the developers.
If your purpose is to use 'Strict' licensing mode check within the refund period, then just do the check for the first 24 hours after the app is run for the first time. Yes, even though the official refund window is 15 minutes, a user can still request a refund within the 24 hours period.
So after 24 hours, if the user passes 'Strict' licensing mode check, then you can switch to a more relaxing mode, the ServerManagedPolicy or your own policy.