android permission util for kotlin coroutines
in your activity for single permission
val isGranted: Boolean = requestPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE)
or a number of permissions
val granted : BooleanArray = requestPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE
, Manifest.permission.READ_PHONE_STATE)
Apache License Version 2.0