Skip to content
Browse files
chore(ios): remove gap from CSP (#67)
  • Loading branch information
erisu committed Jul 21, 2021
1 parent b0bf851 commit d3597df062585888f521367e63438a775457e284
Showing 1 changed file with 1 addition and 2 deletions.
@@ -24,12 +24,11 @@
Customize this policy to fit your own app's needs. For more guidance, please refer to the docs:
Some notes:
* gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
* is required only on Android and is needed for TalkBack to function properly
* Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
* Enable inline JS: add 'unsafe-inline' to default-src
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">

0 comments on commit d3597df

Please sign in to comment.