This is a migrated thread and some comments may be shown as answers.

Apple Publishing problems, UDID replacement

3 Answers 46 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Augusto
Top achievements
Rank 1
Augusto asked on 20 May 2013, 12:34 PM
Hi,

I 've tried to publish my project using Icenium Mist Publish Upload, i'm using Cordova 2.4.
And i get this message from Apple:

Non-public API usage:

  • Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6.
I read about and what i found is that uuid was deprecated on ios 5.0+ ... 
is there any solution, or other unique identifier that i could use ?

Thks
 



3 Answers, 1 is accepted

Sort by
0
Augusto
Top achievements
Rank 1
answered on 20 May 2013, 01:18 PM
For the time, i 'll try this solution... lets see 

message._uid = window.localStorage.getItem("uKuni");
if( message._uid == undefined ){
        window.localStorage.clear();
        var t = Math.round( (new Date().getTime() * Math.random()) );
        window.localStorage.setItem("uKuni",  t);
        message._uid = t;
}
0
Steve
Telerik team
answered on 20 May 2013, 02:36 PM
Hi Augusto,

We don't use UDID directly but we have seen older versions of the PushPlugin to cause such problems (see this forum thread). Make sure that you're targeting latest version if you're using this plug-in.

Greetings,
Steve
the Telerik team

Don't miss the Icenium May Release Keynote - sign up now!
Share feedback and vote for features on our Feedback Portal.
0
Augusto
Top achievements
Rank 1
answered on 20 May 2013, 03:21 PM
Hi Steve,

I did this way  like i said before, and disabled the push Plugin...
and it works, its now 'In Review'!

Thks
Tags
General Discussion
Asked by
Augusto
Top achievements
Rank 1
Answers by
Augusto
Top achievements
Rank 1
Steve
Telerik team
Share this question
or