feat(mobile): Android. Immich as a gallery / image viewer app#26109
Open
PeterOmbodi wants to merge 10 commits intoimmich-app:mainfrom
Open
feat(mobile): Android. Immich as a gallery / image viewer app#26109PeterOmbodi wants to merge 10 commits intoimmich-app:mainfrom
PeterOmbodi wants to merge 10 commits intoimmich-app:mainfrom
Conversation
added 6 commits
February 5, 2026 18:54
- add ViewIntent Pigeon API and generated bindings - implement Android ViewIntentPlugin + iOS no-op host - route ExternalMediaViewer by ViewIntentAttachment - buffer pending view intents and flush on user ready/resume
# Conflicts: # mobile/android/app/src/main/kotlin/app/alextran/immich/MainActivity.kt # mobile/ios/Runner/AppDelegate.swift # mobile/makefile
- hash local asset on-demand when checksum missing - search main timeline by localId or checksum before standalone viewer - persist computed hash into local_asset_entity
drop ExternalMediaViewer route
Member
|
woo, exciting! |
8 tasks
|
Can't wait for this! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Make Immich available as a gallery / image viewer app (open images from other apps)
Enable Android
ACTION_VIEWintegration so Immich can open images/videos from external apps, resolve to existing local assets when possible, and show them in the native Immich asset viewer experience.Discussions:
#1605
How Has This Been Tested?
On an Android device:
Resolution behavior:
Case A - asset is already indexed by Immich:
Open a media file that is already present in Immich (for example, from a backed-up folder).
Verify that the asset opens in the regular Immich viewer with the same controls as when opened from the timeline.
Case B - asset is not indexed by Immich:
Open a media file that is not present in Immich’s local index.
Verify that Immich shows a preview with an Upload to Immich action available.
After uploading, verify that the asset appears in the Immich timeline and opens with the full viewer controls.
Case С - asset cannot be resolved:
Open a media file for which a Media ID cannot be resolved.
Verify that Immich shows a basic preview with limited controls (view-only fallback).
Tested using:
ACTION_VIEWintents from external apps (file managers)Screenshots
Screen_recording_20260210_182217.mp4
Checklist:
src/services/uses repositories implementations for database calls, filesystem operations, etc.src/repositories/is pretty basic/simple and does not have any immich specific logic (that belongs insrc/services/)...