2016-08-23 222 views
6

后,我试图用火力身份验证服务,我得到了一个uncaught error: a network error (such as timeout, interrupted connection or unreachable host) has occurred未捕获的错误:网络错误

我试图到白名单所有相关域的名称:

<allow-intent href="*.firebaseio.com" /> 
    <allow-intent href="*.firebaseapp.com" /> 
    <allow-intent href="*.google.com" /> 
    <allow-intent href="*.googleapis.com" /> 
    <allow-intent href="*.cloudflare.com" /> 
    <allow-intent href="auth.firebase.com" /> 
    <access origin="*" /> 

,并要求互联网用户权限:

<uses-permission android:name="android.permission.INTERNET" /> 
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 

但仍然 - 尽管代码在网络浏览器上运行完美,但它不断在android模拟器上显示此错误。

+0

嘿@ aviran-mor你有没有机会找到解决方案?我认为我用最新的离子(3.0.0)和最新的火力点(3.7.6) – jsharpe

回答

0

试试这个。它为我工作。

<allow-navigation href="*.firebaseapp.com" />