2015-06-19 60 views
2

不工作这是一个在Web浏览器工作正常,但是当我试图通过电子邮件&密码登录我得到的错误:离子-firebase电子邮件和密码登录Android中

无法联系火力地堡服务器

我这是怎么登录:

var auth = $firebaseAuth(firebaseMainRef); 

      auth.$authWithPassword({ email : email, password : password }) 

我用:Firebase v2.0.5

这是confif.xml文件:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<widget id="com.ionicframework.myapp501948" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> 
    <name>myApp</name> 
    <description> 
     An Ionic Framework and Cordova project. 
    </description> 
    <author email="[email protected]" href="http://ionicframework.com/"> 
     Ionic Framework Team 
    </author> 
    <content src="index.html"/> 
    <access origin="*"/> 
    <preference name="webviewbounce" value="false"/> 
    <preference name="UIWebViewBounce" value="false"/> 
    <preference name="DisallowOverscroll" value="true"/> 
    <preference name="BackupWebStorage" value="none"/> 
    <feature name="StatusBar"> 
    <param name="ios-package" value="CDVStatusBar" onload="true"/> 
    </feature> 
</widget> 

的感谢!

回答

1

添加白名单的cordova插件可解决问题

相关问题