简体   繁体   中英

Instabug: Disable user location tracking

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM