levelx.me

  • Home
  • Design
    • 3D
    • Art
    • Freebies
    • Inspiration
    • Interior Design
    • Photography
    • Tutorials
    • Typography
  • Technology
    • Benchmarks
    • How To
    • News
    • Programming
    • Reviews
    • SAP BASIS
  • Lifestyle
    • Do it Yourself
    • Entertainment
    • Quotes
    • Self Improvement
    • Sports
  • Resources
    • Infographics
    • Themes
    • Tools
    • Wallpapers
  • ETC
    • places
    • Uncategorized
  • Android
    • How To
    • News
  • Apple
    • How To
    • News
  • Best UDID alternative (so far)

    You guys might have already got the news that Apple is now rejecting apps that access UDID. No comment about the decision, but as a developer I had to figure out solution as close to as orignal UDID. CFUUID could be an alternative but it has few issues. Mainly the UUID won’t be unique for device but unique in ‘space and time’. This means you have to create it and store it (locally + server) to identify the particular instance of the app.  But if user take a backup of this device, and restore on new device, he would have two devices with same UUID and you don’t want that. (for example if you want your app to work on a single device at a time)

    There are other temporary solutions (like MAC address), but no risk free solution yet. So I have come up with an idea, if somehow I can prevent the user from backing up the stored UUID, my app would be able to treat every restore as a new device (only one app against each UUID). Fortunately there is a way. All you have to do is to store your UUID in keychain and set attribute to
    kSecAttrAccessibleAlwaysThisDeviceOnly
     or similar so it won’t migrate to new device on backup/restore. I am sorry I don’t have any code to show you guys but I’ll soon add it here.
    This method solves many issues, EXCEPT the fact that you won’t be able to track the actual device, but you can identify each instance of your app (good for privacy, good for developers, bad for ad networks?).
    Another plus is that keychain service also allows you to share your keys across different apps (via kSecAttrAccessGroup)
    I am sure there might still be some issues with this approach, so I need your help to identify and address these issues. Please leave a comment here if you have any suggestion/issue

    You should read

    • Jailbreak iOS 4.2.1 using GreenPois0n
    • Winamp For Android – Available now
    • March 31st – World Backup Day
    • Western Digital Caviar Green 1Tb WD10EADS – Benchmark
    • Microsoft Courier – Digital Booklet “Journal”

    Posted by Ashar on: March 27th, 2012 | Posted in: Apple, How To, Programming

    One Response to “Best UDID alternative (so far)”

    Dave on April 18th, 2012 at 2:29 AM

    This might be exactly what I’m looking for. I was going to store a self generated UDID in the keychain until I learned that keychain data backups can be restored to another device. I didn’t realize you can prevent certain data items from doing that.

    I know it’s only been a few weeks, but has this solution worked? Do you have a public app that is using it?

    Leave a Reply


    Subscribe to Levelx

    Popular Posts

    • Nokia 5130 XpressMusic Unboxing & Review
    • Create a jigsaw puzzle in adobe illustrator
    • Famous Salvador Dali Paintings
    • Engine Start Sounds, Ringtones for Motorheads
    • Canon MP145 All in One Printer/Scanner/Copier
    • Kaghan Valley – Pakistan
    • Beauty of Azad Kashmir
    • Size of Internet and Its Growth Rate
    • Symfony 1.4 – Doctrine and Multiple Database Connections
    • I Am The Stig – Facebook Application

    Recent Comments

    • Loading...

    Top Posts

    • FORMULA 1 - 2009 Season. (28)
    • Fixing IE7 dropping PHP Sessions (25)
    • The Temples of Katas Raj (20)
    • Create a jigsaw puzzle in adobe illustrator (18)
    • M2N32 SLI-DLX WFI && RzR DeathADDER - - BURNT ! ! (17)
    • Windows 7 Theme - VEER II (17)
    • HTC Desire - Benchmark (17)
    • Home Decoration and Interior Design 2011 (17)
    • From Sand To Silicon: How A Intel CPU Is Built (16)
    • HTC Desire 2.10.405.2 OTA Update (16)

    Tags

    1TB android android 2.3 gingerbread android software apple art asus benchmark desire desktop eclair facebook Formula 1 froyo Gaming gingerbread google hacking htc HTC Desire infographic internet ios iPad iphone Islam lahore Lifestyle mobile new year Nexus one Nokia nvidia pakistan photography php psp Review s60 smart phones symbian symfony typography wallpapers web 2.0

    levelx.me is proudly powered by WordPress | Theme Designed by AF8AB