Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ios push notification and IDFA issue

In my ios app I've used

 uuid = [[ASIdentifierManager sharedManager] advertisingIdentifier]

as udid for my push notification.

Today when I tried to publish my app, itunes asks me:

This app uses the Advertising Identifier to (select all that apply):

  1. Serve advertisements within the app.
  2. Attribute this app installation to a previously served advertisement.
  3. Attribute an action taken within this app to a previously served advertisement.

I use the uuid only for push notification. which of the 3 options should I choose?

Thanks in advance.

like image 977
ottorottok Avatar asked Aug 29 '26 10:08

ottorottok


1 Answers

[[UIDevice currentDevice] identifierForVendor]

Is the better choice. You offer one single identifier for a device, even if the settings are reset.

The value of this property is the same for apps that come from the same vendor running on the same device. A different value is returned for apps on the same device that come from different vendors, and for apps on different devices regardless of vendor.UIDevice#identifierForVendor

For more explanation, heres a good summary: iOS6 UDID - What advantages does identifierForVendor have over identifierForAdvertising?

So, in case you do not use the advertisingIdentifier at all for advertising, you shouldn't make use of this => unfortunately, your question regarding the 3 approaches is obsolete.

like image 84
Lepidopteron Avatar answered Aug 31 '26 02:08

Lepidopteron



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!