Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Critical Issues with iOS Radio App After Upgrading to Expo SDK 51 and 52 #2423

Open
radiopasja opened this issue Dec 23, 2024 · 0 comments
Open
Labels

Comments

@radiopasja
Copy link

We are experiencing a critical issue with our iOS radio application after upgrading from SDK 48 to SDK versions 51 and 52** (while our Android version works without any problems). The app initially loads correctly, but after launching the stream (we use RNTP) and reopening it, the audio no longer plays. The same issue occurs with podcasts: it may work once, but not the next time. Additionally, the background player does not function properly, certain functional files are not working, and the cover art is not being fetched. However, adjusting the volume (both lowering and raising) still works.

We are building our app with Expo (React Native/Expo) and have verified and replaced our certificates according to Apple’s guidelines, but the issue persists. Below are the iOS logs showing the TLS trust evaluation and legacy session errors we encounter:
ERROR LOGS
Dec 16 14:00:17 mediaplaybackd(RTCReporting)[406] : failed to configure legacy session:
Dec 16 14:00:17 mediaplaybackd(CFNetwork)[406] : Connection 48: default TLS Trust evaluation failed(-9843)
Dec 16 14:00:17 mediaplaybackd(CFNetwork)[406] : Connection 48: TLS Trust encountered error 3:-9843
Dec 16 14:00:17 mediaplaybackd(CFNetwork)[406] : Connection 48: encountered error(3:-9843)
Dec 16 14:00:17 mediaplaybackd(CFNetwork)[406] : Task .<28> HTTP load failed, 0/0 bytes (error code: -1202 [3:-9843])
Dec 16 14:00:17 mediaplaybackd(CFNetwork)[406] : Task .<28> finished with error [-1202] Error Domain=NSURLErrorDomain Code=-1202 UserInfo={
NSLocalizedRecoverySuggestion=,
_kCFStreamErrorDomainKey=3,
NSErrorPeerCertificateChainKey=,
NSErrorClientCertificateStateKey=0,
NSErrorFailingURLKey=,
NSErrorFailingURLStringKey=https://pancake.apple.com/cmremoteconfig/2/default,
NSUnderlyingError=0x6f13f2940 {
Error Domain=kCFErrorDomainCFNetwork Code=-1202 UserInfo={
_kCFStreamPropertySSLClientCertificateState=0,
kCFStreamPropertySSLPeerTrust=,
_kCFNetworkCFStreamSSLErrorOriginalValue=-9843,
_kCFStreamErrorDomainKey=3,
_kCFStreamErrorCodeKey=-9843,
kCFStreamPropertySSLPeerCertificates=
}
},
_NSURLErrorRelatedURLSessionTaskErrorKey=,
_kCFStreamErrorCodeKey=-9843,
_NSURLErrorFailingURLSessionTaskErrorKey=,
NSURLErrorFailingURLPeerTrustErrorKey=,
NSLocalizedDescription=

Summary of the problem

iOS builds on SDK 51/52: Audio stream fails after the first launch; podcasts exhibit the same behavior.
The background player is unreliable and cover art is not fetched.
Volume controls do still work.
The last time the app worked correctly was with SDK 48.
Logs indicate a TLS trust evaluation issue and a failed legacy session error.
Despite verifying and updating certificates in line with Apple’s requirements, the problem remains unresolved.

@radiopasja radiopasja added the Bug label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant