Android now stops you sharing your location in photos (shkspr.mobi)

275 points by edent 8 hours ago

ieie3366 7 hours ago

Most likely: actually using the geolocation is an extremely niche usecase for images uploaded from mobile browsers.

I’d wager 99.9% of the users didn’t realize that they are effectively sending their live GPS coords to a random website when taking a photo.

But yes, a prop to the input tag ’includeLocation’ which would then give the user some popup confirmation prompt would have been nice

Shalomboy 6 hours ago

My first eye-opening moment working within the government was with team of herpetologists at the state conservation agency. They had a pretty slick public education campaign around protecting Gopher Tortoise habitats and a grand call-to-action "let the agency know where and when they see their nests". The whole thing fell apart because they were getting tons of earnestly-submitted junk data from earnestly-engaged citizens. Turns out the application was just a form that they asked people to fill out. I suggested they ask for user photos and scrape the EXIF data or ask them to opt-into sending their location and got laughed out of the room. Turns out that they discovered users immediately nope out of government websites that ask for their location! What a shame.

MostlyStable 5 hours ago

A colleague of mine tried doing this after a large sturgeon die off in the San Francisco Bay a few years ago. Citizens were asked to upload photos of dead sturgeon washed up on beaches. They actually got pretty good data (sturgeon are very easily identifiable) and lots of participation, but the location data ending up being largely useless because it was fuzzed (I think by iOS?) to a large enough degree to no longer be helpful, and the fields for manual coordinate entry had very low usage

Shalomboy 4 hours ago

Barbing 4 hours ago

smelendez 3 hours ago

I wonder if there would be any way to fix this with the right messaging. With infinite funding and the right agency cooperation, I bet you could include this in a state parks app that you could also use for other useful purposes, like pulling up trail maps, paying for parking and camping, fishing licensing, signing up for volunteer events, receiving notifications with news around particular parks you frequent, etc.

But in the real world, if you put a QR code at the trailhead and said "take a picture of this code. When you see a tortoise nest, use the code to go to our website and share your exact location."

If people are wary of sharing their location with the conservation agency, you might have better luck if the website was run by a nongovernmental conservation group?

Shalomboy 2 hours ago

latexr 5 hours ago

> earnestly-submitted junk data from earnestly-engaged citizens.

What made the data junk? Were the provided coordinates not precise enough, incorrect, something else?

Shalomboy 4 hours ago

AlexandrB 4 hours ago

iNaturalist is great for stuff like this as it allows organizations to create projects for data collection on specific species.

mapmeld 4 hours ago

raw_anon_1111 4 hours ago

Really? You don’t understand why people wouldn’t want to share their location with the government?

kelnos 2 hours ago

JTbane 2 hours ago

Shalomboy 2 hours ago

embedding-shape 7 hours ago

> I’d wager 99.9% of the users didn’t realize that they are effectively sending their live GPS coords to a random website when taking a photo.

I'd wager 90% of the photos on Google Maps associated with various listings don't actually know their photos are in public. I keep coming across selfies and other photos that look very personal, but somehow someone uploaded to Google Maps, the photo is next to a store or something and Google somehow linked them together, probably by EXIF.

eru 7 hours ago

Google prompts you in Google Maps if you want to upload your picture to Maps.

I sometimes do that for random pictures, even like selfies, which I don't mind popping up there.

PokemonNoGo 6 hours ago

sixothree 5 hours ago

harvey9 6 hours ago

I suspect there used to be a flow which was far too easy to share directly to Google maps. I was browsing the map once and found a picture of a credit card in a room in a hotel. I guess the guy intended to send it to his PA or something.

Barbing 4 hours ago

kccqzy 6 hours ago

I have friends that do that and it’s intentional. Had a good time at a store or restaurant? Take a selfie and upload to Google Maps. Also take a selfie video and upload to Instagram stories. It’s a way of life that defaults to more sharing.

freehorse 5 hours ago

> actually using the geolocation is an extremely niche usecase for images uploaded from mobile browsers

Is it only for mobile browsers? The article makes it sound [0] as if it is a general thing, even when sharing through bluetooth, and that only copying the image via usb connection allows you to keep geolocation in exif. Not sure what happens when you upload to native apps, eg to some cloud storage app (photo specific or not). I definitely want my location to stay when I make a cloud backup of my photos with an app intended for that.

[0] Quote:

>> 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?

Ajedi32 4 hours ago

I'm guessing they changed the default behavior from "include metadata" to "strip metadata" so now any app that wants metadata has to request it explicitly, and any older apps which don't know how to make such a request are simply unable to get location data?

Seems like this is possibly related to the ACCESS_MEDIA_LOCATION permission[1], and Google's recent efforts to force applications to migrate to the scoped storage API. See: https://developer.android.com/training/data-storage/shared/m...

Probably someone more versed in Android's APIs could give a better explanation.

[1]: https://developer.android.com/reference/android/Manifest.per...

rickdeckard 3 hours ago

Barbing 4 hours ago

No way they broke it for Google Photos. Anyone who needs location and doesn’t do cables, or can’t figure this out, can simply subscribe!

Can you compress a folder with a photo it and then email that? Just curious.

rickdeckard 3 hours ago

isodev 5 hours ago

> extremely niche usecase

Phones are computers though, it’s not up to Google or Apple to decide what’s a good use case for my own pictures.

ieie3366 2 hours ago

You are not the target audience :)

kelnos an hour ago

jen20 4 hours ago

It is absolutely Apple's job to protect people who do not have the desire or capacity to decide what is a good use case or not from predators (yes, the ad industry is 100% predatory).

The whole reason I and my entire family have iPhones is because there are entire classes of scams and scum that you don't have to be constantly vigilant against. If it didn't do that, I wouldn't buy them.

ryandrake 3 hours ago

I'm gonna die on this hill, but silently attaching very sensitive PII (including exact lat/lon) to photos has always been a terrible anti-feature. One of those "WTF were they actually thinking?" terrible anti-features. Imagine if you created a word document and Microsoft silently attached your home address to them as metadata. Awful and totally unexpected to the vast majority of users.

nullfield 2 hours ago

As someone else mentioned it IS entirely problematic how advertisers/others abuse people, and I get WHY location gets stripped. I still think it's abusive to take away the user's choice.

(and why do they have to strip almost ALL EXIF data, instead of just location? [yes, yes, fingerprinting, but there are LOTS of iPhone {NUMBER} whatever out there])

It really just needs to be clearly communicated, opt-in at attach time. Probably with a severely hidden, developer-screen level, or BIG WARNING in security settings to totally disable stripping.

I assume most people won't want it, _usually_, so when adding photos just have it be a double-opt in - you have to both hit an extra button during attachment, then select "include location" or "include location and metadata", then a modal warning/confirmation.

Something like: "Confirm including photo location? This will permit the recipient to see where the pictures were taken. <yes/no>"

inhumantsar an hour ago

kristopolous 5 hours ago

I want the location on every time, without exception.

The current behavior is exactly what I wanted.

These "all users are imbeciles that need our protection" design pattern needs to die a swift death.

It's maddening, We're constantly taking kitchen knives and replacing them with the colorful plastic toddler version and still have the same cutting tasks.

rickdeckard 3 hours ago

Seems to be quite simple, an App which wants to access this info just needs to set the permission for it.

Chrome doesn't seem to request that permission, so the OS doesn't provide the location-data to the app.

If your app targets Android 10 (API level 29) or higher and needs to retrieve unredacted EXIF metadata from photos, you need to declare the ACCESS_MEDIA_LOCATION permission in your app's manifest, then request this permission at runtime.

Source: https://developer.android.com/training/data-storage/shared/m...

dylan604 4 hours ago

I was a fan of the idea that the OS would strip location data on any upload via web/app, but would preserve the data when doing specific types of transfers deemed not via third party like direct transfer to computer or AirDrop

kristopolous 4 hours ago

raw_anon_1111 4 hours ago

And most people don’t want their location shared with random websites.

shevy-java 4 hours ago

On that point I would agree - I never used that. But Google also lied why it wanted to destroy ublock origin. It was clear to everyone that they did it because people can break away from ads infiltrating their computers. I can't use the modern www anymore without general content blocker; ublock lite is good but nowhere as useful as ublock origin was. I notice this when I compare e. g. firefox with default chrome. So many websites have a totally broken UI. With ublock origin not only can I get rid of popups or ads but also horrible UI choices. I use that on so many websites to simplify them.

drnick1 4 hours ago

Use IronFox or Fennec, preferably on GrapheneOS. You won't have freedom on Google or Apple controlled devices.

I have not seen an ad in years.

raw_anon_1111 4 hours ago

sixhobbits 7 hours ago

It's a sad story and a fun-looking project but I think Google 100% did the right thing here. Most people have no idea how much information is included in photo metadata, and stripping it as much as possible lines up to how people expect the world to work.

maccard 7 hours ago

If google really cared about privacy, they wouldn't have moved maps away from a subdomain. now if I want maps to have my location (logical), I need to grant google _search_ my location too.

edgineer 6 hours ago

It's not all-or-nothing; sometimes some people at Google push for some things to improve privacy. Rarely happens when revenue is at stake.

Android used to ask you "do you want to alllow internet access?" as an app permission. Google removed that, as it would stop ads from showing up. Devastating change for privacy and security, great for revenue.

WarmWash 5 hours ago

sathackr 6 hours ago

amazingamazing 6 hours ago

Google has your location either way. What difference does it make?

kevin_thibedeau 6 hours ago

butlike 6 hours ago

I'm not sure I follow. maps.google.com still resolves?

maccard 6 hours ago

andybak 6 hours ago

But surely there's a way to do this without totally killing valuable functionality? It's like the Android Sideloading debate all over again.

Something that is very useful to 1% of users is stripped away. And we end up with dumb appliances (and ironically - most likely still no privacy )

jeroenhd 6 hours ago

You can probably get around this problem by compressing the file and uploading it in a .zip. Google Files allows for making zip files at least, so I don't think it's a rare feature.

I think the linked spec suggestion makes the most sense: make the feature opt-in in the file picker, probably require the user to grant location permissions when uploading files with EXIF location information.

rickdeckard 3 hours ago

Seems to be quite simple, an App which wants to access this info just needs to set the permission for it.

Chrome doesn't seem to request that permission, so the OS doesn't provide the location-data to the app. So Chrome rather ended up in this state by doing nothing, not by explicitly doing something...

If your app targets Android 10 (API level 29) or higher and needs to retrieve unredacted EXIF metadata from photos, you need to declare the ACCESS_MEDIA_LOCATION permission in your app's manifest, then request this permission at runtime.

Source: https://developer.android.com/training/data-storage/shared/m...

kelnos an hour ago

sixhobbits 6 hours ago

yeah it does sound kind of dodge that there's no option even for advanced users to bypass this, I would guess mainly a moat to protect Google Photos. I wonder if online photo competitors are finding a workaround or not as searching your photos by location seems like a big feature there

jeroenhd 6 hours ago

raw_anon_1111 3 hours ago

WhyNotHugo 5 hours ago

It's not that hard to add a little checkmark "include location" under it, rather than unconditionally remove it.

As per op, it seems they've shut down _any_ means for you to get the data out of the phone other than using a USB cable.

rickdeckard 3 hours ago

Seems to be quite simple, an App which wants to access this info just needs to set the permission for it.

Chrome doesn't seem to request that permission, so the OS doesn't provide the location-data to the app. So Chrome rather ended up in this state by doing nothing, not by explicitly doing something...

If your app targets Android 10 (API level 29) or higher and needs to retrieve unredacted EXIF metadata from photos, you need to declare the ACCESS_MEDIA_LOCATION permission in your app's manifest, then request this permission at runtime.

Source: https://developer.android.com/training/data-storage/shared/m...

morissette 6 hours ago

Seems like such a shitty thing to victimize the potential victim. But… if you didn’t know that images you took had metadata… maybe you shouldn’t be allowed to use a computer. I mean. I’m going on decades of knowing this. Feel like there is a mid 90s X-Files episode that even like breaks this down. If not NCIS or some shit.

roywiggins 5 hours ago

Even people who know it, don't think about it and don't connect it with the potential consequences of uploading a picture to a website. And why would they? It's not visible, there's no warning, it's just not something that's going to be top of mind.

SirMaster 5 hours ago

madeofpalk 4 hours ago

You're right - this is a shitty view on this. It's incredibly opaque that images secretly contain the GPS coordinates of where they were taken. There's no way that's obvious or intuitive.

I think the 'ideal' thing to do would be an opt-in toggle for sharing "location and other extended info" for photos when selecting them, but I'm sure you can understand why a dev team took a shortcut to solve the immediate pain for most users most of the time.

Barbing 4 hours ago

pjmlp 6 hours ago

100% of the people that don't know that HN exists, most likely don't know images have metadata.

lxgr 5 hours ago

100% agreed; people generally don't realize how deanonymizing EXIF data can be.

I remember one of my cameras or phones including a "seconds since device startup" counter; together with the exact time the photo was taken, this yields a precise timestamp of when a phone was last restarted. This by itself can be highly deanonymizing out of a small to medium sized set of candidate phones/photographers.

buildbot 5 hours ago

I mean the serial number of the camera and possibly lens are included too…

lxgr 5 hours ago

bspammer 4 hours ago

This kills an entire class of useful crowdsourcing web apps though. Just off the top of my head, contributing to OSM is much easier when you can just take a bunch of photos and see them displayed on a map.

sylario 6 hours ago

On reddit half of "the is it AI?" question are answered by "Yes, it say so in the metadata".

jorvi 6 hours ago

AFAIK a lot of the bigger sites / services already hide or outright strip EXIF.

Its better to do it from the source, obviously.

kelnos an hour ago

You do realize that Google only cares about user privacy when it doesn't affect their own business model to do so, right? And also, like in this case, where not caring could end up creating some nasty headlines that hurt their reputation?

Meanwhile, Google probably has one of the most comprehensive databases on the planet of user behavior, gleaned from tracking their users all over the internet. Surveillance capitalism at its finest. But hey, they protect people from accidentally sending their photo geolocations to random websites, so good job Google, pat on the back for you.

master-lincoln 6 hours ago

Because most people have no idea how the tools they chose to buy and operate work, the few rational people who educate themselves have to suffer...

This sounds like a downward spiral concerning freedom.

roywiggins 5 hours ago

You don't have to be irrational to not know things.

master-lincoln 5 hours ago

darkhorn 7 hours ago

I agree with you. The next steps should be to disable the internet nationwide like North Korea. People have no idea how much bad things are there. Also I don't like fun things.

ButlerianJihad 43 minutes ago

I noticed that this headline is in lowercase, and I can tell you why Google/Android is doing this: because of the uppercase app "Photos" by Google.

Recently, I've been struggling with adding locations to some photos after-the-fact, such as edited photos as well as screenshots (because these screenshots are from location-based apps).

The Photos app always tells me that "location will only be visible inside Photos" -- that is, only to users of the app, and those who I share with inside the app. If the image is downloaded or extracted from the Photos app, apparently it will lose that location info and it won't be stored in the EXIF as normal.

This is because Android, like iOS, seeks to assert control over the JPEG/PNG image file types, and claim them as a special object type which can only be handled by Photos and other image-handling apps.

These image-format objects will no longer be treated as normal files that you can just throw anywhere, but as something that only Photos can handle on your phone, and tied inextricably to the Photos app. Therefore, any metadata that you add shall be stored and managed by Photos, and not in the file itself, because that would be interoperable, and that would be absolutely nuts!

iamcalledrob 7 hours ago

Similarly, the native Android photo picker strips the original filename. This causes daily customer support issues, where people keep asking the app developer why they're renaming their files.

https://issuetracker.google.com/issues/268079113 Status: Won't Fix (Intended Behavior).

lifis 6 hours ago

Obviously an image picker shouldn't leak filenames... The filename is a property of the directory entry storing the file storing the image. The image picker only grants access to the image, not to directories, directory entries or files.

If you want filenames, you need to request access to a directory, not to an image

sib 6 hours ago

"Obviously"

There are plenty of use cases where the filename is relevant (and many, many people intentionally use the image name for sorting / cataloging).

nslsm 4 hours ago

butlike 6 hours ago

The path is different than the filename though. If I want to find duplicates, it will be impossible if the filename changes. In my use case

/User/user/Images/20240110/happy_birthday.jpg

and

/User/user/Desktop/happy_birthday.jpg

are the same image.

dns_snek 6 hours ago

tart-lemonade 5 hours ago

adolph 2 hours ago

thaumasiotes 7 hours ago

This a very weird set of choices by Google. How many users are uploading photos from their camera to their phone so they can then upload them from the phone to the web?

I bet almost 100% of photo uploads using the default Android photo picker, or the default Android web browser, are of photos that were taken with the default Android camera app. If Google feels that the location tags and filenames are unacceptably invasive, it can stop writing them that way.

47282847 7 hours ago

My phone: my private space. Anything in the browser: not my private space.

I want exactly that: the OS to translate between that boundary with a sane default. It’s unavoidable to have cases where this is inconvenient or irritating.

I don’t even know on iPhone how files are named “internally” (nor do I care), since I do not access the native file system or even file format but in 99% of all use cases come in contact only with the exported JPEGs. I do want to see all my photos on a map based on the location they were taken, and I want a timestamp. Locally. Not when I share a photo with a third party.

TheLNL 6 hours ago

username223 6 hours ago

embedding-shape 7 hours ago

> If Google feels that the location tags and filenames are unacceptably invasive, it can stop writing them that way.

Something can be "not invasive" when only done locally, but turn out to be a bad idea when you share publicly. Not hard to imagine a lot of users want to organize their libraries by location in a easy way, but still not share the location of every photo they share online.

eru 7 hours ago

thaumasiotes 3 hours ago

klausa 7 hours ago

> How many users are uploading photos from their camera to their phone so they can then upload them from the phone to the web?

To _their phone_ specifically? Probably almost nobody. But to their Google/Apple Photos library?

A lot, if not most of people who use DSLRs and other point-and-shoot cameras. Most people want a single library of photos, not segregated based on which device they shot it on.

pmontra 6 hours ago

Ajedi32 4 hours ago

prmoustache 5 hours ago

WhyNotHugo 5 hours ago

This is a common approach to "privacy" taken by orgs like Google.

You don't get to access or export your own data in order to protect your privacy, but Google still gets 100% access to it.

Some messaging apps do the same and won't let you take a screenshot of your own conversations. Like, someone sent me an address, but I can't take a screenshot to "protect my privacy".

rickdeckard 3 hours ago

Seems to be quite simple, an App which wants to access location info from images just needs to set the permission for it.

Chrome doesn't seem to request that permission, so the OS doesn't provide the location-data to the app. So Chrome rather ended up in this state by doing nothing, not by explicitly doing something...

If your app targets Android 10 (API level 29) or higher and needs to retrieve unredacted EXIF metadata from photos, you need to declare the ACCESS_MEDIA_LOCATION permission in your app's manifest, then request this permission at runtime.

Source: https://developer.android.com/training/data-storage/shared/m...

Barbing 4 hours ago

Imagine my surprise when I attempted to record the iPhone mirroring application, which was running on macOS. Apple did a great job on their DRM because I simply recorded a black screen while I was attempting to play back a video from an app on the phone.

I'm sure it's given some businesses the confidence to invest in iOS app development, but it felt bad.

busymom0 4 hours ago

I think that's for apps like Netflix or other movie streaming apps being recorded for piracy?

Barbing 3 hours ago

xigoi 4 hours ago

Which messaging apps are those? I have only seen such behavior for one-time photos, where it makes sense (although one-time photos are security theater because nothing prevents you from taking a photo of the screen with another device).

codethief 4 hours ago

In a similar move (silently changing a feature crucial to some users), in Android 11 Google suddenly removed the possibility to use "special" characters

  ":<>?|\*
in filenames[0], presumably because they're not allowed on Windows/NTFS and Windows users might end up struggling to transfer them to their Windows computer. I don't care about NTFS at all, though. I just want to be able to sync all my files with my Linux machines and now I'm no longer able to. Makes me want to scream.

[0]: https://github.com/GrapheneOS/os-issue-tracker/issues/952

xigoi 4 hours ago

I have a personal convention that all files I put into my synced folder must consist of lowercase alphanumeric characters, hyphens and periods (to be precise, match the regex /\.?([a-z0-9]([-.][a-z0-9])?)+/). It saves a lot of pain.

driverdan 2 hours ago

What types of files are you syncing that have those characters in their names?

raw_anon_1111 3 hours ago

And you don’t see why Google would cater to Windows and a Mac users at the expense of Linux users?

ThePowerOfFuet 4 hours ago

Putting a star into a filename is a pain in the ass, no matter the OS.

xp84 4 hours ago

Escaping and quoting isn’t really that hard

raw_anon_1111 3 hours ago

black_puppydog 5 hours ago

In a very similar situation to OP, this move totally broke a volunteer-run platform that allows (allowed...) users to report issues with bicycle lanes, missing racks, dangerous spots for cyclists etc...

https://app.vigilo.city/

The app is very basic, but has amazingly little barriers to entry. Notably you don't need an account to just report things, what I'd call an "open door" app. Sadly, without gps exif, this is much higher friction now. Pretty pissed at this. It's not hard to design a clean flow that permits to inform the user specifically of location sharing in the picker.

NelsonMinar 6 hours ago

I wish they'd just switch to fuzzing the location instead of stripping it entirely. Instead of specifying 6 digits of lat/lon, publish 1 digit to identify what rough area you're in (to about 10km).

I've done a lot of neat projects with geolocation over the years. Including a personal travel diary, a bunch of visualizations of tweets and Flickr photos, etc etc. I am sad that's become nearly impossible but I do respect that most people don't understand the privacy risk.

Meanwhile on the advertising backend Google knows your exact location and is using it to help third parties target ads to you. And sleazy apps like Grindr sell location streams to anyone who asks. The bad guys get this data, just not the useful apps.

ryandrake 3 hours ago

Depending on how populated your current location is, even a fuzzed location can reveal personal information. In a city, 10km is fine, nobody is identified. But if your home is the only one for 10km in any direction, and your fuzzing threshold is 10km, you've identified down to a single home.

hn_throwaway_99 4 hours ago

Totally disagree, as I think that would be the worst of all possible worlds - too fuzzy to be useful for many of the niche use cases where it's needed, and still a privacy violation for the majority of users who don't know their photos reveal their location.

The other suggestion about requiring something like a useLocation or includeExif attribute on the file picker, and then requiring confirmation from the user, seems like a much better solution to me.

adzm 6 hours ago

This is the right move. https://github.com/whatwg/html/issues/11724#issuecomment-419... and adding a feature to browsers to explicitly use the info is the best solution really. The problem is that there was a change without a backup solution without making a native app, but preventing people from accidentally uploading their location in an image is the right move. It really needs to be more well known and handled automatically.

master-lincoln 6 hours ago

I would agree if they switched the order: first make a UI to opt-in/out and then change the default. Now they just made operations impossible

jeroenhd 6 hours ago

While I think it's the right move to disable location tags by default, I also think Google should've waited until a solution to the missing functionality had at least hit the WHATWG spec.

II2II 7 hours ago

Yes, I get it. It is inconvenient for legitimate uses. The problem is that our devices leak too much confidential data. Privacy was mentioned outright in the article. Safety/security was alluded to with an example, which is something that goes far beyond a company's image or even liability.

Unfortunately, there is no good way to solve the problem while maintaining convenience. As the author noted, prompts while uploading don't really work. Application defaults don't really work for web browsers, since what is acceptable for one website isn't necessarily acceptable for another. Having the user enter the location through the website make the user aware of the information being disclosed, but it is inconvenient.

Does the situation suck? Yes. On the other hand, I think Google is doing the responsible thing here.

SoftTalker 4 hours ago

Agreed. The default for a web browser should be maximum privacy/minimum sharing/minimum trust. If they want to access photos with geolocation they can make an app instead of a website, then the app can explictly ask for this permission. Too much trouble? Well then I guess it won't get done. Not the end of the world.

antiloper 6 hours ago

I don't know a good solution for this. 99% of websites asking for this hypothetical permission would not deserve it. Users (rightfully) don't expect that uploading a photo leaks their location.

Element (the matrix client) used to not strip geolocation metadata for the longest time. I don't know if they fixed that yet.

celsoazevedo 6 hours ago

For most users, I think this is a good change.

I used to run a small website that allowed users to upload pictures. Most people were not aware that they were telling me where they were, when the picture was taken, their altitude, which direction they were facing, etc.

rickdeckard 3 hours ago

I don't know, a quick check in Android documentation seems to describe this quite well [0]:

If your app targets Android 10 (API level 29) or higher and needs to retrieve unredacted EXIF metadata from photos, you need to declare the ACCESS_MEDIA_LOCATION permission in your app's manifest, then request this permission at runtime.

Caution: Because you request the ACCESS_MEDIA_LOCATION permission at runtime, there is no guarantee that your app has access to unredacted EXIF metadata from photos. Your app requires explicit user consent to gain access to this information.

I made another quick check on my device, Chrome doesn't have the ACCESS_MEDIA_LOCATION permission and doesn't seem to request it at runtime, so the location info is stripped from the EXIF data (by the OS!) when a file is selected.

Chromium also seems have no feature to ask the user whether he agrees to share the stored location when uploading images, so there is probably no capability to request the permission at runtime.

Not satisfying, I know, but despite some judgements in the tickets the implementation seems to work as designed.

Instead, it could be considered a feature-request for Chrome to ask the user about this on upload, or couple the location-permission of a website to the permission to share EXIF-location data when uploading files (Although I think the logic on that is not really tight, the user giving permission to share his location now doesn't necessarily mean that he agrees to share all his locations from the past from EXIF-data)

[0] https://developer.android.com/training/data-storage/shared/m...

Zak 5 hours ago

I don't like this. The Right Thing is for camera apps to not add location metadata by default.

If you go in and turn location on (which should have a warning on it), then you're the sort of person who changes defaults, a more sophisticated user than the majority of the population who is able to take responsibility for the consequences. Yes, I can imagine a scenario where someone ends up with this setting turned on through no fault of their own, but it shouldn't be the role of an OS vendor to prevent every possible mistake.

edent 3 hours ago

The default camera app has this off by default. Most of the ones I've tried do.

But do you remember every options you've randomly toggled over the years? It's pretty easy to see how someone would flip on geotagging, forget about it, then be shocked a few months later when they discover all their photos are leaking their location.

dgoldstein0 3 hours ago

My personal pet peeve is that iOS strips exif time taken (probably all exif) through certain flows - I think iMessage does it? So then if my family texts me a photo of a trip way after it happened and I save it it ends up in the wrong part of my photo timeline. Whereas if they share it a different way like Dropbox it comes through with that metadata intact.

I care less about the location data as I usually know where the photos are just by looking at them but I understand there are good use cases for it and agree including location should be a user choice

Johnny555 2 hours ago

I like having location in my photo album (so I can easily search for vacation photos, or figure out where a photo was taken), but I don't want it stored in the photo metadata I share the photo. Is there any way to have Apple or Google photos track the location when the photo is uploaded, but not store it in the photo itself?

p_stuart82 6 hours ago

defaulting to strip location on share, fine. demoting plain old <input type=file> into "find a usb cable" / "go build an app" is a hell of a line to draw

Aachen 4 hours ago

I noticed this in an app's changelog recently, saying something along the lines of "remove metadata comparison function because new Android versions no longer support it"

Thankfully F-Droid has a "never update this app" checkbox for now, but eventually I'm sure third-party developers will require minimum Android versions that mean I need to lose this functionality :/

Edit: found it, it was VesIC https://github.com/VincentEngel/VES-Image-Compare/releases/t...

1970-01-01 7 hours ago

>So, can users transfer their photos via Bluetooth or QuickShare? .. Literally the only way to get a photo with geolocation intact is to plug in a USB cable

Bluetooth is not QuickShare, stop conflating them. Bluetooth works. I just tried it. It just sends the entire file to the destination, filename intact with all EXIF, no gimmicks, tricks, or extra toggles. As it has always done for 20+ years.

ajifurai 5 hours ago

In my testing, when sharing from apps that use MediaStore like Google Photos or Fossify Gallery (using a `content://media/` URI), the GPS location was stripped even via Bluetooth. This seems to be the default behavior from Android 10 onwards.

https://developer.android.com/training/data-storage/shared/m...

> Photographs > If your app uses scoped storage, the system hides location information by default

When sharing via FileProvider from file managers like MiXplorer or Total Commander, the raw file is sent as is, and the GPS location stays intact.

1970-01-01 4 hours ago

You're doing it wrong then. I again verified on Android 16 using native Bluetooth sharing.

edent 6 hours ago

OP here. I'm not conflating them. That's why I used the word "or".

I don't know how modern your Android phone is, but on all of mine sharing via Bluetooth strips away some of the EXIF.

1970-01-01 4 hours ago

On Android 16. Open photo. Hit share. Hit Bluetooth. Pick a device to send it to. Wait for xfer to finish. Observe in exifview. What detail is missing?

edent 7 minutes ago

egeozcan 7 hours ago

This must be a Chrome thing, not an Android thing, no? I didn't test this but I'd be surprised if Firefox behaved the same.

fouc 7 hours ago

Or Firefox would still be using android's file system / upload process, which probably hands off the photos with geotags stripped already.

I'm pretty sure this is what happens in the iPhone at least, so I'd imagine it is the same in Android.

darkhorn 7 hours ago

Just tested with Firefox 149 on Android 13. There are no coordinates when I upload an image to EXIF viewer web sites.

CodesInChaos 3 hours ago

A warning before uploading with the option to strip metadata would make sense. But I want to ability to upload a file to a website without it getting silently corrupted in transit.

srcoder 6 hours ago

Already use imagepipe [0] since forever, sometimes it takes soms extra time, still worth the effort. Most of the time I take a picture share with imagepipe, share with external and don't share anything else

I will never share my location via images with anybody then myself. I do use location for my local Photoprism on my own server

0 https://codeberg.org/Starfish/Imagepipe#how-to-get-the-app

trashb 3 hours ago

Location data should be opt in on capture, a checkbox deep in the settings: "capture location meta data" would be sufficient, or a button similar to the flash.

Strange UI that they are involuntarily capturing but then removing it.

flipped 6 hours ago

GrapheneOS already does this, since forever. Android can't stop copying GOS. Maybe they'll add a network toggle after a few years and call it a privacy win.

palata 6 hours ago

> Android can't stop copying GOS.

Well that's a good thing, isn't it?

pjmlp 5 hours ago

GrapheneOS only exists because Google hasn't yet completely closed shop on AOSP availability.

Who knows, it may eventually be only available on Motorola devices.

edent 6 hours ago

I don't think that's quite right. Up until recently I was able to share photos with geolocation from my GrapheneOS device.

flipped an hour ago

Metadata can be attached but it's off by default.

HumblyTossed 6 hours ago

Good?

flipped an hour ago

NSA agent getting burned?

bilsbie 6 hours ago

Does iPhone do this? Kind of scary to be accidentally sending your home address anywhere you upload a photo.

nozzlegear 6 hours ago

You can choose whether you want to share the location or not when selecting photos in iOS. You'll see at the bottom a label that says "Location is included", and you can click the three dots to remove location:

https://imgur.com/a/lm0stDE

Not sure if there's a way to do that by default, I've never checked.

sambellll 6 hours ago

I feel like that's the optimal implementation - best of both worlds

Wish android copied them for once lol

Barbing 3 hours ago

bilsbie an hour ago

Interesting. How does it work for texting?

drnick1 4 hours ago

> 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.

No. I don't want people like you unknowingly spying on me when I upload a picture. GrapheneOS patched that insane behavior long ago, but not including leaky metadata should be the default, sane behavior.

zenmac 7 hours ago

Nice drunk theme! All web site should have one.

OuterVale 5 hours ago

The author wrote about it here: https://shkspr.mobi/blog/2025/09/drunk-css/

eminence32 7 hours ago

> 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 get it. This unequivocally sucks. It's a clear loss of functionality for a group of people who are educated about the advantages and disadvantages of embedded EXIF data. But I don't honestly think Google could have consulted their community. It's just too big. So when the author says:

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

I don't think the problem here is that Google is anticompetitive (though that's a problem in other areas). I think it's just too big that they can't possibly consult with any meaningful percentage of their 1 billion customers (or however many Android users are out there). They may also feel it's impossible to educate their users about the benefits and dangers of embedded location information (just thinking about myself personally, I'm certain that I'd struggle to convey they nuances of embedded location data to my parents).

I will note that Google Photos seems to happily let you add images to shared albums with embedded location information. I can't recall if you get any privacy-related warnings or notices.

edent 6 hours ago

> But I don't honestly think Google could have consulted their community. It's just too big.

The thing is, they frequently do. They have developer relations people, they publish blog posts about breaking changes, they work with W3C and other standards bodies, they reply on bug trackers.

