Skip to content

Releases: pankaj89/PermissionHelper

Permission Helper 2.3

06 May 02:53
Compare
Choose a tag to compare
Remove jcenter related code

Permission Helper 2.2

02 Feb 14:23
Compare
Choose a tag to compare
Released new version 2.2

Permission Helper 2.1

01 Oct 11:21
Compare
Choose a tag to compare

Added hasPermission()

If your project's compileSdkVersion is less then 28 then use

compile 'com.master.android:permissionhelper:2.0'

else you faced

error: resource android:attr/dialogCornerRadius not found. while syncing

Permission Helper 2.0

01 Oct 11:18
Compare
Choose a tag to compare

Adds support to kotlin

permissionHelper = PermissionHelper(this, arrayOf(Manifest.permission.CAMERA, Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.CALL_PHONE), 100)
permissionHelper?.denied {
    if (it) {
        Log.d(TAG, "Permission denied by system")
        permissionHelper?.openAppDetailsActivity()
    } else {
        Log.d(TAG, "Permission denied")
    }
}

Request all permission

permissionHelper?.requestAll {
    Log.d(TAG, "All permission granted")
}