firebase / firebase/firebase-unity-sdk
[Bug] Android very slow on reconnection to firestore after being backgrounded
- Dominant language
- C#
- Stars
- 320
- Forks
- 60
- Avg merge
- 11h 15m
- Merged PRs (30d)
- 11
Description
### [REQUIRED] Please fill in the following fields:
* Unity editor version: 2022.3.6f1
* Firebase Unity SDK version: 11.4.0
* Source you installed the SDK: .unitypackage
* Problematic Firebase Component: Firestore Database
* Other Firebase Components in use: Auth, Crashlytics, Dynamic Links, Remote Config
* Additional SDKs you are using: Facebook
* Platform you are using the Unity editor on: Windows
* Platform you are targeting: iOS, Android
* Scripting Runtime:IL2CPP
* Pre-built SDK from the [website](https://firebase.google.com/download/unity) or open-source from this repo: website
### [REQUIRED] Please describe the issue here:
When the app is put into background for longer period of time, over 15 minutes, and brought back, on the reconnection to firebase that app is stuck. After around 5 minutes the app is able to recover. This is a major issue, as it affects the startup of the app. This is only happening on Android.
#### Steps to reproduce:
Repro rate: 100%
1. Put the app into background.
2. Wait 20 minutes
3. Bring it back to foreground.
4. Notice the warnings in the console

If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
#### Relevant Code:
```
// TODO(you): code here to reproduce the problem
```
Contributor guide
Assessment
This issue has not been assessed yet.