1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Chore: Mobile: Allow debugging iOS WebViews when running in dev mode (#9659)

Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
This commit is contained in:
Henry Heino 2024-01-06 04:13:00 -08:00 committed by GitHub
parent 723b708d89
commit 7a13003af5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,6 +149,7 @@ const ExtendedWebView = (props: Props, ref: Ref<WebViewControl>) => {
mixedContentMode={props.mixedContentMode}
allowFileAccess={true}
allowFileAccessFromFileURLs={props.allowFileAccessFromJs}
webviewDebuggingEnabled={Setting.value('env') === 'dev'}
injectedJavaScript={props.injectedJavaScript}
onMessage={props.onMessage}
onError={props.onError}