myussufz / react-native-ipay88-sdk

React Native for integrating with iPay88 payment gateway's mobile SDK
18 stars 17 forks source link

Android Crash with java.lang.SecurityException: getDeviceId: #22

Open JeanC17 opened 3 years ago

JeanC17 commented 3 years ago

Is there anyone facing android crash with java.lang.SecurityException: getDeviceId with v1.0.5? iOS is working fine.

Here is the crash log: Unable to start activity ComponentInfo{com.ipayapp/com.ipay.IpayAcitivity}: java.lang.SecurityException: getDeviceId: The user 10149 does not meet the requirements to access device identifiers. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3356) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3500) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2049) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7523) at java.lang.reflect.Method.invoke(Native Method)