UniqueDeviceID

PhoneGap / Cordova unique device id (UUID) plugin for Android and iOS. Remains the same after app uninstall.
guykileveryone1.0.01
platforms: android,ios
$ cordova plugin add com.guykileveryone.UniqueDeviceID

This is a slightly modified version to just return the deviceID from the TelephonyManager

UniqueDeviceID

PhoneGap / Cordova unique device id (UUID) plugin for Android and iOS. Remains the same after app uninstall. On iOS it changes when user reset advertisingIdentifier.

Installation:

cordova plugin add https://github.com/Paldom/UniqueDeviceID.git or phonegap local plugin add https://github.com/Paldom/UniqueDeviceID.git

Usage:

// Get UUID
window.plugins.uniqueDeviceID.get(success, fail);

Success callback function:

function success(uuid)
{
    console.log(uuid);
};