react-native-jw-media-player
react-native-jw-media-player copied to clipboard
ios app is crashing when jwplayer is unmounted
Here's the crash log :
Crashed: com.apple.main-thread
0 JWPlayerKit 0x187b28 keypath_get_selector_timeControlStatus + 13260
1 JWPlayerKit 0xba3d8 block_destroy_helper.15 + 8368
2 JWPlayerKit 0x17ce4 block_destroy_helper.13 + 3760
3 JWPlayerKit 0x20868 keypath_get.5Tm + 6976
4 JWPlayerKit 0x203b4 keypath_get.5Tm + 5772
5 JWPlayerKit 0x20f1c keypath_get.5Tm + 8692
6 JWPlayerKit 0x12c818 block_destroy_helper.6 + 11920
7 JWPlayerKit 0xe2678 block_destroy_helper.36 + 40920
8 JWPlayerKit 0xd86c0 block_destroy_helper.36 + 32
9 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release + 32
10 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20
11 libdispatch.dylib 0x127f4 _dispatch_main_queue_drain + 928
12 libdispatch.dylib 0x12444 _dispatch_main_queue_callback_4CF + 44
13 CoreFoundation 0x9a6f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
14 CoreFoundation 0x7c058 __CFRunLoopRun + 2036
15 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612
16 GraphicsServices 0x1368 GSEventRunModal + 164
17 UIKitCore 0x3a23d0 -[UIApplication _run] + 888
18 UIKitCore 0x3a2034 UIApplicationMain + 340
19 AppUAT 0x6248 main + 27 (AppDelegate.swift:27)
20 ??? 0x1de464960 (Missing)
Is there a solution to this problem?
I'm also having this issue. I'm not getting any logs from React Native via metro nor react-native log-ios.
I did try out different versions, and found that it's happening as of version 0.2.42. Perhaps it's related to the Swift migration?
It seems like 0.2.41 isn't having this issue, so I might stick with that until this is resolved.