View on GitHub

M-permissions-checker

Download this project as a .zip file Download this project as a tar.gz file

m-permissions-checker

Android Arsenal

With this tiny script, you can check whether you have to handle your app permission or not in Android M.

What is app permissions?

Dive into Android Developers.

Install

Just clone this repository or download the python file.

Usage

Only you have to do is just executing below command on your root app directory.

$ cd <root your app>
$ python permissions_checker.py

> Searching file: /Users/hoge/test/data/AndroidManifest.xml
> Unfortunately, you have to handle these permissions in MNC.
> android.permission.READ_CALENDAR
> android.permission.WRITE_CALENDAR
> android.permission.CAMERA

Of course this script excludes build output directory like build.

Caution

This script doesn't check custom permission's stuff. So please check them by your hand.

Support

Python 2.7.

Contribute

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request