Skip to content

Background initialisation is faster #14674

Open
@varunraghu3112

Description

@varunraghu3112

Description

Generally if we initialise
CrashlyticsInit.sharedInstance.initialiseCrashlytics()

on didFinishLaunchingWithOptions on main thread it takes some amount and blocking main thread

but if we move to background 500-600 ms is saved in app launch time (Atleast in iPhone 12) so is there any issue in moving init to the background thread for initialisation ?

Reproducing the issue

No response

Firebase SDK Version

10.19.0

Xcode Version

16.2

Installation Method

CocoaPods

Firebase Product(s)

Database, All

Targeted Platforms

iOS

Relevant Log Output

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions