Getting rather frustrated that the latest Android strips location EXIF from the web file picker.

Doesn't seem to be any workaround that'll let you pick a photo and have a web browser see the geolocation.

Like, I get the privacy issues, but it is rather frustrating for location-based web apps.

(Before reply-guying, please test if the code you found on a 4 year old StackOverflow post actually works on modern Android, thanks.)

#Android #EXIF

@Edent How recent do you mean by latest? By switching from image picker to file picker in https://github.com/mysociety/fixmystreet/commit/571c15baa2211f2c25d9e0d0ab2e3e3f5635f9e0 in January, this seemed to let us start getting locations from Android uploaded photos, in at least some cases.

(iPhone is weird, you get location if you use existing photo but not if you take it there and then, hope that’s just a thing they’ll fix.)

Allow any file type from front page upload. · mysociety/fixmystreet@571c15b

On iOS, this doesn't appear to change anything, still offering a choice of Photo Library, Take Photo, or Choose File. On Android, however, this means it switches from an image picker (that lets...

GitHub
@dracos Hmm. That's what I'm doing. But the file picker on Android 16 won't let EXIF through.
Wondering if it is a GrapheneOS issue now?
@Edent The Chrome user agent string on Android is fixed to "Android 10" so I don't actually know if any Android 16 in the ones with successful geolocation, I can try and find out next week probably