QuickPermissions-Kotlin icon indicating copy to clipboard operation
QuickPermissions-Kotlin copied to clipboard

The most easiest way to handle Android Runtime Permissions in Kotlin

Results 18 QuickPermissions-Kotlin issues
Sort by recently updated
recently updated
newest added

After adding the new HIlt lib I had to remove this nice library because HIlt doesn't support support.Fragment but androidx Fragment only. I tracked the problem to be when checking...

Running this library on an emulator, Nexus 5x API 28. When default permission denied/rationale dialog is showing, the buttons are too close to each other, please see the screenshot: ![image](https://user-images.githubusercontent.com/8896931/73242129-b54b1b00-41ac-11ea-93b8-5f63c084dd24.png)...

Can you please explain how this library compares to the [PermissionDispatcher](https://github.com/permissions-dispatcher/PermissionsDispatcher)?

Method ```      private fun permissionsPermanentlyDenied (req: QuickPermissionsRequest) {          // this will be permanently          // denied. Handle it your way.          AlertDialog.Builder (this)              .setTitle ("Permissions Denied")              .setMessage (getString (R.string.permanentlyDeniedMessage_never))              .setPositiveButton ("App Settings")...

Is it possible to call the callback function if all permissions are received for the first time? To thank the user

enhancement

Add support for `Activity` as well as `AppCompatActivity`.

enhancement

Fatal Exception: java.lang.IllegalStateException: Found android.app.ContextImpl : No support from any classes other than AppCompatActivity/Fragment at com.livinglifetechway.quickpermissions_kotlin.PermissionsManagerKt.runWithPermissionsHandler(PermissionsManager.kt:152) at com.livinglifetechway.quickpermissions_kotlin.PermissionsManagerKt.runWithPermissions(PermissionsManager.kt:23) at com.bluecrunch.base.permissions_checking.LocationPermissionManager.askForForegroundLocationPermission(LocationPermissionManager.kt:32) at com.bluecrunch.base.permissions_checking.LocationPermissionManager.requestLocationPermissionFor(LocationPermissionManager.kt:22) at com.bluecrunch.microfinance.ui.maps.google.presentation.GoogleMapActivity.handlePermissionNotGranted(GoogleMapActivity.java:315) at com.bluecrunch.microfinance.ui.maps.google.presentation.GoogleMapActivity.handleLocationResult(GoogleMapActivity.java:286) at com.bluecrunch.microfinance.ui.maps.google.presentation.GoogleMapActivity.subscribeToLiveData$lambda-10(GoogleMapActivity.java:172) at com.bluecrunch.base.BaseActivity$$InternalSyntheticLambda$0$ff4710b7aabc990dfac0223896b0686b79b5241f4721d0e59926a80db7746231$0.onChanged$bridge(BaseActivity.java:53)...

I removed Anko Dependency since it was hosted on JCenter and JCenter has shutdown which affected downloading `QuickPermissions` lib