mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat(mobile): deep links (#19232)
* add deep linking on ios app * add deeplinking to android * code review fixes * lint * cleanly handle malformed URIs when launching app * refactor deep link builder/service, still have bug with navigation stack not containing TabControllerRoute * fix: tab controller insertion conditions * add my.immich.app app linking * chore: remove one-liner if statement --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
c759233d8c
commit
7d0e8f50f7
14 changed files with 251 additions and 5 deletions
|
|
@ -549,4 +549,9 @@ class AssetService {
|
|||
|
||||
await _assetRepository.updateAll(updatedAssets);
|
||||
}
|
||||
|
||||
Future<Asset?> getAssetByRemoteId(String remoteId) async {
|
||||
final assets = await _assetRepository.getAllByRemoteId([remoteId]);
|
||||
return assets.isNotEmpty ? assets.first : null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue