Skip to content
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

Initialization of the static member of FirebaseAnalytics(Unity) #741

Open
std-forward opened this issue Jul 28, 2020 · 4 comments
Open

Initialization of the static member of FirebaseAnalytics(Unity) #741

std-forward opened this issue Jul 28, 2020 · 4 comments

Comments

@std-forward
Copy link

we find this:
BAED4EB4-8B36-4B0B-B794-2BA659C41452

But I think we should use lazy initialization here, like this:
817A0C8A-06EF-49C1-800C-336D86305002

why do i report this issue:
we hava a analytics wrapper for FirebaseAnalytics, and there is a static map here:
BFE8C602-C3FA-44D2-A44C-6505DD205397
but when we use the public static member of FirebaseAnalytics, it constructs a FirebaseApp first, which is not expected, due to the static member FirebaseAnalytics.app
(As you say, we must check dependencies first, then construct the app~)

@google-oss-bot
Copy link

This issue does not seem to follow the issue template. Make sure you provide all the required information.

@std-forward
Copy link
Author

This issue does not seem to follow the issue template. Make sure you provide all the required information.

Sure

@vimanyu
Copy link
Contributor

vimanyu commented Jul 31, 2020

Hi @std-forward,
Thank you for bringing this up. We understand your suggestion and will review it to improve the usability of our SDK. Am flagging this as a feature request.

@std-forward
Copy link
Author

Hi @std-forward,
Thank you for bringing this up. We understand your suggestion and will review it to improve the usability of our SDK. Am flagging this as a feature request.

Nice! But it does not really matters! Stability matters!😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants