After we updated Unity IAP v2.1.1 to v4.1.2 in our app, an issue occurs described below.
Sometimes (although it’s rare, I guess ~1%), our app hangs on at IAP initializing timing, and once it occurs, it reproduces until reinstall or update the app.
Some of our customers reported it. All of them are iOS users.(It may be by chance, because share of iOS is much greater than that of Android in Japan)
As a workaround, we reverted IAP to v2.1.1 in only iOS app for now. After that, such inquires from our customers stopped.
I found some IAP issues of main thread stuck related to IAP in this forum. So it’s possible to be an IAP bug.
Does anyone have ideas of its cause?
Is it possible to have been resolved in IAP latest version?
Or let me know the latest version of IAP which you guess is safe.
Below is Unity and IAP version where the issue occurred .
Unity 2020.3.22f1
IAP 4.1.2
I attached the UnityIAP.cs which contains the class calling UnityPurchasing.Initialize().