Hi Team
I have a user who is receiving an error each time he opens my app. It opens and then closes. The information I receive from Google is as below and think it may have something to do with a security issue:
java.lang.SecurityException
in android.os.Parcel.readException
Below is the data that Google have listed as to the cause of the error.
Could you explain what I need to do to rectify this error please?
Many thanks
Maurice
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x8000010 (has extras) } in org.apache.cordova.networkinformation.NetworkManager$1@42586c88
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:773)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5306)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.SecurityException: ConnectivityService: Neither user 10174 nor current process has android.permission.ACCESS_NETWORK_STATE.
at android.os.Parcel.readException(Parcel.java:1425)
at android.os.Parcel.readException(Parcel.java:1379)
at android.net.IConnectivityManager$Stub$Proxy.getActiveNetworkInfo(IConnectivityManager.java:877)
at android.net.ConnectivityManager.getActiveNetworkInfo(ConnectivityManager.java:619)
at org.apache.cordova.networkinformation.NetworkManager$1.onReceive(NetworkManager.java:110)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:763)
... 9 more