Android onRequestPermissionsResult


I want to add some code in the activity’s callback onRequestPermissionsResult, How can I achieve this?


You can’t currently, but in the current sprint we have a task to review how we work with Android permissions. It might result in a new API that could potentially allow you to hook in to permission requests and response.

What do you need in your particular case?


Right now I have to check the WRITE_EXTERNAL_STORAGE permission,If hasn’t,request it, if user check the “never show” and press “refuse”, then app need to jump to the app’s setting page.