Simon
Simon

Reputation: 819

All ios devices have UDID?

Recently i just update my app and notice my database data and itunesconnect Sales and Trends report not matched! The report show my app got 24k of updates but in my database only captured 6k of udid, do you guys have any ideas whats wrong ? IOS no longer support UDID ?

below is my script to capture UDID:

-- (NSString *)getUDID {

return [UIDevice currentDevice].uniqueIdentifier;

}

Upvotes: 1

Views: 529

Answers (2)

hotpaw2
hotpaw2

Reputation: 70733

Many users keep and still update apps that they never use after the first day, or few days, of trying them out. They apparently don't delete apps from iTunes on their Mac or PC, and hit "Update All", including all those apps which they never run and/or in which they have no interest anymore.

It looks like only 25% of the customers who have downloaded and still update your app, actually still use it. Maybe even less, as a single active customer might have multiple devices, each with a unique UDID. Or perhaps that's the percentage that uses your app regularly (maybe they might run it for the first time after updating next week).

Upvotes: 2

Francesco
Francesco

Reputation: 1848

From the doc: uniqueIdentifier:

An alphanumeric string unique to each device based on various hardware details. (read-only) (Deprecated in iOS 5.0. Instead, create a unique identifier specific to your app.) Do not use the uniqueIdentifier property. To create a unique identifier specific to your app, you can call the CFUUIDCreate function to create a UUID, and write it to the defaults database using the NSUserDefaults class.

Upvotes: 2

Related Questions