Skip to content
New issue

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

Crash on Android Q #18

Open
chrjsorg opened this issue May 21, 2019 · 1 comment
Open

Crash on Android Q #18

chrjsorg opened this issue May 21, 2019 · 1 comment

Comments

@chrjsorg
Copy link

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.

@AliAzaz
Copy link

AliAzaz commented Oct 7, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants