You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] [iOS] Playlist item build failures are silently discarded by try? #250
The try? discards the error. A malformed item is dropped with no signal to JS — no event, no warning, no count. The resulting playlistArray may be partially or entirely empty, and loadPlaylist is then called with it, indistinguishable from success.
Expected behavior
An item that fails to build should be observable from the React Native side — e.g. an onPlayerWarning per dropped item carrying the underlying error, and/or a count of items actually loaded.
Impact / why this matters
This directly cost us investigation time on #248. We could not exclude "the array arrived empty" as the cause without reading the module's Swift source, because nothing about the failure is observable from JS.
For a library where the playlist is supplied from application state, silent partial loading is a difficult class of bug to diagnose from the consumer side.
Additional context
Unchanged in 1.7.0 and on main. Related: #248, and #115 where item construction was rejecting valid input.
Activity