Android-Permissions icon indicating copy to clipboard operation
Android-Permissions copied to clipboard

Crash on Android Q

Open chrjsorg opened this issue 6 years ago • 1 comments

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.

chrjsorg avatar May 21 '19 11:05 chrjsorg

I checked on Pixel 3 and it's working fine. Kindly check it on newly Android 10 release and let us know.

AliAzaz avatar Oct 07 '19 07:10 AliAzaz