We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78618b0 commit d756a73Copy full SHA for d756a73
1 file changed
index.js
@@ -20,6 +20,7 @@ const WEBVIEW_REF = 'webview';
20
21
const propTypes = {
22
url: PropTypes.string,
23
+ headers: PropTypes.object,
24
hideToolbar: PropTypes.bool,
25
hideAddressBar: PropTypes.bool,
26
hideStatusBar: PropTypes.bool,
@@ -130,7 +131,7 @@ class WebBrowser extends BaseComponent {
130
131
ref={WEBVIEW_REF}
132
automaticallyAdjustContentInsets={false}
133
style={styles.webView}
- source={{uri: this.state.url}}
134
+ source={{uri: this.state.url, headers: this.props.headers}}
135
javaScriptEnabled={true}
136
domStorageEnabled={true}
137
decelerationRate="normal"
0 commit comments