Skip to content

Instantly share code, notes, and snippets.

@FarazPatankar
Created April 30, 2020 00:58
Show Gist options
  • Save FarazPatankar/660ca8b3e1bc16af84810394b65ad766 to your computer and use it in GitHub Desktop.
Save FarazPatankar/660ca8b3e1bc16af84810394b65ad766 to your computer and use it in GitHub Desktop.
Removing unused permissions from the manifest
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
<!-- You need this line to use the tools namespace -->
xmlns:tools="http://schemas.android.com/tools"
package="YOUR_PACKAGE_NAME"
>
<uses-permission tools:node="remove" android:name="android.permission.ACCESS_COARSE_LOCATION"/>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment