You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/03/11 21:43:57 UTC

[GitHub] [cordova-plugin-network-information] ppetree opened a new issue #88: Determine if a specific connection type is available

ppetree opened a new issue #88: Determine if a specific connection type is available
URL: https://github.com/apache/cordova-plugin-network-information/issues/88
 
 
   # Feature Request
   Determine if a specific connection type is available
   
   ## Motivation Behind Feature
   I have a dial feature visible only when cellular connections are present.  If the user has both cellular and wifi access, the plugin returns wifi as the connection type but never tells one that cellular is also available.
   
   
   ## Feature Description
   bool = Connection.hasConnection(Connection.CELL_4G);
   
   
   ## Alternatives or Workarounds
   I got nothing... no idea how to pursue this.  I can't very well popup an alert and tell people to turn off their wifi to access the dial feature.  
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org