ConnectyCube / connectycube-reactnative-samples

Chat and Video Chat code samples for React Native, ConnectyCube
https://connectycube.com
Apache License 2.0
125 stars 111 forks source link

White screen on all sample applications #90

Closed tylercreller closed 4 years ago

tylercreller commented 4 years ago

Following instructions for each of the READMEs, I am seeing the splash screen followed by a blank white screen when attempting to view the applications on simulated and real devices running iOS.

2020-06-26 10:20:45.380 [info][tid:main][RCTRootView.m:293] Running application Rnchat ({
    initialProps =     {
    };
    rootTag = 1;
})
2020-06-26 10:20:45.427411-0400 RNChat[403:20021] [] nw_socket_handle_socket_event [C3.1:1] Socket SO_ERROR [61: Connection refused]
2020-06-26 10:20:45.439722-0400 RNChat[403:20021] [] nw_socket_handle_socket_event [C3.2:1] Socket SO_ERROR [61: Connection refused]
2020-06-26 10:20:45.440537-0400 RNChat[403:20026] [] nw_connection_get_connected_socket [C3] Client called nw_connection_get_connected_socket on unconnected nw_connection
2020-06-26 10:20:45.440591-0400 RNChat[403:20026] TCP Conn 0x281370f00 Failed : error 0:61 [61]
2020-06-26 10:20:45.871 [error][tid:com.facebook.react.JavaScript] React Native version mismatch.

JavaScript version: 0.62.2
Native version: 0.61.5

Make sure that you have rebuilt the native code. If the problem persists try clearing the Watchman and packager caches with `watchman watch-del-all && react-native start --reset-cache`.
2020-06-26 10:20:45.942 [error][tid:com.facebook.react.JavaScript] Error: Requiring unknown module "748". If you are sure the module exists, try restarting Metro. You may also want to run `yarn` or `npm install`.
2020-06-26 10:20:45.951774-0400 RNChat[403:20023] [] nw_socket_handle_socket_event [C6:1] Socket SO_ERROR [61: Connection refused]
2020-06-26 10:20:45.952418-0400 RNChat[403:20025] [] nw_connection_get_connected_socket [C6] Client called nw_connection_get_connected_socket on unconnected nw_connection
2020-06-26 10:20:45.952492-0400 RNChat[403:20025] TCP Conn 0x281372340 Failed : error 0:61 [61]
2020-06-26 10:20:45.957 [error][tid:com.facebook.react.JavaScript] Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
DaveLomber commented 4 years ago

Can it be an issue in your case?

https://stackoverflow.com/a/47764280

tylercreller commented 4 years ago

Yep, you are 100% correct. I thought I had closed all terminals, but apparently I did not. Thanks for making me double check!