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.
  • dracos@mastodon.socialD dracos@mastodon.social

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

    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
    #6

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

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

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

      dracos@mastodon.socialD This user is from outside of this forum
      dracos@mastodon.socialD This user is from outside of this forum
      dracos@mastodon.social
      wrote last edited by
      #7

      @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

      edent@mastodon.socialE 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

        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
        #8

        *sigh*

        Looks like Android is stripping GPS EXIF from photos whenever they're shared.

        Affects QuickShare / Bluetooth - https://issuetracker.google.com/issues/485307531
        And the web photo picker - https://issuetracker.google.com/issues/40287342

        Basically the only way to get geolocation is using USB transfer.

        Like, I get the privacy aspect, but it is so annoying to explain to users of @openbenches that they can't upload via the mobile website any more.

        #Android #EXIF #Privacy #Geolocation

        dan@m.danq.meD insertuser@en.osm.townI edent@mastodon.socialE derickr@phpc.socialD colinthemathmo@mathstodon.xyzC 5 Replies Last reply
        0
        • edent@mastodon.socialE edent@mastodon.social

          *sigh*

          Looks like Android is stripping GPS EXIF from photos whenever they're shared.

          Affects QuickShare / Bluetooth - https://issuetracker.google.com/issues/485307531
          And the web photo picker - https://issuetracker.google.com/issues/40287342

          Basically the only way to get geolocation is using USB transfer.

          Like, I get the privacy aspect, but it is so annoying to explain to users of @openbenches that they can't upload via the mobile website any more.

          #Android #EXIF #Privacy #Geolocation

          dan@m.danq.meD This user is from outside of this forum
          dan@m.danq.meD This user is from outside of this forum
          dan@m.danq.me
          wrote last edited by
          #9

          @Edent @openbenches Much rage!

          I suppose there's some value in adding an optional <geolocation> element or similar to the app anyway (I don't know about others, but I do most of my submissions while sat on the bench in question!). But I appreciate this is still a loss in quality.

          Feels like this could be easily fixed by Google adding a toast popup that says "Location and other metadata was removed before uploading" with an "undo" button to re-try without that, maybe.

          Anyway - for now: much rage.

          edent@mastodon.socialE 1 Reply Last reply
          0
          • dan@m.danq.meD dan@m.danq.me

            @Edent @openbenches Much rage!

            I suppose there's some value in adding an optional <geolocation> element or similar to the app anyway (I don't know about others, but I do most of my submissions while sat on the bench in question!). But I appreciate this is still a loss in quality.

            Feels like this could be easily fixed by Google adding a toast popup that says "Location and other metadata was removed before uploading" with an "undo" button to re-try without that, maybe.

            Anyway - for now: much rage.

            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
            #10

            @dan Yeah, we can ask for GPS but, as you say, people are rarely in the same place where they took the photo.

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

              *sigh*

              Looks like Android is stripping GPS EXIF from photos whenever they're shared.

              Affects QuickShare / Bluetooth - https://issuetracker.google.com/issues/485307531
              And the web photo picker - https://issuetracker.google.com/issues/40287342

              Basically the only way to get geolocation is using USB transfer.

              Like, I get the privacy aspect, but it is so annoying to explain to users of @openbenches that they can't upload via the mobile website any more.

              #Android #EXIF #Privacy #Geolocation

              insertuser@en.osm.townI This user is from outside of this forum
              insertuser@en.osm.townI This user is from outside of this forum
              insertuser@en.osm.town
              wrote last edited by
              #11

              @Edent @openbenches is this affecting non-Google camera roll backup too?

              Mine still seems to get location but I don't know if it's because I'm on an old version.

              edent@mastodon.socialE 1 Reply Last reply
              0
              • insertuser@en.osm.townI insertuser@en.osm.town

                @Edent @openbenches is this affecting non-Google camera roll backup too?

                Mine still seems to get location but I don't know if it's because I'm on an old version.

                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
                #12

                @InsertUser I don't know. It seems to be a problem on the defaults.

                1 Reply Last reply
                0
                • dracos@mastodon.socialD dracos@mastodon.social

                  @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

                  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
                  #13

                  @dracos just tried this photo which has geolocation - looks like FMS can't see the EXIF.

                  Link Preview ImageLink Preview Image
                  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

                    sam@chven.usS This user is from outside of this forum
                    sam@chven.usS This user is from outside of this forum
                    sam@chven.us
                    wrote last edited by
                    #14
                    it seems that in my tests with uploading anything through the browser or an app where it uses the file picker, then the exif location data is removed. When I open the photo with exif location data in my gallery app (Fossify Gallery on Pixel 8 with grapheneos) and then share that to Termux (like I mentioned in my useless comment), then it's preserved. I wonder if there's a way to share to the openbenches webapp similarly and just skip the file picker?
                    1 Reply Last reply
                    0
                    • edent@mastodon.socialE edent@mastodon.social

                      *sigh*

                      Looks like Android is stripping GPS EXIF from photos whenever they're shared.

                      Affects QuickShare / Bluetooth - https://issuetracker.google.com/issues/485307531
                      And the web photo picker - https://issuetracker.google.com/issues/40287342

                      Basically the only way to get geolocation is using USB transfer.

                      Like, I get the privacy aspect, but it is so annoying to explain to users of @openbenches that they can't upload via the mobile website any more.

                      #Android #EXIF #Privacy #Geolocation

                      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
                      #15

                      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 calmeilles@mstdn.socialC edent@mastodon.socialE 3 Replies Last reply
                      1
                      0
                      • dansup@mastodon.socialD dansup@mastodon.social shared this topic
                      • 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
                        #16

                        @LaChasseuse you have to click on the link to GitHub and leave the reaction there.

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

                          *sigh*

                          Looks like Android is stripping GPS EXIF from photos whenever they're shared.

                          Affects QuickShare / Bluetooth - https://issuetracker.google.com/issues/485307531
                          And the web photo picker - https://issuetracker.google.com/issues/40287342

                          Basically the only way to get geolocation is using USB transfer.

                          Like, I get the privacy aspect, but it is so annoying to explain to users of @openbenches that they can't upload via the mobile website any more.

                          #Android #EXIF #Privacy #Geolocation

                          derickr@phpc.socialD This user is from outside of this forum
                          derickr@phpc.socialD This user is from outside of this forum
                          derickr@phpc.social
                          wrote last edited by
                          #17

                          @Edent @openbenches That seems to be talking about Android 14 already. But I don't think it's the Android *OS* that does the stripping, as even with Android 15 I managed to add https://openbenches.org/bench/42085

                          Though I'm on a Fairphone 5 (with stock Android), and I used Firefox.

                          Would you like me to try Chrome to see if that's the problem?

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

                            @Edent @openbenches That seems to be talking about Android 14 already. But I don't think it's the Android *OS* that does the stripping, as even with Android 15 I managed to add https://openbenches.org/bench/42085

                            Though I'm on a Fairphone 5 (with stock Android), and I used Firefox.

                            Would you like me to try Chrome to see if that's the problem?

                            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
                            #18

                            @derickr Yes please. I've tried both and still can't get it to show geodata. I'm on Android 16 though.

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

                              @derickr Yes please. I've tried both and still can't get it to show geodata. I'm on Android 16 though.

                              derickr@phpc.socialD This user is from outside of this forum
                              derickr@phpc.socialD This user is from outside of this forum
                              derickr@phpc.social
                              wrote last edited by
                              #19

                              @Edent If I use the same photo with Chrome as the photo in that bench I linked to in the upload field, it tells me the right location. (I didn't save it, as that'd be a duplicate obviously)

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

                                *sigh*

                                Looks like Android is stripping GPS EXIF from photos whenever they're shared.

                                Affects QuickShare / Bluetooth - https://issuetracker.google.com/issues/485307531
                                And the web photo picker - https://issuetracker.google.com/issues/40287342

                                Basically the only way to get geolocation is using USB transfer.

                                Like, I get the privacy aspect, but it is so annoying to explain to users of @openbenches that they can't upload via the mobile website any more.

                                #Android #EXIF #Privacy #Geolocation

                                colinthemathmo@mathstodon.xyzC This user is from outside of this forum
                                colinthemathmo@mathstodon.xyzC This user is from outside of this forum
                                colinthemathmo@mathstodon.xyz
                                wrote last edited by
                                #20

                                @Edent Useful to know ... I'll be transferring images from my laptop backup of my phone anyway, but useful to know.

                                I understand that the OS might be privacy aware (though I have my doubts) but annoying to have the choice taken from me.

                                CC: @openbenches

                                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

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