[ 
https://issues.apache.org/jira/browse/CB-9963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432832#comment-15432832
 ] 

Zam Huang commented on CB-9963:
-------------------------------

i would like to solve this issue, and i will add keychain to keep uuid unique 
even uninstall and reinstall.

i guess it should be same behavior like android or windows-phone always return 
same uuid.

can any committer assign issue to me?

> iOS uuid should remain even after uninstall
> -------------------------------------------
>
>                 Key: CB-9963
>                 URL: https://issues.apache.org/jira/browse/CB-9963
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Device
>         Environment: iOS
>            Reporter: Mike Murkovic
>              Labels: apple
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> The readme states that an iOS quirk is that it is using the 
> identifierForVendor, which remains immutable until every app by one vendor is 
> uninstalled. Typically I'd imagine developers are making one app - and so if 
> the single app gets uninstalled, they lose the uuid and it appears to be a 
> "new" device on reinstall.
> Instead, we should consider using the CFUUIDCreate to create a unique ID on 
> startup, and insert it into the SSKeyChain of the device. Then when an app is 
> installed, it should check to see if there already is a UUID in the key chain 
> before generating a new one. Example: 
> http://stackoverflow.com/questions/7273014/ios-unique-user-identifier/8677177#answer-8677177
> If the device is flashed or reinstalled, then I guess it will still be a 
> problem. I wish we could get a totally unique ID for that actual physical 
> device.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to