Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 491 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 491 Bytes

phonegap-imeiplugin

Get The Real IMEI Number on Android Device

Install:

phonegap plugin add https://github.com/zho/phonegap-imeiplugin.git
-- OR --
cordova plugin add imeiplugin

Example Usage:

window.plugins.imeiplugin.getImei(callback,error);

function callback(imei) {
    console.log("My Android IMEI :" + imei);
}
function error(err) {
    console.log("Error Message": + err);
}

p.s: error function is (optional)