Android 现在阻止你在照片中分享你的位置。
Android now stops you sharing your location in photos

原始链接: https://shkspr.mobi/blog/2026/04/android-now-stops-you-sharing-your-location-in-photos/

OpenBenches网站,一个用于分享纪念长椅照片及其位置的平台,正面临一个关键问题,原因是谷歌安卓操作系统的变化。谷歌系统性地破坏了网站访问从手机上传的照片中嵌入的地理位置数据的能力。 最初,标准的HTML图片上传输入有效,但谷歌强制切换到文件选择器,虽然允许元数据,但也在后续更新中被破坏。像渐进式Web应用以及通过蓝牙或电子邮件直接分享等解决方法,也无法再保留位置数据。目前唯一剩下的方法是使用笨重的USB传输到台式电脑。 作者强调了一个隐私问题——虽然谷歌的改变通过剥离Facebook等平台上的位置数据来保护免受潜在跟踪,但他们也使得*依赖*这些数据的服务几乎无法正常运作。他哀叹谷歌缺乏沟通,并建议开发原生应用可能是唯一的解决方案,但这将是一项代价高昂的工程。他正在寻找替代方案,并鼓励支持相关的HTML规范评论。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Android 现在阻止你在照片中分享你的位置 (shkspr.mobi) 19 分,作者 edent 40 分钟前 | 隐藏 | 过去 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

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?

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.

联系我们 contact @ memedata.com