【发布时间】:2016-07-04 08:41:49
【问题描述】:
我正在尝试第一个适用于 android 和 ios 的应用程序。我想用 twitter 登录。它的工作原理是 chrome 切换设备模式。但是,所以我安装在我的 android 手机上我无法登录。什么是问题?对不起我的英语不好..
$scope.LoginTwitter = function(){
ref.authWithOAuthPopup("twitter", function(error, authData) {
if (error) {
console.log("Login Failed!", error);
alert(error);
} else {
// console.log("Authenticated successfully with payload:", authData);
UserControlfunc(authData);
$state.go("home");
}
});
}
【问题讨论】:
标签: android angularjs ionic-framework firebase