[ReactNative] Fix and re-add WebView executor

This commit is contained in:
Tadeu Zagallo
2015-04-07 17:53:56 -07:00
parent ccbd656070
commit 72390239be
4 changed files with 14 additions and 10 deletions

View File

@@ -47,7 +47,7 @@ typedef void (^WSMessageCallback)(NSError *error, NSDictionary *reply);
[NSURLConnection connectionWithRequest:[NSURLRequest requestWithURL:startDevToolsURL] delegate:nil];
if (![self connectToProxy]) {
RCTLogError(@"Connection to %@ timed out. Are you running node proxy?", url);
RCTLogError(@"Connection to %@ timed out. Are you running node proxy? If you are running on the device check if you have the right IP address on `RCTWebSocketExecutor.m` file.", url);
[self invalidate];
return nil;
}