Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera access for WebView in Android? #359

Closed
adickenscheidt opened this issue Sep 26, 2018 · 3 comments
Closed

Camera access for WebView in Android? #359

adickenscheidt opened this issue Sep 26, 2018 · 3 comments

Comments

@adickenscheidt
Copy link

I'm trying to get the camera access to work in Android. I'm loading my app into the WebView from the persisted files (which all works), but when I want to use camera access, I don't get the prompt and can't do anything. It just shows a pixelated play button symbol. I added the neccesary permissions to the manifest.xml.

If you want to test it, you can use this site as an example: https://davidwalsh.name/demo/camera.php

Am I missing something?

Thanks in advance!

@KojiNakamaru
Copy link
Member

The plugin on the master branch won't grant the camera access when it is requested. I've put an experimental implementation to allow it in #360, so could you please give a try?

@adickenscheidt
Copy link
Author

Hi @KojiNakamaru

Thank you very much, your solution worked perfectly!

@KojiNakamaru
Copy link
Member

:-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants