Skip to content

jobbemaas/cordova-plugin-network-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova Plugin Network Interface

Very self-explanatory. Allows you to get the ip address and hostname of an Android device via Cordova.

API

Get Functions

success is a callback called to return the response.

error is a callback called if anything goes wrong. (Optional)

// Get the client IP Address
window.networkInterface.getIPAddress(success, error);

// Get the client Hostname
window.networkInterface.getHostName(success, error);

About

Get the ip address and hostname of devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published