我一直在尝试使用Firebase创建Ionic Google登录弹出窗口。但是,当用户试图按下登录按钮时,该功能被称为产生令人惊讶的完全空白的弹出。Google提供商使用Firebase和Ionic登录
$scope.login = function()
{
baseRef.authWithOAuthPopup("google", function(error, authData)
{
if (error)
{
alert('Hello');
}
else
{
$scope.auth = authData.google;
$scope.user.set("name", $scope.auth.displayName);
$scope.user.set("image", $scope.auth.profileImageURL)
$scope.user.save();
}
});
};
我在Firebase和Google中的所有权限都已正确设置以及配置文件中的所有权限。有没有人有任何想法我可以解决这个问题,以允许功能弹出产卵?
popup url?弹出错误? –
应用内浏览器打开为空白页面,而不是谷歌登录,是的。 –
你可以在那里打开webdeveloper吗?或者它只是目标:_blank? –