immich/mobile/ios
Ijas 998fd5f6a8
fix(mobile): send date-only value for memories query param (#30049)
* fix(ios-widget): send date-only value for memories query param

Server v3.0.3 (immich-app#29907) validates the /memories `for` query
param with a date-only schema (YYYY-MM-DD). The iOS widget still sent a
full ISO 8601 datetime, so every request 400s and the widget shows
"Unable to connect to your Immich instance" on any server >= v3.0.3.

Build the value from the local calendar day, matching what the web
client (memory-manager.svelte.ts) and Android already send, instead of
a UTC datetime.

Also fix a related bug in the timeline provider: fetchMemory was
called with a bare try inside a Task, so a failure silently dropped
the error and never called completion, leaving the widget in a stale
state instead of showing an error card. Wrap it in a guard/try?, same
pattern already used in getSnapshot.

Fixes immich-app#30044

Signed-off-by: ajuijas <189517297+ajuijas@users.noreply.github.com>

* address review: drop unrelated widget change and comment

Signed-off-by: ajuijas <189517297+ajuijas@users.noreply.github.com>

---------

Signed-off-by: ajuijas <189517297+ajuijas@users.noreply.github.com>
Co-authored-by: ajuijas <189517297+ajuijas@users.noreply.github.com>
Co-authored-by: Santo Shakil <santoshakil@users.noreply.github.com>
2026-07-22 14:19:19 +06:00
..
ci_scripts fix: shell scripts (#7186) 2024-02-18 17:03:01 -06:00
fastlane fix: strip rc suffix from iOS marketing version (#28741) 2026-06-01 09:56:43 -05:00
Flutter chore: pump flutter to 3.41.6 (#27834) 2026-04-16 22:26:46 +05:30
Runner fix(mobile): treat wired ethernet as unmetered on ios (#29351) 2026-07-21 11:02:36 -05:00
Runner.xcodeproj chore(mobile): enable Xcode displaying issues from Flutter inline (#30080) 2026-07-20 14:16:12 -05:00
Runner.xcworkspace chore(mobile): bump maplibre to 0.26.2 in SwiftPM lock (#30108) 2026-07-21 10:44:30 -05:00
scripts chore(mobile): enable Xcode displaying issues from Flutter inline (#30080) 2026-07-20 14:16:12 -05:00
ShareExtension fix(mobile): separate group ids for separate app installs (#28448) 2026-05-21 12:25:20 -05:00
WidgetExtension fix(mobile): send date-only value for memories query param (#30049) 2026-07-22 14:19:19 +06:00
.gitignore chore(mobile): expose signing and bundle identities through envvars and config (#29077) 2026-07-16 07:44:50 -07:00
Gemfile ci: ios builds (#28847) 2026-06-05 03:50:39 +05:30
Podfile chore(mobile): drop support for iOS 14 (#29780) 2026-07-16 07:45:22 -07:00
Podfile.lock chore: pump home_widget (#29981) 2026-07-16 21:58:11 +05:30
Signing.xcconfig chore(mobile): expose signing and bundle identities through envvars and config (#29077) 2026-07-16 07:44:50 -07:00