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

UUID empty on first run on ios9, true device #18

Closed monxas closed 8 years ago

monxas commented 8 years ago

When I first run this code (simplified for reading purposes) after an install on true device, I get a blank uuid. On second run it does work though.

Iphone 5s ios9 on my side.

testuuid.txt

bau720123 commented 8 years ago

hi @monxas can't understand what your true mean please use the simple code to see if everytime will get the uuid

// Get UUID
window.plugins.uniqueDeviceID.get(success, fail);
Success callback function:

function success(uuid)
{
    alert(uuid);
};

if yes,I think it is the "testuuid.txt" problem

kostia-official commented 8 years ago

+1 same issue on iPhone 6 (9.2) and iPhone 5s (8.3)