firebase / firebase/quickstart-js

Fetch data from mobile is 35 times slower than on PC

Open
#791 0 comments 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: Windows
* Browser: Chorme
* Firebase SDK version: ^10.10.0

### Step 2: Describe the problem:

#### Steps to reproduce:

1. Open website in PC and open website in mobile (or you can open website in PC and then you click "Toggle device toolbar" - Responsive) : congty.click
2. Click icon chat like messenger
3. In this time , we can see the data fetch in mobile less than 35 times on a phone browser
4. Open tab issue in mobile or toggle device toolbar we can see log from console

#### Observed Results:

* Open tab issue in mobile or toggle device toolbar we can see error log from console . Fetch in mobile less than 35 times on a phone browser . The errors from google api

#### Expected Results:

* I expect fetch data from Mobile browser only fetch less than 1 - 2 times compare to PC browser

#### Relevant Code:

```
// TODO(you): code here to reproduce the problem
```

#### Image fetch data in PC browser , data fetched very fast and log from console
![image](https://github.com/firebase/quickstart-js/assets/94040178/8eaa6d9b-d06e-46e5-ad2b-cd97245486f9)
![image](https://github.com/firebase/quickstart-js/assets/94040178/e69fc56f-a411-4451-aeb7-ac3b5bb2e413)

#### Image fetch data in Mobile browser or PC browser and enable toggle device toolbar responsive , data fetched very slow (less than 35 times - 40 times ) and log from console
![image](https://github.com/firebase/quickstart-js/assets/94040178/4023a190-65c6-47bc-8f0d-86b30b24a04a)
![image](https://github.com/firebase/quickstart-js/assets/94040178/f25b657a-fa4c-41ea-adc6-2b4e8d744773)

#### This is an address of website and account test :
[congty.click/](https://congty.click/)
test1@gmail.com
123

#### Thanks for watching and you are very welcome to discuss

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.