From 0595585cc205f91ffba84262457c762380a6ba9d Mon Sep 17 00:00:00 2001 From: Noah Malmed Date: Thu, 8 Feb 2018 15:57:41 -0600 Subject: [PATCH] Webview bridge is no longer supported. Eventually this functionality will get moved into core: https://github.com/alinz/react-native-webview-bridge/issues/109. But leaving it out for now. --- src/components/ZooWebView.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/ZooWebView.js b/src/components/ZooWebView.js index aa0606e4..74a4eec8 100644 --- a/src/components/ZooWebView.js +++ b/src/components/ZooWebView.js @@ -3,14 +3,14 @@ import { Alert, Linking, Platform, - View + View, + WebView } from 'react-native' import EStyleSheet from 'react-native-extended-stylesheet' import NavBar from './NavBar' import { setState, setIsFetching } from '../actions/index' import { connect } from 'react-redux' import {Actions} from 'react-native-router-flux' -import WebViewBridge from 'react-native-webview-bridge' import OverlaySpinner from './OverlaySpinner' import PropTypes from 'prop-types'; @@ -67,9 +67,8 @@ class ZooWebView extends React.Component { return ( {this.onBack()}} /> - { this.props.setIsFetching(false) - setTimeout(() => { this.refs[WEBVIEW_REF].sendToBridge('get-links') }, 1500) } handleExternalLink(url) {