Skip to content

ajmakoni/cordova-plugin-internet-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-internet-status

Simple plugin that returns the internet status. (Android and iOS)

Installation

$ cordova plugin add cordova-plugin-internet-status

Usage

internet.getStatus(function(status) {
   switch(status) {
       case internet.CONNECTED: console.log('Connected !'); break;
       case internet.DISCONNECTED: console.log('Disconnected...');
   }
});

About

Simple plugin that returns the internet status

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published