Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 512A9200B79 for ; Wed, 24 Aug 2016 02:05:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4F98B160ABF; Wed, 24 Aug 2016 00:05:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 93392160AAD for ; Wed, 24 Aug 2016 02:05:21 +0200 (CEST) Received: (qmail 31225 invoked by uid 500); 24 Aug 2016 00:05:20 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 31214 invoked by uid 99); 24 Aug 2016 00:05:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2016 00:05:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 79BA12C0152 for ; Wed, 24 Aug 2016 00:05:20 +0000 (UTC) Date: Wed, 24 Aug 2016 00:05:20 +0000 (UTC) From: "Jesse MacFadyen (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-9963) iOS uuid should remain even after uninstall MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 24 Aug 2016 00:05:22 -0000 [ https://issues.apache.org/jira/browse/CB-9963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15433894#comment-15433894 ] Jesse MacFadyen commented on CB-9963: ------------------------------------- Is it possible to store info in a device's keychain even after your app (all your apps) is uninstalled? Personally I think this is an antipattern, and you should avoid depending on knowing any particular device. There was/is a reason Apple decided to NOT allow apps to use the real device uuid, and you should probably respect it. > 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 > Security Level: Public(Anyone can view this level - this is the default.) > Components: Plugin Device > Environment: iOS > Reporter: Mike Murkovic > Assignee: LightZam > 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: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org