Hi, we have released the game on google play. And we have this ANR, how can we fix it?
Unity 2019.4.38
Iaps 4.1.5
It looks like the problem is in the billing library, but we have the newest version of unity iap library
at java.lang.Object.wait (Native method)
at java.lang.Thread.parkFor$ (Thread.java:2153)
at sun.misc.Unsafe.park (Unsafe.java:358)
at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
at java.util.concurrent.FutureTask.awaitDone (FutureTask.java:447)
at java.util.concurrent.FutureTask.get (FutureTask.java:205)
at com.android.billingclient.api.BillingClientImpl.queryPurchases
at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native method)
at com.unity3d.player.ReflectionHelper.a (unavailable)
at com.unity3d.player.ReflectionHelper$1.invoke (unavailable)
at java.lang.reflect.Proxy.invoke (Proxy.java:913)
at com.android.billingclient.api.BillingClientStateListener.onBillingSetupFinished
at com.android.billingclient.api.zzae.run
at android.os.Handler.handleCallback (Handler.java:795)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:166)
at android.app.ActivityThread.main (ActivityThread.java:6861)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:450)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:936)
Thank you
If I have updated to Unity IAP 4.5.1 then I don’t get a response when a user purchases a subscription.
Even in package manager don’t show any update regarding in app purchasing .