react-native-red5pro icon indicating copy to clipboard operation
react-native-red5pro copied to clipboard

Crash on App Launch 0.62.2 in Debug Mode

Open andrew-schenk opened this issue 5 years ago • 2 comments

Following the setup instructions listed here.

React Native: 0.62.2 Target: iOS Debug: true

npx react-native init Red5ProDemo

Clean new 62.2 react native app is unrunnable once the install steps are followed for this SDK.

The app installs onto the physical iPhone and then promptly crashes as shown below.

libc++abi.dylib: terminating with uncaught exception of type folly::AsyncSocketException: AsyncSocketException: recv() failed (peer=[::1]:8089, local=[::1]:63792), type = Internal error, errno = 54 (Connection reset by peer)

When building in Release mode, it does not crash. I'm guessing it has to do with React Native 62's inclusion of Flipper, the new debugging tool.

Backtracking to React Native 0.61.5 installs Red5Pro correctly and it does not crash in debugging on app launch.

andrew-schenk avatar Jun 01 '20 17:06 andrew-schenk

Yeah, faced the same. Something to do with the Flipper, it works if I disable Flipper manually, this definitely needs a fix😕

chungweileong94 avatar Jul 22 '20 10:07 chungweileong94

Another workaround is to have Flipper open beforehand.

chungweileong94 avatar Jul 23 '20 03:07 chungweileong94