Excluding geo from the list of dependencies
Geo features were added to a separate dependency: io.appmetrica.analytics:analytics-location
. It contains a dependency on com.google.android.gms:play-services-location:19.0.1
used to get locations. The io.appmetrica.analytics:analytics-location
library version should correspond to the io.appmetrica.analytics:analytics
library version.
If you need to disable geo, for example, for certain app categories to meet Google Play policies, exclude the module from the list of dependencies:
build.gradle.kts
build.gradle
configurations.configureEach {
exclude(group = "io.appmetrica.analytics", module = "analytics-location")
}
configurations.configureEach {
exclude group: 'io.appmetrica.analytics', module: 'analytics-location'
}
If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.