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
authorizeAndPlayURI internally uses UIApplication.openURL(_ url: URL) -> Bool. While this method has been soft-deprecated for a while now, that appears to have changed in iOS 18.
BUG IN CLIENT OF UIKIT: The caller of UIApplication.openURL(_:) needs to migrate to the non-deprecated UIApplication.open(_:options:completionHandler:). Force returning false (NO).
SPTSessionManager.initiateSession does not appear to be affected.
Workaround
This is the structure of the URL that authorizeAndPlayURI attempts to open:
Thanks for the super helpful report. Was not even aware that this was a hard depreciation that didn't jive with the prior versions of the SDK, which resulted in no audio.
authorizeAndPlayURI
internally usesUIApplication.openURL(_ url: URL) -> Bool
. While this method has been soft-deprecated for a while now, that appears to have changed in iOS 18.SPTSessionManager.initiateSession
does not appear to be affected.Workaround
This is the structure of the URL that
authorizeAndPlayURI
attempts to open:when not playing as radio
when playing as radio
remote_session_id
is optional, andplay_uri
can be an empty string (play_uri=
)The text was updated successfully, but these errors were encountered: