kanzitelli / rnn-starter

🤹 React Native Starter - Powered by cli-rn, React Native Navigation, Expo Modules, RNN Screens, RN UI lib, MMKV, Mobx, Reanimated 2, Dark Mode, Splash Screen, Localization, Notifications, Permissions, and much more.
https://starters.dev
MIT License
551 stars 72 forks source link

Starter is stuck on the splash screen #14

Closed hlandao closed 4 years ago

hlandao commented 4 years ago

Trying to run the starter from a clean state but it is not passing the splash screen. Did anyone run into a similar issue?

XCODE logs:

2020-09-01 11:35:05.286100+0300 rnn_starter[87062:2845121] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
2020-09-01 11:35:05.286204+0300 rnn_starter[87062:2845121] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
flipper: FlipperClient::addPlugin Inspector
flipper: FlipperClient::addPlugin Preferences
flipper: FlipperClient::addPlugin React
flipper: FlipperClient::addPlugin Network
2020-09-01 11:35:05.676731+0300 rnn_starter[87062:2845121] [native] Running application main ({
    initialProps =     {
    };
    rootTag = 1;
})
2020-09-01 11:35:12.469059+0300 rnn_starter[87062:2846306] [native] RCTBridge required dispatch_sync to load RCTDevLoadingView. This may lead to deadlocks
2020-09-01 11:35:12.535976+0300 rnn_starter[87062:2846308] [native] RCTBridge required dispatch_sync to load RCTDevLoadingView. This may lead to deadlocks
2020-09-01 11:35:12.575013+0300 rnn_starter[87062:2845121] Unbalanced calls to begin/end appearance transitions for <UIViewController: 0x7fe7622046c0>.
2020-09-01 11:35:12.576282+0300 rnn_starter[87062:2845121] [native] Invalidating <RCTCxxBridge: 0x7fe762409f40> (parent: (null), executor: (null))
2020-09-01 11:35:12.753080+0300 rnn_starter[87062:2845399] [] nw_socket_handle_socket_event [C6.1:1] Socket SO_ERROR [61: Connection refused]
2020-09-01 11:35:12.755399+0300 rnn_starter[87062:2845399] [] nw_socket_handle_socket_event [C6.2:1] Socket SO_ERROR [61: Connection refused]
2020-09-01 11:35:12.756947+0300 rnn_starter[87062:2846308] [] nw_connection_get_connected_socket [C6] Client called nw_connection_get_connected_socket on unconnected nw_connection
2020-09-01 11:35:12.757318+0300 rnn_starter[87062:2846308] TCP Conn 0x600001241500 Failed : error 0:61 [61]
kanzitelli commented 4 years ago

@hlandao hey there! I have just cloned the starter and run it on simulator, everything works. And XCode logs don't seem to have any crucial errors 🤔 Could you share more information about the changes you've done to the code? Do you run it on a simulator or real device? One issue that happens to me on the very first launch is that It shows error that it is not connected to Metro Bundle server but it goes after refreshing app by pressing R or just opening it again.

hlandao commented 4 years ago

@kanzitelli thanks for the quick response. I was trying both on a simulator and a real device. I will try again and update quickly.

hlandao commented 4 years ago

@kanzitelli Strangely cleaning derived data made the difference.