firebase / firebase/firebase-android-sdk

[feat] could we use FirebaseApp.initializeApp manually at workthread to reduce the startup time cost?

Open
#5,043 0 comments 1 reaction 0 assignees View on GitHub
api: core type: feature request
Dominant language
Java
Stars
2.6k
Forks
710
Avg merge
2d 9h
Merged PRs (30d)
31

Description

## What feature would you like to see?

Describe the feature you would like to add, ideally proposing a specific API.

image

the FirebaseApp.initializeApp will cost about 60ms on my app startup stage, could we could we use FirebaseApp.initializeApp manually at workthread to reduce the startup time cost?is there any problems that init it at work thread?

thanks~
## How would you use it?

Tell us how you'd use this feature in your app.

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.