android - Google play in app purchases with singleTask launchMode? -



android - Google play in app purchases with singleTask launchMode? -

i have added in app purchases game , work fine, until press home button while you're making in-app purchase. application needs in singletask mode (it unity project).

so, taking google's sample project the documentation, works fine. add together

launcandroid:launchmode="singletask"

and has issues when pressing home button during in app purchases, follows:

if press purchase button, , takes google play's purchase screen saying "this test order, not charged", , press home here, when loading app 1 time again says:

error purchasing: labresult: null info in iab result (response: -1002:bad response received)

if go through purchase, until says "purchase successful", , press home button there, same error, don't in app product in-game, , next time seek purchasing says

error purchasing: labresult: unable purchase item (response: 7:item owned)

so not consumed (until next time application launched):

how guys handling these kinds of issues? or handling them @ all?

android in-app-purchase google-play launchmode

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -