3.2.1
- Fixed compile issue w/ 7.0.1 build of Amplitude-iOS
- Added mechanism to allow idfa and location services to be configured in Amplitude-iOS.
If IDFA or Location Services are needed, use SEGAmplitudeIntegrationFactory's new instanceWithSetupBlock method.
Example:
SEGAmplitudeIntegrationFactory *factory = [SEGAmplitudeIntegrationFactory instanceWithSetupBlock:^{
amplitude.adSupportBlock = ^{
return [[ASIdentifierManager sharedManager] advertisingIdentifier];
};
amplitude.locationInfoBlock = ^{
return @{
@"lat" : @37.7,
@"lng" : @122.4
};
};
}];
...
[analyticsConfiguration use:factory];