google-analytics-plugin
google-analytics-plugin copied to clipboard
IDFA rejection when submitting app to Apple
We are using [email protected] and @ionic-devs/[email protected] When submitting our app to the Apple Store, it is getting rejected due to the following error:
Your app is using the Advertising Identifier (IDFA). You must either provide details about the IDFA usuage or remove it from the app and submit your binary again.
I see this issue is referenced in https://github.com/danwilson/google-analytics-plugin/issues/218 but the only resolutions to this issue are to either add build hooks, edit the file manually before loading to XCode(not a solution for automatic CI builds), use a forked repository that removed those libraries or tell Apple that I will limit advertising even tho i never enable the IDFA for google analytics.
Are these the only solutions to this problem? Is there not something that I can add to the config.xml file to inform this plugin to not include these libraries? Perhaps something as simple as
<plugin name="cordova-plugin-google-analytics" spec="^1.8.3">
<variable name="DISABLE_ADS" value="true" />
</plugin>
@jeremy-dobler This looks like a duplicate of issue #218.
There's some work-arounds there if you are still having issues. Some people have forked the repo and removed the reference to ad support. Others have written gulp scrips or pre/post build hooks to remove the relevant lines from the platform files.