fixed a bug

This commit is contained in:
Ali Najafizadeh 2015-12-09 12:20:33 -05:00
parent 7be4672270
commit 87a19570db
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)aDecoder)
BOOL isJSNavigation = [request.URL.scheme isEqualToString:RCTJSNavigationScheme];
if (!isJSNavigation && [request.URL.scheme isEqualToString:RCTWebViewBridgeSchema]) {
NSString* message = [webView stringByEvaluatingJavaScriptFromString:@"WebViewBridge._fetch()"];
NSString* message = [webView stringByEvaluatingJavaScriptFromString:@"WebViewBridge.__fetch__()"];
NSMutableDictionary<NSString *, id> *onBridgeMessageEvent = [[NSMutableDictionary alloc] initWithDictionary:@{
@"messages": [self stringArrayJsonToArray: message]