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

Fix crash in RCTConvert+GCKMediaTextTrackStyle #517

Merged

Conversation

Minishlink
Copy link
Contributor

Hello,

This fixes the following crash:

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0xec69c __exceptionPreprocess
1  libobjc.A.dylib                0x2bc80 objc_exception_throw
2  CoreFoundation                 0x5623c -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]
3  CoreFoundation                 0x55b60 +[NSDictionary dictionaryWithObjects:forKeys:count:]
4  app                  0xadafa4 +[RCTConvert(GCKMediaTextTrackStyle) fromGCKMediaTextTrackStyle:] + 64 (RCTConvert+GCKMediaTextTrackStyle.m:64)
5  app                  0xad5c40 +[RCTConvert(GCKMediaInformation) fromGCKMediaInformation:] + 148 (RCTConvert+GCKMediaInformation.m:148)
6  app                  0xada2a4 +[RCTConvert(GCKMediaStatus) fromGCKMediaStatus:] + 36 (RCTConvert+GCKMediaStatus.m:36)
7  app                  0xadfc3c __57-[RNGCRemoteMediaClient getMediaStatusResolver:rejecter:]_block_invoke + 84 (RNGCRemoteMediaClient.m:84)
8  app                  0xae0f18 __58-[RNGCRemoteMediaClient withClientResolve:reject:perform:]_block_invoke + 329 (RNGCRemoteMediaClient.m:329)

@petrbela petrbela merged commit 1ed301f into react-native-google-cast:main Feb 15, 2024
0 of 4 checks passed
@Minishlink Minishlink deleted the fix-GCKColor-crash branch February 15, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants