GameAnalytics v2 SDK automatically accesses the IDFA?

It seems that the Corona plugin for GA accesses the IDFA on iOS automatically, without us asking it to, even though we supplied an alternative ID.

local ga = require('plugin.gameanalytics\_v2') local clientID = system.getInfo("iosIdentifierForVendor") ga.configureUserId(clientID) ga.initialize {   gameKey = gameKey, gameSecret = secretKey }

When we submitted our app today, we were told:

Your app is using the Advertising Identifier (IDFA). You must either provide details about the IDFA usage or remove it from the app and submit your binary again.

Anyone else seeing this? Is this a problem with the plugin?

For now we’re sticking with the old 0.29 version of GameAnalytics plugin, which doesn’t have this problem.

Has anyone found a way to avoid this? (We don’t have corona enterprise).

GameAnalytics maintains their own plugin. I don’t know if they are monitoring our forums or not, but you probably should consider asking this through their support channels.

Rob

Hi Rob

Yes, did that too. Wanted to let Corona people know about this too, and see if anyone else was seeing the same behaviour. 

It appears that the following call works on Apple devices, but is not documented:

system.getInfo("iosIdentifierForVendor")

We’ve been using this for a couple of years as the id for our analytics, so in order to keep tracking users smoothly over the transition to v2, we’d rather continue using this, rather than the documented:

system.getInfo("deviceID")

I suppose the first one is not cross-platform, so it makes sense to push people towards the second one. 

Can we expect the first one to remain in future Corona builds?

Thanks

Mat

We have no plans to remove it. Apple may require us to do so at some point.

Rob