mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
fix(android): use system photo picker
Block broad image and video read permissions in Expo config and the checked-in Android manifest. Keep picker access scoped to user-selected media and gallery saves write-only. Add regression coverage and document the release-manifest invariant.
This commit is contained in:
1 parent
5e581efe51
commit
8658fc38fe
9 files changed
+156
-23
No files matched your search
@@ -85,6 +85,15 @@ may change: `app.json`, the platform native version file, and the iOS widget
|
||||
`Info.plist` for an iOS build. Any widget implementation, resource, or Xcode
|
||||
project rewrite means the source was regenerated and the artifact must be rebuilt
|
||||
from the clean tracked sources.
|
||||
|
||||
### Android media permission policy
|
||||
|
||||
Sauci uses the Android system photo picker for user-selected images and videos.
|
||||
Android release manifests must not contain `READ_MEDIA_IMAGES` or
|
||||
`READ_MEDIA_VIDEO`. Gallery save flows request add-only access and must not add
|
||||
broad read access. After any Expo, media-library, image-picker, or native Android
|
||||
change, run `:app:processReleaseMainManifest` and inspect the merged release
|
||||
manifest before building an artifact for Google Play.
|
||||
|
||||
### Building an APK (for Testing)
|
||||
|
||||
|
||||
Reference in new issue
Block a user