Firebase Project Results in "Auth/network-request-failed" error on login
<p>I'm running into a strange problem with my Cordova Project that uses Firebase. It works perfectly in browser, but when I run my app on an emulator or phone (Android), (at least) the first login attempt per load always results in an "Auth/network-request-failed" error. Here is my relevant Firebase code:</p>

<pre class="lang-html prettyprint-override"><code>&lt;!-- Import Firebase JS --&gt;
&lt;script src="https://www.gstatic.com/firebasejs/3.2.1/firebase.js"&gt;&lt;/script&gt;

&lt;!-- Import Firebase Authentication--&gt;
&lt;script src="https://www.gstatic.com/firebasejs/ui/live/0.4/firebase-ui-auth.js"&gt;&lt;/script&gt;
&lt;link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/live/0.4/firebase-ui-auth.css" /&gt;
</code></pre>

<p>And here is my security meta-tag (which I heard could result in a similar problem):</p>

<pre class="lang-html prettyprint-override"><code>&lt;meta "content_security_policy": "script-src 'self' https://apis.google.com https://www.googleapis.com https://securetoken.googleapis.com; object-src 'self'", "permissions": ["https://*/*","activeTab"]&gt;
</code></pre>

<p>EDIT: I have not changed any code but now I experience this error occasionally in browser (Chrome) as well, if less often. I can't find a pattern, although the issue seems to go away in a session after the user registers. Any help would be greatly appreciated, thank you so much.</p>