Current Android IAB reference

后端 未结 4 2084
悲&欢浪女
悲&欢浪女 2021-02-10 05:50

I\'ve been struggling with Android IAB v3 for a while now. I have it working consistently on my test devices. However, my crash reporting service shows two recurring crashes: on

4条回答
  •  萌比男神i
    2021-02-10 05:55

    You are probably using async operations. The current IabHelper is not safe in case you use the ...async methods. The problem is that in any moment an async operation is running dispose can be called on the main thread. In this case you will get NullPointerExceptions and IllegalStateExceptions.

    Try with this clone studiozanandroid

    With ref this Ans , download the patch here to avoid async errors.

    other than this checkout the signature validation issues like in this pay me lib,try to use OpenIAB libs.

提交回复
热议问题