Chadori opened a new issue #122:
URL: https://github.com/apache/cordova-plugin-network-information/issues/122


   # Bug Report
   
   ## Problem
   Version [2.0.2 from 
npmjs](https://www.npmjs.com/package/cordova-plugin-network-information) is 
crashing some devices with Android 10, on startup.
   
   
   ### What is expected to happen?
   Run on Android Studio. You can also reproduce from the AVD Emulator 
**(Android 10, Pixel3A)**.
   
   
   ### What does actually happen?
   Crashes on startup.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   ```
   Uncaught exception from plugin:
   Connectivity Service : Neither user 10381 nor current process has 
android.permission.ACCESS_NETWORK_STATE
   ```
   
![image](https://user-images.githubusercontent.com/31282960/87260596-57558a00-c4e5-11ea-8c0c-065bf28c7369.png)
   
   Possible similar case: 
https://stackoverflow.com/questions/24552015/java-lang-securityexception-connectivityservice-neither-user-10134-nor-current
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   Android 10, Pixel 3A.
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to