Skip to content

3.2.1

Compare
Choose a tag to compare
@bsneed bsneed released this 23 Sep 20:27
· 26 commits to master since this release
  • 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];