Enable location services for Android if user chose Never option

后端 未结 4 1857
故里飘歌
故里飘歌 2021-02-19 18:44

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:07

    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

提交回复
热议问题