|
@@ -151,6 +151,14 @@ class WebView extends React.Component<WebViewSharedProps, State> {
|
151
|
151
|
'The scalesPageToFit property is not supported when useWebKit = true',
|
152
|
152
|
);
|
153
|
153
|
}
|
|
154
|
+ if (
|
|
155
|
+ !this.props.useWebKit &&
|
|
156
|
+ this.props.allowsBackForwardNavigationGestures
|
|
157
|
+ ) {
|
|
158
|
+ console.warn(
|
|
159
|
+ 'The allowsBackForwardNavigationGestures property is not supported when useWebKit = false',
|
|
160
|
+ );
|
|
161
|
+ }
|
154
|
162
|
}
|
155
|
163
|
|
156
|
164
|
render() {
|
|
@@ -262,6 +270,7 @@ class WebView extends React.Component<WebViewSharedProps, State> {
|
262
|
270
|
this.props.automaticallyAdjustContentInsets
|
263
|
271
|
}
|
264
|
272
|
hideKeyboardAccessoryView={this.props.hideKeyboardAccessoryView}
|
|
273
|
+ allowsBackForwardNavigationGestures={this.props.allowsBackForwardNavigationGestures}
|
265
|
274
|
onLoadingStart={this._onLoadingStart}
|
266
|
275
|
onLoadingFinish={this._onLoadingFinish}
|
267
|
276
|
onLoadingError={this._onLoadingError}
|