-
Notifications
You must be signed in to change notification settings - Fork 586
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
source: CameraSource only supports Camera on PWA #493
Comments
$ npx cap doctor Dependencies: @capacitor/cli: 1.0.0-alpha.35 @capacitor/core: 1.0.0-alpha.35 @capacitor/android: 1.0.0-alpha.35 @capacitor/ios: 1.0.0-alpha.35 Capacitor iOS: 1.0.0-alpha.34 (node:2681) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): Platform electron is not valid. |
Yea that feature isn't implemented yet on the web |
@mlynch That explains. Thanks Max. |
Reopening to keep track of missing feature |
anyone start working on this already? |
Edited to also cover |
Looking forward to this, but the Webcam piece is working great! |
It would be great to have an update regarding this issue/request. |
Hi @Bktechmasala, Thank you anyway. |
A person that I am working with is also requesting. Any information regarding where this is on the backlog would be helpful so I can communicate that information back to them. |
Yea right now it only supports clicking image from camera. Regardless of sourcetype . For work around I have created a popup and for capturing images i'm using capacitor and for choosing image i'm using normal input type file upload |
@mlynch will ionic-team/capacitor#1856 solve this problem? if so, when will it merge into it? |
I hope this will solve the problem and that it will be merge soon, for me it's more important on the web to have a file selector rather than a webcam. In my case users take pictures outdoors with their smartphone so if they put pictures from a computer it will be from a file selector. |
Hello all. Thanks @mlynch I can see all the work for input selector on camera, but I have no idea how to integrate it into my project. So far I use the HTML5 option. |
I am stii having same issue any updates on this ? |
I would be interested in hearing about an update with this as well |
2.3.0 allows |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out. |
source: CameraSource.Prompt and CameraSource.Photos have no effect on browser. It always opens my webcam instead of poping up the actionsheet or image picker. I tried the example https://github.com/ionic-team/capacitor/tree/master/example/src/pages/camera. All buttons opened my webcam directly. The plugin worked on ios&android simulator as expected.
$ ionic info
cli packages: (/usr/local/lib/node_modules)
global packages:
local packages:
System:
Environment Variables:
Misc:
The text was updated successfully, but these errors were encountered: