Android-Permissions
Android-Permissions copied to clipboard
Crash on Android Q
Hey there,
I recently updated my Test Pixel 3 to Android Q Beta 3 and I'm requesting the Location (Fine) Permission within my app.
Unfortunately the process crashes after I accept the permission. Within the logs logs I can't really see the cause: https://gist.github.com/chrjsorg/334223e49aff5ccf1ff129657d7aff1f
if (!BuildConfig.DEBUG) Permissions.disableLogging()
Permissions.check(this, Array(1) { permission },
getString(rationale),
Permissions.Options().setRationaleDialogTitle("string")
.setSettingsDialogTitle("string2")
.setSettingsDialogMessage("string3")
.setSettingsText("string3"),
object : PermissionHandler() {
override fun onDenied(context: Context?, deniedPermissions: ArrayList<String>?) {
}
override fun onGranted() {
grantedCallback()
}
})
Do you have any idea? I'd be happy to support you with more informations.
I checked on Pixel 3 and it's working fine. Kindly check it on newly Android 10 release and let us know.