Page 1 of 1

App rejected by Apple for accessing getDeviceUniqueIdentifier in Phonegap Pushnotifications

Posted: Tue May 07, 2013 2:00 am
by steve5588065

I have submitted my app to Apple and had it rejected

Reason 'Use of getDeviceUniqueIdentifier in Pushnotifications.'
'Apps are not permitted to access the UDID and must not use the unique identifier method of UIDevice'

This code was added by Appery as part of creating the default localstorage item 'pushNotificationDeviceID'

It is used in _registerPushApperyDS as a Request Mapping

How can I resolve this so I can get my App approved

Regards
Steve


App rejected by Apple for accessing getDeviceUniqueIdentifier in Phonegap Pushnotifications

Posted: Tue May 07, 2013 4:10 am
by Igor

Hello.

Working on it.


App rejected by Apple for accessing getDeviceUniqueIdentifier in Phonegap Pushnotifications

Posted: Tue May 07, 2013 6:24 pm
by Sergey Kozyr

Hi.

If you have Mac with xCode installed you could export application to xCode project and edit sources. File "CordovaLibPlugins\PushNotification\PushNotification.m"
must be changed on line 208. Instead of
codeNSString* uuid = [[UIDevice currentDevice] uniqueIdentifier];/code
must be:
codeNSString* uuid = [[[UIDevice currentDevice] identifierForVendor] UUIDString];/code

We will fix this issue in next update.


App rejected by Apple for accessing getDeviceUniqueIdentifier in Phonegap Pushnotifications

Posted: Thu May 09, 2013 8:22 am
by nl twixx

Thanks, this is the solution.
No rejection from Apple anymore.
Dennis


App rejected by Apple for accessing getDeviceUniqueIdentifier in Phonegap Pushnotifications

Posted: Thu May 09, 2013 8:23 am
by nl twixx

Good work!!


App rejected by Apple for accessing getDeviceUniqueIdentifier in Phonegap Pushnotifications

Posted: Thu May 09, 2013 8:38 am
by steve5588065

Hi Sergey

That fixed it

Apple accepted it

Thanks

Regards
Steve


App rejected by Apple for accessing getDeviceUniqueIdentifier in Phonegap Pushnotifications

Posted: Thu May 09, 2013 3:10 pm
by maxkatz

Great! Can you send us a link to the app in the app store?


App rejected by Apple for accessing getDeviceUniqueIdentifier in Phonegap Pushnotifications

Posted: Fri May 24, 2013 1:16 pm
by Maryna Brodina

Hi, the bug is fixed.


App rejected by Apple for accessing getDeviceUniqueIdentifier in Phonegap Pushnotifications

Posted: Fri May 24, 2013 9:29 pm
by steve5588065

Hi Marina

Good news
Thank you

Steve