-
Notifications
You must be signed in to change notification settings - Fork 128
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
Using camera feature in mobile responsive way is not working #232
Comments
Yes, based on whether the mobile device supports using Camera, the camera option may not appear. Chances are you're using iOS? This is the const supports = !!(
window.navigator.mediaDevices &&
window.navigator.mediaDevices.enumerateDevices &&
!/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)
); |
It seems like it's hardcoded to make sure mobile devices don't show the camera option, probably because of the formerly poor support of |
However, most mobile devices support clicking a photo from the camera using the Local (file upload) service. |
Thanks for your quick response @AnandChowdhary |
My webiste uses uppload plugin for editing profile pictures. The feature i m working on has to be compatible with both web and mobile view,However for webiste it works fantastic, but when we switch to mobile the camera option disappears. Hope to listen from you soon on this. |
Yes it does. |
I have integrated uppload plugin in the React webosite ,it works fine for all the types of services including camera.
But when I try to upload image using camera option in mobile for the same site, the camera option does not shows up.
The text was updated successfully, but these errors were encountered: