We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13b20a1 commit e77c2d7Copy full SHA for e77c2d7
apple/RNCWebView.mm
@@ -134,7 +134,8 @@ - (instancetype)initWithFrame:(CGRect)frame
134
.canGoBack = static_cast<bool>([[dictionary valueForKey:@"canGoBack"] boolValue]),
135
.canGoForward = static_cast<bool>([[dictionary valueForKey:@"canGoForward"] boolValue]),
136
.loading = static_cast<bool>([[dictionary valueForKey:@"loading"] boolValue]),
137
- .data = std::string([[dictionary valueForKey:@"data"] UTF8String])
+ .data = std::string([[dictionary valueForKey:@"data"] UTF8String]),
138
+ .isMainFrame = static_cast<bool>([[dictionary valueForKey:@"isMainFrame"] boolValue])
139
};
140
webViewEventEmitter->onMessage(data);
141
}
0 commit comments