Skip to content

Remove the in-app photo sheet Android never shows - #137

Merged
Tarquinen merged 1 commit into
devfrom
remove-photo-sheet
Nov 18, 2026
Merged

Tarquinen merged 1 commit into
devfrom
remove-photo-sheet

Conversation

@Tarquinen

Copy link
Copy Markdown
Member

Android has no photo library access (Play policy), so PhotoLibraryClient always reported Unavailable and the + menu's Photos always opened the system photo picker. The ported iOS photo sheet, the photo flights into the composer, the recent-photo peek on holding + and the sheet's inline camera could never appear.

This removes them along with the composer morph and glass hand-off that only the sheet drove, plus their tests, strings and translations. The session screen keeps a small SessionAttachmentMenuState for the + menu. The few helpers the live screen used move to plusmenu/ActivityPermissions.kt, plusmenu/VideoDurationBadge.kt and RequestDockView.kt. Parity rows are updated.

No user-visible change.

Verified: scripts/check.sh on every module. On the emulator: the + menu opens, and closes on Back and on an outside tap. Photos opens the system picker and the picked image lands as an attachment, then the keyboard comes back. Files opens the document picker and Camera opens the camera screen. Hold-and-slide on + matches a dev build.

Android has no photo library access (Play only allows READ_MEDIA_IMAGES for
photo apps), so PhotoLibraryClient always reported Unavailable and the + menu's
Photos item always opened the system photo picker. The ported iOS photo sheet,
its photo flights into the composer, the recent-photo peek on holding + and the
sheet's inline camera could never appear.

This removes them, their tests, strings and translations, and the composer morph
and glass hand-off that only the sheet drove. The session screen keeps a small
SessionAttachmentMenuState for the + menu. The pieces the live screen still used
move to plusmenu/ActivityPermissions.kt (findActivity, requestPermissionsAndAwait)
and plusmenu/VideoDurationBadge.kt (formatVideoDuration, VideoDurationBadge);
inertToFocus moves next to its one caller in RequestDockView.kt. Parity rows say
the sheet is not ported because Android uses the system photo picker.

Verified: vm.sh check (all modules) passes; translations.py all is clean. On the
emulator, the + menu opens and closes on Back and an outside tap, Photos opens
the system picker and the picked image lands as an attachment with the keyboard
back, Files opens the document picker, Camera opens the camera screen, and
holding + and sliding highlights rows exactly as a dev build does.
@Tarquinen
Tarquinen merged commit 245e3a3 into dev Nov 18, 2026
3 checks passed
@Tarquinen Tarquinen mentioned this pull request Nov 18, 2026

This branch was previously deployed

1 inactive deployment
release — 085a3955 Deployed Nov 18, 2026 by Tarquinen via check #438
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant