Geo Tracking
Geo Tracking Usage
Gravite and some of the ad networks included in AATKit will make use of location services if your app is authorized to do so and if your app allows AATKit and ad networks to use the geo location information, too. By default, usage of location information is disabled. Please note, that allowing the usage of geo location information for advertising may leverage your revenues.
If you want to give AATKit access to your geo data, please enable geo tracking with the AATKitConfigurationobject passed to AATKit’s initialization.
Enabling and disabling Geo Tracking
Configure AATKit like this:
AATKitConfiguration configuration = new AATKitConfiguration(this);
configuration.setUseGeoLocation(true);
AATKit.init(configuration);val configuration = AATKitConfiguration(this)
configuration.isUseGeoLocation = true
AATKit.init(configuration)Change Geo Tracking Setting
You can change this setting at runtime:
AATKitRuntimeConfiguration runtimeConfiguration = new AATKitRuntimeConfiguration();
runtimeConfiguration.setUseGeoLocation(true);
AATKit.reconfigure(runtimeConfiguration);val runtimeConfiguration = AATKitRuntimeConfiguration()
runtimeConfiguration.isUseGeoLocation = true
AATKit.reconfigure(runtimeConfiguration)Last updated