Using Google iAPv3 plugin.
If I log out of the Google account on my Android phone, and then attempt an IAP within my app, right now it’s an ‘ugly’ fail in that I’m not able to alert the user that anything is wrong
In adb logcat I do get messages indicating the fact that there’s no account logged in:
W/Finsky (31497): [23843] InAppBillingUtils.getPreferredAccount: com.flashysubstance.flowbenmusic: No account found.
W/Finsky (31497): [23843] InAppBillingService.checkBillingEnabled: Billing unavailable for this package and user.
When I call store.purchase() later on, the storeTransaction callback doesn’t fire or fail…instead, I just get a message in the logcat saying " Please call init before trying to purchase products."
The thing is, I definitely already called init, it just thinks I haven’t because no account was active on the device.
Since store.init() doesn’t seem to return a value for success/failure, is there any way to elegantly handle this?