Comment by ajifurai
18 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.
You're doing it wrong then. I again verified on Android 16 using native Bluetooth sharing.
On my Pixel 9 Pro Fold (Android 16) and Oppo Find X3 Pro (Android 13), when I opened a photo in the Google Photos app and selected Share → Bluetooth, the GPS location was stripped. What app did you share from?
https://i.imgur.com/cwbigQ8.mp4 before: https://i.imgur.com/ixBvA4T.jpeg after (received): https://i.imgur.com/S5fTEG4.jpeg
However, I confirmed that the GPS location remains when sharing an image file that isn't stored in the MediaStore (for example, placed in the same directory as a .nomedia file). In this case, only the Share button is displayed at the bottom of the Photos app, and the shared URI is not `content://com.google.android.apps.photos.contentprovider/0/1/content://media/...` but like `content://com.google.android.apps.photos.contentprovider/-1/1/file:///data/...`. You can check the URI by sharing to Intent Intercept app on F-Droid.