immich/mobile/android
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
..
app feat(mobile): add playbackStyle to native sync API (#26541) 2026-02-28 03:08:51 +00:00
fastlane chore: version v2.5.6 2026-02-10 18:24:40 +00:00
gradle/wrapper chore(deps): bump gradle deps (#22344) 2025-09-23 20:47:23 -04:00
metadata/en-US chore(web,mobile): update github repo url (#974) 2022-11-15 20:30:44 -06:00
.gitignore chore: build report 2023-07-28 09:06:25 -05:00
build.gradle chore(deps): bump gradle deps (#22344) 2025-09-23 20:47:23 -04:00
Gemfile Implement CI/CD for Android (#48) 2022-03-13 22:10:07 -05:00
Gemfile.lock chore(deps): update dependency fastlane to v2.220.0 (#9653) 2024-05-22 09:46:53 +00:00
gradle.properties ci: much faster mobile builds (#19490) 2025-06-25 10:40:53 -05:00
settings.gradle chore(deps): bump gradle deps (#22344) 2025-09-23 20:47:23 -04:00