rxz99 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Allow IDFA usage in GoogleAnalytics iOS SDK by use of pod subspcs #706

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Name of related component: Core Reporting API

Request summary:
If you wish to use the Google Analytics iOS SDK with IDFA usage turned on, you 
currently have to follow the awkward process of updating the `GoogleAnalytics` 
pod, the downloading the SDK manually, extracting the `libAdIDAccess.a` file 
and linking with the project.  This also means that there is risk of linking 
with an older libAdIDAccess.a file that is not fully compatible with the main 
SDK version.

This could instead be handle automatically using CocoaPod subspecs: 
https://guides.cocoapods.org/syntax/podspec.html#default_subspecs

So developers can do:

pod 'GoogleAnalytics`
pod 'GoogleAnalytics/IDFA`

in their podfile to enable linking with the included libAdIDAccess.a.  This 
subspec can set to not be included by default so that IDFA access is explicitly 
opt-in.

Original issue reported on code.google.com by james.va...@gmail.com on 24 Jul 2015 at 4:15