Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Getting rather frustrated that the latest Android strips location EXIF from the web file picker.

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

Scheduled Pinned Locked Moved Uncategorized
androidexif
28 Posts 13 Posters 2 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • edent@mastodon.socialE edent@mastodon.social

    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

    jezhiggins@mastodon.me.ukJ This user is from outside of this forum
    jezhiggins@mastodon.me.ukJ This user is from outside of this forum
    jezhiggins@mastodon.me.uk
    wrote last edited by
    #21

    @Edent Doesn't appear to be unique to the Web based file picker. I've just had a little go with the CycleStreets app (which I wrote). Taking a photo using the stock intent is geolocated, using the built in image picker to select an existing photo is not geolocated.

    If I get a chance, I'll apply the change @dracos made in his code, and let you know if it makes any difference

    edent@mastodon.socialE 1 Reply Last reply
    0
    • edent@mastodon.socialE edent@mastodon.social

      Anyway, if you think the web should have a way to get the *full* photo a user uploaded - including geolocation metadata - please leave a 👍 reaction on this request https://github.com/whatwg/html/issues/11724#issuecomment-4192228562

      hoare_spitall@mastodon.worldH This user is from outside of this forum
      hoare_spitall@mastodon.worldH This user is from outside of this forum
      hoare_spitall@mastodon.world
      wrote last edited by
      #22

      @Edent As long as it can be overruled by the user/owner I'd have no problem with it, but I can't see any purpose it would serve me.

      1 Reply Last reply
      0
      • edent@mastodon.socialE edent@mastodon.social

        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

        aslakr@mastodon.socialA This user is from outside of this forum
        aslakr@mastodon.socialA This user is from outside of this forum
        aslakr@mastodon.social
        wrote last edited by
        #23

        @Edent Ironically, libvips in it current settings in Mastodon adds a exif header to PNG-files and change to color mode from palette to truecolor, making optimized png larger in file size.

        1 Reply Last reply
        0
        • jezhiggins@mastodon.me.ukJ jezhiggins@mastodon.me.uk

          @Edent Doesn't appear to be unique to the Web based file picker. I've just had a little go with the CycleStreets app (which I wrote). Taking a photo using the stock intent is geolocated, using the built in image picker to select an existing photo is not geolocated.

          If I get a chance, I'll apply the change @dracos made in his code, and let you know if it makes any difference

          edent@mastodon.socialE This user is from outside of this forum
          edent@mastodon.socialE This user is from outside of this forum
          edent@mastodon.social
          wrote last edited by
          #24

          @jezhiggins @dracos
          I *think* you need https://developer.android.com/reference/android/Manifest.permission#ACCESS_MEDIA_LOCATION

          1 Reply Last reply
          0
          • edent@mastodon.socialE edent@mastodon.social

            Anyway, if you think the web should have a way to get the *full* photo a user uploaded - including geolocation metadata - please leave a 👍 reaction on this request https://github.com/whatwg/html/issues/11724#issuecomment-4192228562

            calmeilles@mstdn.socialC This user is from outside of this forum
            calmeilles@mstdn.socialC This user is from outside of this forum
            calmeilles@mstdn.social
            wrote last edited by
            #25

            @Edent

            I actually logged in to Github to upvote this.

            Slightly tangentially I get why back in the mists of time sites stripped metadata, all those bytes add up in bandwidth.

            But it absolutely infuriates me that what was once done of necessity now seems to be blind habit — because that's the way it's always been done.

            Regardless of the site I find an image on I want to be able to see *all* the metadata the original author provided.

            1 Reply Last reply
            0
            • edent@mastodon.socialE edent@mastodon.social

              Anyway, if you think the web should have a way to get the *full* photo a user uploaded - including geolocation metadata - please leave a 👍 reaction on this request https://github.com/whatwg/html/issues/11724#issuecomment-4192228562

              edent@mastodon.socialE This user is from outside of this forum
              edent@mastodon.socialE This user is from outside of this forum
              edent@mastodon.social
              wrote last edited by
              #26

              I've also raised a bug with Firefox. Android has a specific permission which will allow the browser to access the *full* location metadata of a photo.

              Link Preview Image
              2029620 - Geolocation EXIF stripped from media due to lack of Android Permission ACCESS_MEDIA_LOCATION

              UNCONFIRMED (nobody) in Firefox for Android - Media. Last updated 2026-04-11.

              favicon

              (bugzilla.mozilla.org)

              Not sure if it is worth raising bugs for Chrome and Samsung as well. Can't easily test them. If someone else wants to - please go ahead!

              #firefox #android

              1 Reply Last reply
              0
              • edent@mastodon.socialE edent@mastodon.social

                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

                jon@activitypub.blankpad.netJ This user is from outside of this forum
                jon@activitypub.blankpad.netJ This user is from outside of this forum
                jon@activitypub.blankpad.net
                wrote last edited by
                #27

                @Edent I’m so very divided on this. I think it’s absolutely the right behaviour for photo sharing to strip location data by default, and I see the use cases for allowing it with user consent, what I’m struggling with is how to expose that to users in an understandable way because “this photo has high precision location data attached” is still really surprising behaviour to most people I think.

                edent@mastodon.socialE 1 Reply Last reply
                0
                • jon@activitypub.blankpad.netJ jon@activitypub.blankpad.net

                  @Edent I’m so very divided on this. I think it’s absolutely the right behaviour for photo sharing to strip location data by default, and I see the use cases for allowing it with user consent, what I’m struggling with is how to expose that to users in an understandable way because “this photo has high precision location data attached” is still really surprising behaviour to most people I think.

                  edent@mastodon.socialE This user is from outside of this forum
                  edent@mastodon.socialE This user is from outside of this forum
                  edent@mastodon.social
                  wrote last edited by
                  #28

                  @jon agreed. Most services (FB, Insta, WhatsApp, etc) automatically strip it.
                  I remember when they didn't and it was very easy to find celebs accidentally sharing their home locations.
                  Given we have geolocation prompts in the browser, I don't think it is too much of a hardship - but I too am wary of prompt fatigue.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups