Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"react-native-url-polyfill": "^1.3.0",
"react-native-vector-icons": "^9.1.0",
"react-native-version-info": "^1.1.1",
"react-native-webview": "11.17.2",
"react-native-webview": "11.23.1",
"react-native-zip-archive": "^6.0.6",
"react-navigation-header-buttons": "^9.0.1",
"styled-components": "5.3.5"
Expand Down
6 changes: 6 additions & 0 deletions packages/mobile/src/MobileWebAppContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,12 @@ const MobileWebAppContents = ({ destroyAndReload }: { destroyAndReload: () => vo
onError={(err) => console.error('An error has occurred', err)}
onHttpError={() => console.error('An HTTP error occurred')}
onMessage={onMessage}
onContentProcessDidTerminate={() => {
webViewRef.current?.reload()
}}
onRenderProcessGone={() => {
webViewRef.current?.reload()
}}
allowFileAccess={true}
allowUniversalAccessFromFileURLs={true}
injectedJavaScriptBeforeContentLoaded={injectedJS}
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6891,7 +6891,7 @@ __metadata:
react-native-url-polyfill: ^1.3.0
react-native-vector-icons: ^9.1.0
react-native-version-info: ^1.1.1
react-native-webview: 11.17.2
react-native-webview: 11.23.1
react-native-zip-archive: ^6.0.6
react-navigation-header-buttons: ^9.0.1
react-test-renderer: 17.0.2
Expand Down Expand Up @@ -32559,16 +32559,16 @@ __metadata:
languageName: node
linkType: hard

"react-native-webview@npm:11.17.2":
version: 11.17.2
resolution: "react-native-webview@npm:11.17.2"
"react-native-webview@npm:11.23.1":
version: 11.23.1
resolution: "react-native-webview@npm:11.23.1"
dependencies:
escape-string-regexp: 2.0.0
invariant: 2.2.4
peerDependencies:
react: "*"
react-native: "*"
checksum: d49fc0ed3aca00455dbc32efa5d6d4f1c170b82db4134c4a26a2bc508ec2d8c6561cb64eb993ab4a87977c4f51182700344efb45d053819dbb89b6d0fcc2d883
checksum: 58367276b4457a12c0ecb24084c237048a31a8b4d49f53615634052c2dfcb318824e9239909b6bfb80cc8abacab658d278f480f7ff96267d10d5ff84a8ff1373
languageName: node
linkType: hard

Expand Down