Permissionsdispatcher: Is it possible to customise/change the permission flow?

Created on 29 Jun 2017  路  3Comments  路  Source: permissions-dispatcher/PermissionsDispatcher

I want to show the rationale after clicking Deny for the first time. After the Rationale is displayed, now if the user clicks on "Retry" then the permission is displayed once again(with the don't ask again checkbox).

inquiry

Most helpful comment

Thanks for taking the time to respond! I will rethink the permissions flow.
(P.S: You guys have done a superb job with the library!)

All 3 comments

We are following the platform's Runtime Permission flow, which doesn't allow for customization of the system dialog boxes per se. However, you can implement your own logic into a @OnPermissionDenied method, showing a dialog as necessary for your use case. The "Retry" button of that dialog would then be connected to calling the permission-protected method again.

@rohangoqii as @aurae explained we follow the official flow which is explained in Android developers and also you can show a rationale related UI in OnPermissionDenied easily by your side.

Thanks for taking the time to respond! I will rethink the permissions flow.
(P.S: You guys have done a superb job with the library!)

Was this page helpful?
0 / 5 - 0 ratings