GitToTheHub opened a new pull request, #1400: URL: https://github.com/apache/cordova-docs/pull/1400
### Platforms affected Android ### Motivation and Context It was not documented, that grantResults can be empty when the permissions request interaction with the user was interrupted and that `onRequestPermissionResult` is a method from Android. - Mention that it is a forwarded Android method - Add Android documentation link for onRequestPermissionsResult - Handle and document `grandResult.length == 0`, which can occur, if the request interaction was interrupted - Document code in `onRequestPermissionResult` and small refactoring I changed this in `dev`, `12.x-2025.01`, `12.x`, `11.x` ### Testing <!-- Please describe in detail how you tested your changes. --> ### Checklist - [ ] I've run the tests to see all new and existing tests pass - [ ] I added automated test coverage as appropriate for this change - [ ] Commit is prefixed with `(platform)` if this change only applies to one platform (e.g. `(android)`) - [ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct [keyword to close issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/)) - [ ] I've updated the documentation if necessary -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
