Skip to content

Move library registration to +initialize. #1305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2018

Conversation

ryanwilson
Copy link
Member

In the future this could be moved to lazily register in a dispatch_once block upon firebaseUserAgent being called, but this is a quick fix for now.

Copy link

@baolocdo baolocdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious: Have you confirmed any latency decrease after this change? How much did we save?

@ryanwilson
Copy link
Member Author

@baolocdo thanks for the review - I haven't yet but plan on checking soon and will report back.

@ryanwilson ryanwilson added this to the M26 milestone May 22, 2018
@ryanwilson ryanwilson merged commit 3bba0ba into master May 22, 2018
@ryanwilson ryanwilson deleted the rw-lazy-lib-registration branch May 22, 2018 15:56
minafarid pushed a commit to minafarid/firebase-ios-sdk that referenced this pull request Jun 6, 2018
@firebase firebase locked and limited conversation to collaborators Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants