angularjs - ionic -firebase email& password login not working in android -
it's work ok in web browser when try login via email& password error :
unable contact firebase server
this how login :
var auth = $firebaseauth(firebasemainref); auth.$authwithpassword({ email : email, password : password })
i use: firebase v2.0.5
this confif.xml
file:
<?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> ionic framework , cordova project. </description> <author email="hi@ionicframework" 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>
thanks!
adding cordova plugin of whitelist solves problem
Comments
Post a Comment