cordova-plugin-ip-mac-address

    1.0.1 • Public • Published

    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");
        });

    Install

    npm i cordova-plugin-ip-mac-address

    DownloadsWeekly Downloads

    16

    Version

    1.0.1

    License

    ISC

    Last publish

    Collaborators

    • suryaadabala