我一直在嘗試使用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? –