Android 14 Photo Picker Camera Tile Removed From Google Chrome
Asked Answered
B

2

8

Attempting to upload photos on a website using chrome on Android 14. There is no longer an option to use camera to take photo and upload. Only option is to choose photo from album. This issue only exists on Android 14 Chrome to my knowledge. Edge, Firefox, iOS, and Android 13 Chrome still have the option to use camera in photo picker.

Android 14 Chrome on the left and Android 13 Chrome on the right Android 14 Chrome on the left and Android 13 Chrome on the right

I have tried suggestions here: https://support.google.com/android/answer/7680439?hl=en .

It is not device specific. I ran tests on Android 14 and 13 devices from Samsung Galaxy, Google Pixel, and iPhone. Issue exists on any Android 14 device and only in Chrome.

I found a way to force the camera open using capture attribute on the input tag, but this is not the ideal circumstance. In the instance of protecting proprietary data, I have attached a photo from BrowserStack of Android 14 Chrome on the left and Android 13 Chrome on the right. Tested on several devices with different versions of Android and Chrome. I have not found any troubleshooting steps that change this. Camera tile has been removed and there appears to be no way to get to it. Please advise.

Bittersweet answered 24/1 at 14:19 Comment(1)
I'm having the same issue with a user's Fold 4. However, older Android user devices seem to be fine. I don't want to force camera use so I am currently requiring the user to snap a picture then upload separately.Plage
H
5

Have a look at the answer in Chrome on Android 14 does not show the option to open the camera when uploading an image

Possible workaround is to add another file type to the accept attribute, e.g. <input type="file" accept="image/*,text/plain">. This will make both the camera and the existing file picker to show. Then refuse any file that is not an image post file upload.

Hygroscope answered 6/2 at 14:26 Comment(1)
Note that this workaround will give you a file picker though, not the image gallery as used to be the case.Mneme
B
1

I fixed this problem, updating my code to these options.

To get from file explorer:

<input type="file" accept="image/jpg,image/jpeg"/>

To get from camera picker:

<input type="file" accept="image/jpg,image/jpeg" capture="environment"/>
Billet answered 24/4 at 13:27 Comment(2)
This only allows you to pick one or the other though right? It doesn't prompt a user to choose.Mathew
Exactly, but you can add an option to use multiselect, like: <... multiple>Billet

© 2022 - 2024 — McMap. All rights reserved.