Android - Ipay88 got error Access denied finding property “ro.serialno”

前端 未结 1 605
时光说笑
时光说笑 2021-01-25 13:27

hello i tried to implement IPayPayment on Android,

val checkoutIntent = Ipay.getInstance().checkout(payment,applicationContext, ResultDelegate())
checkoutIntent         


        
相关标签:
1条回答
  • 2021-01-25 13:51

    The error is thrown 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. [Android link here|[https://developer.android.com/about/versions/pie/android-9.0-migration]]

    0 讨论(0)
提交回复
热议问题