Quickstart-unity: Initialization of the static member of FirebaseAnalytics(Unity)

Created on 28 Jul 2020  路  4Comments  路  Source: firebase/quickstart-unity

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~)

analytics feature request

Most helpful comment

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.

All 4 comments

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

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

Sure

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.

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!馃榾

Was this page helpful?
0 / 5 - 0 ratings