|
|
|
|
278
|
const webViewStyles = [styles.container, styles.webView, style];
|
278
|
const webViewStyles = [styles.container, styles.webView, style];
|
279
|
const webViewContainerStyle = [styles.container, containerStyle];
|
279
|
const webViewContainerStyle = [styles.container, containerStyle];
|
280
|
|
280
|
|
281
|
- if (source && 'method' in source) {
|
|
|
|
|
281
|
+ if (typeof source !== "number" && source && 'method' in source) {
|
282
|
if (source.method === 'POST' && source.headers) {
|
282
|
if (source.method === 'POST' && source.headers) {
|
283
|
console.warn(
|
283
|
console.warn(
|
284
|
'WebView: `source.headers` is not supported when using POST.',
|
284
|
'WebView: `source.headers` is not supported when using POST.',
|