Add GPS geotagging toggle to camera top bar
Users can now opt out of embedding GPS coordinates in photos. The toggle is persisted via SharedPreferences and defaults to enabled. When disabled, effectiveLocation returns null so no EXIF GPS tags are written. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c3e4dc0e79
commit
e9bef0607f
3 changed files with 39 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ Android camera app that applies a real-time tilt-shift (miniature/diorama) blur
|
|||
- Gesture controls: drag to position, pinch to resize, two-finger rotate
|
||||
- Slider panel for precise control of blur, falloff, size, angle, aspect ratio
|
||||
- Multi-lens support on devices with multiple back cameras
|
||||
- EXIF GPS tagging from device location
|
||||
- EXIF GPS tagging with user-toggleable opt-out (persisted across restarts)
|
||||
- Saves processed images to MediaStore (scoped storage)
|
||||
|
||||
## Architecture
|
||||
|
|
@ -97,6 +97,5 @@ Bitmaps emitted to `StateFlow`s are **never eagerly recycled** immediately after
|
|||
|
||||
- `minSdk = 35` (Android 15) — intentional for personal use. Lower to 26-29 if distributing.
|
||||
- Accompanist Permissions (`0.36.0`) is deprecated; should migrate to first-party `activity-compose` API.
|
||||
- No user-facing toggle to disable GPS tagging — location is embedded whenever permission is granted.
|
||||
- Dependencies are pinned to late-2024 versions; periodic bumps recommended.
|
||||
- Fragment shader uses `int` uniform branching in GLSL ES 1.00 — works but could be cleaner with ES 3.00.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue