immich/mobile/test/domain/services
Luis Nachtigall d6c724b13b
feat(mobile): add playbackStyle to native sync API (#26541)
* feat(mobile): add playbackStyle to native sync API

Adds a `playbackStyle` field to `PlatformAsset` in the pigeon sync API so
native platforms can communicate the asset's playback style (image, video,
animated, livePhoto) to Flutter during sync.

- Add `playbackStyleValue` computed property to `PHAsset` extension (iOS)
- Populate `playbackStyle` in `toPlatformAsset()` and the full-sync path
- Update generated Dart/Kotlin/Swift files

* fix(tests): add playbackStyle to local asset test cases

* fix(tests): update playbackStyle to use integer values in local sync tests

* feat(mobile): extend playbackStyle enum to include videoLooping

* Update PHAssetExtensions.swift

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(playback): simplify playbackStyleValue implementation by removing iOS version check

* feat(android): implement proper playbackStyle detection

* add PlatformAssetPlaybackStyle enum

* linting

---------

Co-authored-by: Mert <101130780+mertalev@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-28 03:08:51 +00:00
..
album.service_test.dart perf(mobile): optimized album sorting (#25179) 2026-02-23 20:13:45 +05:30
asset.service_test.dart feat: image editing (#24155) 2026-01-09 17:59:52 -05:00
hash_service_test.dart fix: slow hash reconcilation (#25503) 2026-01-26 09:12:00 -06:00
local_sync_service_test.dart feat(mobile): add playbackStyle to native sync API (#26541) 2026-02-28 03:08:51 +00:00
log_service_test.dart feat: migrate store to sqlite (#21078) 2025-08-21 14:58:50 -05:00
store_service_test.dart fix: mobile unawaited_futures lint (#21661) 2025-10-27 09:32:52 -05:00
sync_stream_service_test.dart fix: missing deletedAt and isVisible columns on mobile (#26414) 2026-02-23 09:50:54 -05:00
user_service_test.dart fix: user profile images not working in beta timeline (#20203) 2025-07-30 11:09:28 -05:00