1.0.1 • Published 7 years ago

cordova-plugin-ip-mac-address v1.0.1

Weekly downloads
20
License
ISC
Repository
github
Last release
7 years ago

#This plugin is used to get the device IP Address and Mac Address

Install this plugin using

cordova plugin add cordova-plugin-ip-mac-address

function call to get the IP Address

var params = {};
addressimpl.request("getIPAddress", JSON.stringify(params), function(message) {
    	alert("ip address "+message);
    }, function() {
    	alert("failed on get ip address");
    });

function call to get the Mac Address

var params = {};
addressimpl.request("getMACAddress", JSON.stringify(params), function(message) {
    	alert("mac address "+message);
    }, function() {
    	alert("failed on get mac address");
    });