Instabug: Disable user location tracking

139 views Asked by At

My team uses the Instabug APK on Android (and iOS) and we'd like to disable user location tracking since we don't need it. I can't find anywhere how to do so.

How does Instabug even track the user's location to begin with? Our app doesn't have any location permissions.

1

There are 1 answers

2
ocos On

Libraries add automatically the permissions they need. Final manifest file is a merge of your app's manifest file and all libraries'.

You can check the merged manifest by using Android Studio > AndroidManifest.xml > Merged Manifest tab

or

ANDROID_SDK_PATH/build-tools/28.0.3/aapt d permissions yourApp.apk

You can remove the location permission by adding tools:node="remove".

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" tools:node="remove" />

https://developer.android.com/studio/build/manage-manifests