Enable location services for Android if user chose Never option

后端 未结 4 1020
滥情空心
滥情空心 2021-02-19 18:56

Is there any way to allow location services again for an app (or at least show the dialog) if the user previously chose the option Never?

4条回答
  •  醉梦人生
    2021-02-19 19:18

    You need to manually allow the permission on that specific app to reset the request permission dialog.

    Open the App info (either by dragging from app launcher, or Settings - Apps - [app name])

    Select Permissions

    Enable the permission you denied with "never ask again"

    (Optional) Disable it again from here; note that by this time, your app will request the permission again when needed.

    Link: https://android.stackexchange.com/questions/125939/reset-the-request-permission-dialog-on-marshmallow

提交回复
热议问题