Skip to content

Camera access for WebView in Android? #359

Closed

Description

@wilkesoftware

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!

Activity

  1. KojiNakamaru commented on Sep 27, 2018

    @KojiNakamaru
    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?

  2. wilkesoftware commented on Sep 27, 2018

    @wilkesoftware
    Author

    Hi @KojiNakamaru

    Thank you very much, your solution worked perfectly!

  3. KojiNakamaru commented on Sep 28, 2018

    @KojiNakamaru
    Member

    :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions