amplitude / amplitude/Amplitude-Android
Amplitude tracking location once every app restart even if you disable location
- Vorherrschende Sprache
- Java
- Sterne
- 169
- Forks
- 87
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I enabled disableLocationListening.
Problem is in the initialization you poll the location when creating the device in initializeDeviceInfo() in AmplitudeClient.java
You can see it polls the location by putting a breakpoint in the
getMostRecentLocation in DeviceInfo.java
Below is my initialization of amplitude line
Amplitude.getInstance().initialize(application, BuildConfig.AMPLITUDE_TOKEN).disableLocationListening().enableForegroundTracking(application))
Pretty sure this change caused the issue
https://github.com/amplitude/Amplitude-Android/pull/117
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.