Hi all
I am seeing a lot of these errors in “crashes and ANR” section on Google play and customers complain the app doesn’t start. I initial the Google IAP library min main.lua. All crashes are being reported on Android 5.1.
This only affects a tiny percentage of customers and some days no crashes are logged so I don’t understand. Any ideas?
java.lang.SecurityException: Requires READ_PHONE_STATE: Neither user 10075 nor current process has android.permission.READ_PHONE_STATE.
at android.os.Parcel.readException(Parcel.java:1546)
at android.os.Parcel.readException(Parcel.java:1499)
at com.android.vending.billing.IInAppBillingService$Stub$Proxy.getSkuDetails(IInAppBillingService.java:251)
at plugin.google.iap.v3.util.IabHelper.querySkuDetails(IabHelper.java:945)
at plugin.google.iap.v3.util.IabHelper.queryInventory(IabHelper.java:573)
at plugin.google.iap.v3.util.IabHelper$2.run(IabHelper.java:640)
at java.lang.Thread.run(Thread.java:818)
The permissions I ask for are
android =
{
usesPermissions = { “android.permission.INTERNET”,
“android.permission.ACCESS_NETWORK_STATE”,
“android.permission.WRITE_EXTERNAL_STORAGE”,
“com.android.vending.BILLING”,
“com.android.vending.CHECK_LICENSE”, },
},
Thanks
Adrian