mardi 24 novembre 2020

How to remove non-consumable and buy it again (while testing an Android app)?

How do you test non-consumables in your Android apps? ("noADs" as instance) If "noAds" already purchased All I do (reinstall the game, install it on other device) it doesn't lead to anything: I don't see the purchase again (it always restores automatically).

Google says: "To perform multiple test purchases for the same non-consumable product, you can refund and revoke purchases using Google Play Console."

Yes, it works. May be after the /adb shell pm clear com.android.vending/ But it really hard to do it every time.

So, do you really do it the same way each time?!! Is there no way (for example) to add a cheat to the app: if it's activated, the device doesn't send the request to purchase restoring. Or doesn't receive the server answer... or something else?? Or does Google Play Billing do all of these automatically and block all attempts to interfere?

Aucun commentaire:

Enregistrer un commentaire