So there is this function https://developer.android.com/google/play/billing/billing_reference#getPurchases
and apparently it's able to return me the valid subscriptions even when the user is offline. Can I rely on this method to always tell be which subscriptions are valid? Or is the data stored somewhere in some cache, so after a day or two it gets removed.
To introduce you to my problem, I want to be able to tell which subscription is still active (hasn't expired) even if the device is offline, so i'm making sure this is a viable way.