cordova-plugin-inappbrowser
cordova-plugin-inappbrowser copied to clipboard
GH-706 android: Allow permissions requests
Platforms affected
Android
Motivation and Context
Android in-app-browser does not allow in-browser camera/webcamera usage (permission denied) With this change, camera usage will be allowed as long as the app has permissions. Issue GH-706: https://github.com/apache/cordova-plugin-inappbrowser/issues/706
Description
Allows permissions requests from ChromeWebView
Testing
IAB would show permissions denied error in website https://webcam-test.com/ After the changes it successfuly works (requires app's camera permission to be enabled)
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)
- [x] I've updated the documentation if necessary