Skip to content

Camera plugin doesn't work in Browser #403

@dudeofawesome

Description

@dudeofawesome

The Camera plugin claims support for the Browser platform in the documentation, but when I attempt to use it in a browser (Chrome v52, OS X 10.11.5) it prints this to console

Native: tried calling Camera.getPicture, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
navigator

It works just fine when I build and run on an Android phone. I'm just trying to get media from the gallery on phones, and from the file system in browser.

Is this just a mistake in documentation, or an actual bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions