diff --git a/package.json b/package.json index 9ec89f52..5c383eac 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "main": "index.js", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "react-native-webview-bridge-updated": "^1.0.0" + "react-native-webview-bridge": "0.40.1" }, "peerDependencies": { "react": "*", diff --git a/src/RichTextEditor.js b/src/RichTextEditor.js index 51e212ef..9fb63052 100644 --- a/src/RichTextEditor.js +++ b/src/RichTextEditor.js @@ -1,6 +1,6 @@ import React, {Component} from 'react'; import PropTypes from 'prop-types'; -import WebViewBridge from 'react-native-webview-bridge-updated'; +import WebViewBridge from 'react-native-webview-bridge'; import {InjectedMessageHandler} from './WebviewMessageHandler'; import {actions, messages} from './const'; import {Modal, View, Text, StyleSheet, TextInput, TouchableOpacity, Platform, PixelRatio, Keyboard, Dimensions} from 'react-native'; @@ -654,4 +654,4 @@ const styles = StyleSheet.create({ marginRight: -20, marginTop: 20 } -}); +}); \ No newline at end of file