Easily handle runtime permissions in android
Permify is a wrapper library to simplify basic system permissions logic (Easily handle runtime permissions in android).
- Very short code.
- Can check multiple permissions at once.
- Light weight (4 KB).
- Open source and fully customizable.
First declare your permissions in the manifest. Example:
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Permify(activity) // initialization
Permify[Permission.CAMERA] // Boolean
Permify(activity) // initialization
Permify[Permission.CAMERA, Permission.READ_EXTERNAL_STORAGE, ....] // Boolean