We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
//PermissionX.init(this) // .permissions(Manifest.permission.SYSTEM_ALERT_WINDOW) // .onExplainRequestReason { scope, deniedList -> // scope.showRequestReasonDialog(deniedList, "悬浮窗权限", "确定", "取消") // } // .onForwardToSettings { scope, deniedList -> // scope.showForwardToSettingsDialog(deniedList, "悬浮窗权限,去设置", "确定", "取消") // } // .request { allGranted, _, _ -> // binding.swDrawWindow.isChecked = allGranted // checkPermission() // }
使用悬浮窗拦截时: 操作:第1次到设置页面不操作返回-> 第2次到设置 页面操作返回 -> 再点击其它标准权限拦截弹窗时崩溃
The text was updated successfully, but these errors were encountered:
No branches or pull requests
//PermissionX.init(this)
// .permissions(Manifest.permission.SYSTEM_ALERT_WINDOW)
// .onExplainRequestReason { scope, deniedList ->
// scope.showRequestReasonDialog(deniedList, "悬浮窗权限", "确定", "取消")
// }
// .onForwardToSettings { scope, deniedList ->
// scope.showForwardToSettingsDialog(deniedList, "悬浮窗权限,去设置", "确定", "取消")
// }
// .request { allGranted, _, _ ->
// binding.swDrawWindow.isChecked = allGranted
// checkPermission()
// }
使用悬浮窗拦截时:
操作:第1次到设置页面不操作返回-> 第2次到设置 页面操作返回 -> 再点击其它标准权限拦截弹窗时崩溃
The text was updated successfully, but these errors were encountered: