You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of MutableMultiplePermissionsState.shouldShowRationale does not consider cases where one or more permissions are Denied(shouldShowRationale=false). This causes issues in statements such as
val permissions = rememberMultiplePermissionsState(listOf(ACCESS_FINE_LOCATION, ACCESS_BACKGROUND_LOCATION))
when {
// Granted
permissions.allPermissionsGranted ->Unit,
// Denied, but I can ask the user
permissions.shouldShowRationale ->// ERROR: Does not trigger!
permissions.launchMultiplePermissionRequest()
// Denied and I may not ask the user.else->Unit
}