title: How to add Content Security Policy in index.html
body: <p>I am developing application in Ionic and when I run this application in iOS device it stucks on splashscreen for sometime and then it load.I check console and there it shows that device ready is fired after 95245 ms . That means device is taking too much time to being ready.</p>
  
  <p>I search for the issue and find similar issue <a href="https://stackoverflow.com/q/40937259">here</a> and for that accepted solution is like below:</p>
  
  <hr>
  
  <h2>As Louis Suggest</h2>
  
  <blockquote>
    <p>I added Thanks for your response @baviskarmitesh. But I had to add gap
    to the content security policy and now it seems to work.</p>
    
    <p>I added data: gap: <a href="https://ssl.gstatic.com" rel="nofollow noreferrer">https://ssl.gstatic.com</a> 'unsafe-eval'after
    default-src * into my content security policy in my index.html file,
    like this:</p>
    
    <p>meta http-equiv="Content-Security-Policy" content="   default-src *
    data: gap: <a href="https://ssl.gstatic.com" rel="nofollow noreferrer">https://ssl.gstatic.com</a> 'unsafe-eval';   style-src 'self'
    'unsafe-inline' <a href="https://fonts.googleapis.com" rel="nofollow noreferrer">https://fonts.googleapis.com</a>;   script-src 'self'
    'unsafe-inline' 'unsafe-eval' *;   connect-src 'self' 'unsafe-inline'
    'unsafe-eval' blob: ws: *; "> And now deviceready fires quickly with
    all my plugins.</p>
  </blockquote>
  
  <p>Now I am trying to pass this <code>meta</code> tag for <code>Content-Security-Policy</code> in my <code>index.html</code> but whenever I build my iOS app using this command.</p>
  
  <pre><code>ionic cordova build ios
  </code></pre>
  
  <p>This <code>Content-Security-Policy</code> meta tag is remove automatically from my <code>index.html</code>. So how can I add this <code>Content-Security-Policy</code> in my <code>index.html</code>? Is there any other way ?</p>