Hi to all
I use IAP Badger in the version “The simplest possible code for handling a purchase” without any changes. By testing the IAP, I use as product code “android.test.purchased”. So far, in Google all is working fine and the product is technically bought. In the “purchaseListener”, I set a Flag in a txt-file to remember the purchase for not asking for buying again. Works fine too.
Question: I deinstall the application on the device and reinstall it again. In this case, the txt-file has been deleted, what is OK (Same situation, as I install the App on a new phone with the same google account). Now, if I buy my IAP again, I get from Google the message “Error Transaction failed: Unable to buy item (response: 7:Item Already Owned)” which is in my opinion correct.
Maybe I think something wrong:
a) Easy for me would be when the IAP Badger would handle this case like a buy and call the “purchaseListener”-function.
b) Is there any possibility to handle the error message by myself?
c) other suggestion?
Thanks for helping
Hanspeter