firebase / quickstart-js

Firebase Quickstart Samples for Web
https://firebase.google.com
Apache License 2.0
5.03k stars 3.66k forks source link

Why can’t I get currentUser on my iPhone? #784

Open hubo2024 opened 3 months ago

hubo2024 commented 3 months ago

Step 1: Describe your environment

Step 2: Describe the problem:

I will compile this project later and deploy it to my server. Both PC and Android can return the current user information normally, but the iPhone returns Null.

Steps to reproduce:

  1. cd atueh directory
  2. npm install
  3. npm run build
  4. Deploy to my server

Observed Results:

getRedirectResult returned null

Expected Results:

I expect to return the information of the currently logged in user

Relevant Code:

quickstart-js-master\auth

iphone: b1e6033886343e264cd73af28662884

android: 4acf27bf96575a21c50126db0860ee3

pc: image

hubo2024 commented 3 months ago

help!help!help!