firebase / firebase/quickstart-js

Why can’t I get currentUser on my iPhone?

Open
#784 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.4k
Forks
3.7k
Avg merge
2d 13h
Merged PRs (30d)
6

Description

### Step 1: Describe your environment

* Operating system: ios16
* Browser: safari,chrome____
* Firebase SDK version: ___10.9.0__

### 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](https://github.com/firebase/quickstart-js/assets/161709475/ac42967e-0358-4354-9645-1d8f5f1b7022)

android:
![4acf27bf96575a21c50126db0860ee3](https://github.com/firebase/quickstart-js/assets/161709475/95e0da9c-7d22-4b80-8354-011eeeee6289)

pc:
![image](https://github.com/firebase/quickstart-js/assets/161709475/83729200-65a7-4398-885d-ceb85d5e359b)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.