From f1284b8231c98cd1621a18fe57aa35381685b744 Mon Sep 17 00:00:00 2001 From: Stephen Bird Date: Tue, 30 May 2017 20:31:25 -0700 Subject: [PATCH] Add message to remind user to enable wifi Summary: Our iOS devs frequently turn off wifi and forget to turn it back on. This message should remind them that they need wifi to connect. Often they waste several minutes due to this problem. I'm not sure if there's a test plan to apply here. Any suggestions? Closes https://github.com/facebook/react-native/pull/13551 Differential Revision: D5149231 Pulled By: hramos fbshipit-source-id: 0afc71024f10f802ac1a50435fb57fc10a02c819 --- React/Base/RCTJavaScriptLoader.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/React/Base/RCTJavaScriptLoader.mm b/React/Base/RCTJavaScriptLoader.mm index 9258cea737e..29f6417cefe 100755 --- a/React/Base/RCTJavaScriptLoader.mm +++ b/React/Base/RCTJavaScriptLoader.mm @@ -218,7 +218,8 @@ static void attemptAsynchronousLoadOfBundleAtURL(NSURL *scriptURL, RCTSourceLoad [@"Could not connect to development server.\n\n" "Ensure the following:\n" "- Node server is running and available on the same network - run 'npm start' from react-native root\n" - "- Node server URL is correctly set in AppDelegate\n\n" + "- Node server URL is correctly set in AppDelegate\n" + "- WiFi is enabled and connected to the same network as the Node Server\n\n" "URL: " stringByAppendingString:scriptURL.absoluteString], NSLocalizedFailureReasonErrorKey: error.localizedDescription, NSUnderlyingErrorKey: error,