首页 > 解决方案 > Apple 使用 Firebase 登录,并且 Angular 弹出窗口不会重定向到主页

问题描述

在此处输入图像描述

登录后弹出窗口不会自动关闭,我也不会被重定向到主页。

 this.authService.signInWithApple()
 .then((result: any) => {
  console.log(result)
   this.isLoading = false;
   loadingEl.dismiss();
   this.redirectLoggedUserToHomePage();
 }).catch((error) => {
   loadingEl.dismiss();
   console.log(error);
   this.showAlert(error);
 })

标签: angularfirebaseionic-frameworkapple-sign-in

解决方案


推荐阅读