But, in this case, nothing. Just a unilateral change with no communication. Not even a blog posts saying "As of April, this functionality is deprecated."

izacus 6 hours ago

Apple was massively praised when they started stripping location data from shared and uploaded photos.

softwaredoug 7 hours ago

Is location sharing something you can disable in iOS?

ndegruchy 7 hours ago

Yes. You can turn it off for Camera if you don't want the geotag to be included in the photo when taken. You can also, as part of the share media picker, opt to include or exclude location data on the photo.

Barbing 3 hours ago

You can also for example just by voice ask the phone to turn off location services, then take your photos.

As one can imagine, even when turning location services back on, the photo will never contain location data.

ndegruchy 3 hours ago

shevy-java 4 hours ago

Now, I don't fully understand why people want their images to be tracked - but to each their own. I think this just shows that Google is very selfish, from A to Z. People should not empower this evil empire. Recently Google also stated that "cookies can not be stolen":

https://www.heise.de/en/news/Google-Chrome-makes-cookie-thef...

However had to me this reads as "we control the now private web". This also aligns, in my opinion, with age verification (systemd already pushes for it). So we move into a not so open world wide web. Are you identified? If yes, you can get information; if no you can not. Personally I am in the underground anyway, as long-term linux users so I don't really care that much (though I also use Win10 on a computer on my left side, for various reasons). But I am really annoyed at Google. Every day Google adds to problems and drama. It is not good that this monopoly can control so much in the whole ecosystem, even if I don't understand why people want to share photos and geolocation and what underwear they were wearing at that moment in time ...

adolph 3 hours ago

The article is about browsers filtering EXIF metadata from image uploads and not about advising users when observable sun angle or other distinctive features may disclose the photograph's location.

  Suncalc models the relationship between the date, time of day, the geographic 
  location of a place, and the position of the sun in the sky, together with 
  the length & direction of the shadows it casts. [0]
0. https://bellingcat.gitbook.io/toolkit/more/all-tools/suncalc

adrianN 7 hours ago

How good are LLMs at geoguessing?

jcalx 6 hours ago

Quite good, per Bellingcat [0] — Google Lens and ChatGPT could localize the majority of their test photos pretty specifically.

[0] https://www.bellingcat.com/resources/2025/08/14/llms-vs-geol...

jillesvangurp 6 hours ago

Pretty good. I played a bit with gpt-4 a year or so ago by feeding it random screenshots from Google street view. It will pick up a lot of subtle hints from what otherwise looks like generic streets. I imagine more recent models might be better at this now.

firtoz 6 hours ago

Pretty good. I test it every now and then from random photos. Sometimes spot on, sometimes gets very close, unless it's really ambiguous.

embedding-shape 7 hours ago

Basically all up to the training data, as things often are.

xg15 6 hours ago

I wonder if that might be another reason to just completely disable this feature and not make it a permission: otherwise people could use it to build trainingsets for geoguesser models.

GRiMe2D 6 hours ago

eru 7 hours ago

You still need some smarts, since the picture you just took won't be in the training data.

simonw 6 hours ago

Surprisingly iOS doesn't do this - at least not for photos uploaded via a web form these days. Try this tool to see that (it should demonstrate the Android EXIF stripping behavior too): https://tools.simonwillison.net/exif

smileybarry 5 hours ago

iOS does this by default too, but it tells you about it and gives you the option to not strip the location from EXIF: the bottom of the photo picker has the text "Location not included", and the context menu opened by the "..." button on the left has a "Location" toggle. Just tested this myself on iOS 26.4.1.

simonw 5 hours ago

Thanks, just found that option hidden in the "..." and then "Options" menu: https://gist.github.com/simonw/6d530cdca574ac56450dfa805f25e...

Barbing 3 hours ago

akamaka 5 hours ago

I just tested this and the default setting is to include location, but once turned off it stays off (unlike the iPhone share sheet where you need to turn it off each time).

smileybarry 2 hours ago

embedding-shape 7 hours ago

Couldn't you use <input type="file" accept=".jpg,.jpeg"> (different than image/jpeg mime-type I think, not sure if that also strips EXIF?), then manually parse the EXIF in JS? Shouldn't be that complicated to parse and I'm guessing there is a bunch of libraries for doing just that should you not want to do that yourself.

embedding-shape 4 hours ago

I'm not sure why I'm being downvoted for this, so I guess I kind of accidentally nerdsniped myself here...

Anyways, I did this: https://jsbin.com/teriduyexe/edit?html,output

Which correctly seems to show the EXIF for uploaded images (both in Chrome and Firefox), and correctly filters things in the file picker window. What am I missing, why is this infeasible as a solution?

edent 3 hours ago

I've just tried that in Chrome and Firefox on Android 16.

Both just show zeros in the GPS EXIF - the rest of the data are passed through unaltered.

embedding-shape 2 hours ago