Android - Ipay88 got error Access denied finding property "ro.serialno"
30,853
The error is thrown later or on Android 9 devices. when we try to access Serial number of device, without application having READ_PHONE_STATE permission.
The error is thrown when serial number is read using reflection.
Apps needing the Build.serial identifier must now request the READ_PHONE_STATE permission and then use the new Build.getSerial() method added in Android 9.
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Author by
Admin
Updated on August 06, 2021Comments
-
Admin almost 3 years
hello i tried to implement IPayPayment on Android,
val checkoutIntent = Ipay.getInstance().checkout(payment,applicationContext, ResultDelegate()) checkoutIntent.flags = Intent.FLAG_ACTIVITY_NEW_TASK startActivity(checkoutIntent)
but i got error
libc: Access denied finding property "ro.serialno"
any solution?
-
Admin over 4 yearshmm i've added permission for READ_PHONE_STATE, but still same :(
-
Rahul Patil over 4 yearsis the permission granted ?
-
Admin over 4 yearsyup, but still same but i already solved, cause the error is deprecated read deviceId, Android O cant getDeviceId, so i change to getImei