pjc2007 opened a new issue #100: getCurrrentConnectionType for Windows may not 
be accurate for some locked down corporate networks
URL: https://github.com/apache/cordova-plugin-network-information/issues/100
 
 
   # Bug Report
   
   ## Problem
   I am not sure if you want to consider this a bug, as perhaps my use case is 
a bit out of the ordinary, but thought would just bring to light
   
   Running on a more "locked down" corporate network, 
`getCurrrentConnectionType()`  would return NONE for windows when trying to get 
to a local server (ie server on the same network)
   
   Seems only to be Windows, the problem occurs, Have not tried iOS yet, but 
Android appear ok.
   
   
   ### What is expected to happen?
   Would like this to report the connected network
   
   ### What does actually happen?
   `getCurrrentConnectionType`   returns NONE
   
   ## Information
   In my case, the call to `profile.getNetworkConnectivityLevel();` was 
returning `NetworkConnectivityLevel.LocalAccess`, but if I did a http call 
anyway, it worked fine
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   ### Environment, Platform, Device
   A locked down corporate network that probably did not allow outside network 
access, but in this case the server is located on the local network
   
   ### Version information
   <!-- 
   $ ionic info
   
   Ionic:
   
      Ionic CLI                     : 5.2.3 
(C:\Users\pchapman\AppData\Roaming\npm\node_modules\ionic)
      Ionic Framework               : @ionic/angular 4.11.3
      @angular-devkit/build-angular : 0.802.0
      @angular-devkit/schematics    : 8.2.0
      @angular/cli                  : 8.2.0
      @ionic/angular-toolkit        : 2.0.0
   
   Cordova:
   
      Cordova CLI       : 9.0.0 ([email protected])
      Cordova Platforms : android 8.1.0, windows 7.0.1
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, 
cordova-plugin-ionic-webview 4.1.3, (and 14 other plugins)
   
   Utility:
   
      cordova-res : 0.7.0-testing.0
      native-run  : 0.2.8
   
   System:
   
      Android SDK Tools : 26.1.1 (C:\Users\pchapman\AppData\Local\Android\sdk)
      NodeJS            : v10.15.3 (C:\Program Files\nodejs\node.exe)
      npm               : 6.4.1
      OS 
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] 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]


With regards,
Apache Git Services

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

Reply via email to