用该插件可以获取:
https://github.com/mohamed-salah/MacAddress/tree/6869bad83906a760cb81bdc5e3c349e197cd215d#
添加插件:cordova plugin add https://github.com/mohamed-salah/MacAddress.git
用法:
window.MacAddress.getMacAddress(
function(macAddress) {alert(macAddress);},function(fail) {alert(fail);}
);