Skip to content

sideshowcoder/ShowMAC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ShowMAC Cordova Plugin

Since access to the UUID is deprecated under iOS there is the need to have a Unique identifier per device, one way is to use the MAC adress of the first interface.

Usage

  • Copy the ShowMAC.m and ShowMAC.h into your Xcode Project, probably the best place would be Plugins
  • Copy the JS file in your www directory and include it in your html to use it
  • call from JS (with jQuery) via
  $(document).bind('deviceready', function(){
    window.plugins.showmac.get( 
      function(m){
        console.log("Device MAC Address is" + mac);
      }
   );    
 });

About

Cordova (once PhoneGAP) plugin to access iOS MAC address

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published