anjlab/android-inapp-billing-v3

v3 consumePurchaseAsync() causing error 110 the first time, but works fine the second time.

goman64 opened this issue · 1 comments

Calling consumePurchaseAsync() triggers onBillingError with errorCode = 110 and the following message:

java.lang.RuntimeException: Can't create handler inside thread Thread[PlayBillingLibrary-4,5,main] that has not called Looper.prepare()

Calling it again works fine.

Issue was with another library that was calling a thread in the background instead of the UI.