Paldom / UniqueDeviceID

PhoneGap / Cordova unique device id (UUID) plugin for Android, iOS and Windows Phone 8. Remains the same after app uninstall.
MIT License
169 stars 96 forks source link

what's the difference between by phonegap itself "device.uuid" #5

Closed bau720123 closed 9 years ago

bau720123 commented 9 years ago

the plugin is work perfect so I just want to ask what's the difference between by phonegap itself "device.uuid" according to this https://github.com/apache/cordova-plugin-device/blob/c6e23d8a61793c263443794d66d40723b4d04377/doc/index.md

for example my ASUS Zenfone A500KL phonegap itself device.uuid = > 9ea488bd-..........-03361 your plugin's uuid = > 9ea488bd-..........-20328

bau720123 commented 9 years ago

is it... the "device.uuid" maybe changes after uninstall and reinstall but your uuid will all the same (never change...)

right ?

Paldom commented 9 years ago

cordova-plugin-device uses AndroidID which has some problem (not always unique). This plugin uses a combo of android id, device id and sim id.

bau720123 commented 9 years ago

got it thanks @Paldom