summaryrefslogtreecommitdiff
path: root/player-android/lib/models/json_helpers.dart
AgeCommit message (Collapse)Author
2026-05-20Guard dateTimeFromJson against malformed date strings (c9)Paul Buetow
Wrap DateTime.parse in try/catch so a malformed or non-ISO-8601 date string from the server degrades to null instead of throwing a FormatException that crashes model deserialization across Media, MediaSet, User, PodcastFeed, PodcastEpisode, PlaybackHint, Share, and Note. Add player-android/test/json_helpers_test.dart with 11 tests covering null, empty, non-string, valid ISO, and malformed inputs (regression guard for the original crash). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17Add player-android/ Flutter skeletonPaul Buetow