Commit 5ee9acbc01d09e6a128e2d9de8d97a4267a8537d

Authored by Andrei Pfeiffer
1 parent ef167bae
Exists in master

Enable JS in example app webview

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
examples/custom-webview-android/App.js
... ... @@ -18,6 +18,8 @@ export default class App extends Component {
18 18 style={styles.container}
19 19 webviewRef={e => (this.webview = e)}
20 20 injectedJavaScript={"alert('Custom webview loaded')"}
  21 + javaScriptEnabled={true}
  22 + domStorageEnabled={true}
21 23 source={{
22 24 uri:
23 25 "https://andreipfeiffer.github.io/react-native-webview-android-file-upload/index.html"
... ...