Skip to content

[Bug] Android very slow on reconnection to firestore after being backgrounded #852

Open
@aixaCode

Description

@aixaCode

[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 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
    Screenshot 2023-09-01 172003

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions