BardRedStar opened a new pull request #186: URL: https://github.com/apache/cordova-plugin-media-capture/pull/186
Fix a bug with modal presentation style controller dismissing on iOS 13 and above. For now, only for audio capture controller. ### Platforms affected iOS 13 and above. ### Motivation and Context Apple added new feature for modals on iOS 13, they might be dismissed by swipe. Such behavior was not handled, so controller threw `CAPTURE_APPLICATION_BUSY`, on opening new modal. ### Description I added audio capture controller as adaptive controller delegate for itself and implemented the method to handle dismiss event. Then I dismiss the controller correctly, as by tap on the “Done” button. ### Testing I didn’t find any tests for this plugin. ### Checklist - [x] I've run the tests to see all new and existing tests pass - [x] I added automated test coverage as appropriate for this change - [x] Commit is prefixed with `(platform)` if this change only applies to one platform (e.g. `(android)`) - [x] 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/)) - [x] 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
