In the documentation for in app billing (v3), it says: "Upon a successful purchase, the user’s purchase data is cached locally by Google Play’s In-app Billing service."
I now want to thoroughly test my app's billing code and wish to clear that cache. Its important because without the data being in the cache, it may take a little longer to collect the data - or it may not be accessible at all. I want to test that my app can handle these cases.
So is there a way to clear that cache?
Clearing your cache means deleting the information automatically stored to your device when visiting a new site or opening an app. You might do this if you are strapped for space on your device or if you've noticed it's performing slower than usual.
You can do this with adb (works for non-rooted as well):
adb shell pm clear com.android.vending
It's as simple as that!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With