Terence Eden. He has a beard and is smiling.
Theme Switcher:

Android now stops you sharing your location in photos

· 18 comments · 550 words · Viewed ~20,810 times


My wife and I run OpenBenches. It's a niche little site which lets people share photos of memorial benches and their locations. Most modern phones embed a geolocation within the photo's metadata, so we use that information to put the photos on a map.

Google's Android has now broken that.

On the web, we used to use:

 HTML<input type="file" accept="image/jpeg">

That opened the phone's photo picker and let the use upload a geotagged photo. But a while ago Google deliberately broke that.

Instead, we were encourage to use the file picker:

 HTML<input type="file">

That opened the default file manager. This had the unfortunate side-effect of allowing the user to upload any file, rather than just photos. But it did allow the EXIF metadata through unmolested. Then Google broke that as well.

Using a "Progressive Web App" doesn't work either.

So, can users transfer their photos via Bluetooth or QuickShare? No. That's now broken as well.

You can't even directly share via email without the location being stripped away.

Literally the only way to get a photo with geolocation intact is to plug in a USB cable, copy the photo to your computer, and then upload it via a desktop web browser?

Why?!?!?

Because Google run an anticompetitive monopoly on their dominant mobile operating system.

Privacy.

There's a worry that users don't know they're taking photos with geolocation enabled. If you post a cute picture of your kid / jewellery / pint then there's a risk that a ne’er-do-well could find your exact location.

Most social media services are sensible and strip the location automatically. If you try to send a geotagged photo to Facebook / Mastodon / BlueSky / WhatsApp / etc, they default to not showing the location. You can add it in manually if you want, but anyone downloading your photo won't see the geotag.

And, you know, I get it. Google doesn't want the headline "Stalkers found me, kidnapped my baby, and stole my wedding ring - how a little known Android feature puts you in danger!"

But it is just so tiresome that Google never consults their community. There was no advance notice of this change that I could find. Just a bunch of frustrated users in my inbox blaming me for breaking something.

I don't know what the answer is. Perhaps a pop up saying "This website wants to see the location of your photos. Yes / No / Always / Never"? People get tired of constant prompts and the wording will never be clear enough for most users.

It looks like the only option available will be to develop a native Android app (and an iOS one?!) with all the cost, effort, and admin that entails. Android apps have a special permission for accessing geolocation in images.

If anyone has a working way to let Android web-browsers access the full geolocation EXIF metadata of photos uploaded on the web, please drop a comment in the box.

In the meantime, please leave a +1 on this HTML Spec comment.


Share this post on…

18 thoughts on “Android now stops you sharing your location in photos”

  1. this is a necessary privacy feature in my books. Google is protecting me, the android user, by not letting location thru. I never want random websites to know my location. that's only for me to see in my gallery. so good to be seeing google taking more of a stand for privacy

    Reply

    1. That would provide the location of where they uploaded the photo, not where they took it. There’s not much benefit in having the location of the armchair where they’re sat down having a nice cup of tea while they decide which photos to upload, a few hours after the walk on which they took them.

      Reply

  2. @blog > Most social media services are sensible and strip the location automatically

    indeed, after they saved it for their purpose.

    > Google never consults their community

    Actually I hope they were kicked (or forced) so hard for this default that they turned it off.

    Situation is not ideal for you, I understand that, I don't think a service with good faith should be made defunct for this. A switch or an override would be good instead.

    But for default geotagging, I'd say good riddance.

    Reply | Reply to original comment on mastodon.social

  3. I had a similar problem, with my navigation app (navigateanymap.eu): I stored information in the exit part of an image.

    When sharing through email there was no problem, but sharing a picture with Signal or Whatsapp removed the exif information. So I added a zip step when sharing through these apps: both apps will remove exif information but not if the exif is inside a jpg file that is inside a zip file. A bit annoying, but made it working for me.

    Reply

      1. That's no problem though, this is solved by an upload queue.

        Reply

        1. I'm not sure how to persist a multi-MB upload queue using a web worker. If you have any suggestions - please let me know.

          Reply

          1. again, hillview does this, using indexeddb. Open the website, turn off network and try it. You will get network error toasts and map tiles will not show, but photos will save and later upload automatically

            Reply

  4. It's really bad how the big players deliberately break the internet standards in order to force users into their closed app ecosystems. People have long forgotten why a browser exists and that something can live on the internet without being in the AppStore.

    Reply

  5. I have been able to upload photos and retain the EXIF data but by using another file manager like 'total manager" if you select files then the burger (top left) and scroll to the very bottom you should see other file managers you have installed

    Reply

What are your reckons?

All comments are moderated and may not be published immediately. Your email address will not be published.

See allowed HTML elements: <a href="" title="">
<abbr title="">
<acronym title="">
<b>
<blockquote cite="">
<br>
<cite>
<code>
<del datetime="">
<em>
<i>
<img src="" alt="" title="" srcset="">
<p>
<pre>
<q cite="">
<s>
<strike>
<strong>

To respond on your own website, write a post which contains a link to this post - then enter the URl of your page here. Learn more about WebMentions.