Cordova plugin for retrieving IMEI of the device.
cordova plugin add cordova-plugin-android-imei
The plugin uses the getDeviceId method of the TelephonyManager instance to retrieve the IMEI.
cordova.plugins.IMEI(function (err, imei) {
console.log('imei', imei)
})