Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS: TestFlight beta app get new advertising identifier in each run

I am getting new advertising identifier each time I run a beta app uploaded to TestFlight in iTunesConnect. Is it a normal behaviour? Will it happen for AppStore app too? I am using the Advertising Identifier to identify users and his credentials in some context. But if it changes in every run, the user have to activate in each run.

[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];

In testflight build, in 3 runs, I got, e.g.

ID: 3E841B61-B007-44D3-B654-6C857122301E
ID: 2EC3682A-D162-4CE6-B07A-8B73282456A4
ID: 1D8513EA-0757-4E5F-8CEE-B6C4F782E966

This does not happen in debug or ad hoc builds. Can anybody shed some light on it?

Thanks in advance.

like image 986
karim Avatar asked Oct 30 '14 09:10

karim


People also ask

How do I find my iOS advertising identifier?

Find My Apple Device ID The purpose of the app is to display a device's IDFA, so all you have to do is install and open the app to see your IDFA. In order to reset your IDFA, go to Settings, navigate to Privacy, and select Advertising. On the Advertising page, you'll be able to reset your IDFA.

Can you use TestFlight without Apple ID?

All of your testers must have an Apple ID since without one they cannot download and install the TestFlight app from the App Store, but you don't need to know what it is. You can add any email address as an external TestFlight tester. The email doesn't have to be an Apple ID.

What is advertising identifier on Iphone?

The advertisingIdentifier is an alphanumeric string that's unique to each device, and which you only use for advertising. Use this string for frequency capping, attribution, conversion events, estimating the number of unique users, advertising fraud detection, and debugging.

How do I get a TestFlight invitation code?

If you open that email via computer, and then click "Start testing" it will show you another page which have the instruction of how to install the app. and that invitation code is on the last line. those All upper case letters is the code.


1 Answers

It is by design. It started happening in 2014. It will only happen in a TestFlight app, not in a production app in the app store. It's unfortunate--it makes it hard to test some apps realistically with actual beta testers.

In the WWDC 2014 talk, "User Privacy in iOS and OS X," by David Stites and Katie Skinner, they mention this. (This link only works in Safari.) You can see it in slide #8 of their slide deck.

In this transcript of the talk, you'll find: "Also this year, for TestFlight apps the advertising identifier will be different each time you call the API."

like image 131
Brian Morearty Avatar answered Sep 21 '22 12:09

Brian Morearty