Skip to content

Commit df9a25f

Browse files
Add support for stopLoading function in android
1 parent cab93e4 commit df9a25f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

webview-bridge/index.android.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,14 @@ var WebViewBridge = React.createClass({
168168
);
169169
},
170170

171+
stopLoading: function() {
172+
UIManager.dispatchViewManagerCommand(
173+
this.getWebViewBridgeHandle(),
174+
UIManager.RCTWebViewBridge.Commands.stopLoading,
175+
null
176+
);
177+
},
178+
171179
sendToBridge: function (message: string) {
172180
UIManager.dispatchViewManagerCommand(
173181
this.getWebViewBridgeHandle(),

0 commit comments

Comments
 (0)