App Crashing while trying to use Firebase analytics

79 views
Skip to first unread message

Vaibhav Agarwal

unread,
Sep 4, 2024, 12:26:15 PMSep 4
to fireba...@googlegroups.com
Hi,

Im developing a C++ Desktop application and trying to use Firebase Analytics using the FIrebase C++ SDK from https://firebase.google.com/download/cpp

Have added firebase_analytics.lib and included necessary header files. I tried initializing the analytics module but the application crashes. 

On this line 
 firebase::analytics::Initialize(*firebaseApp);

How do I resolve this ?

--
Regards,
Vaibhav

Joe Spiro

unread,
Sep 4, 2024, 12:27:07 PMSep 4
to Firebase Google Group
Analytics is not available for Desktop builds.

Vaibhav Agarwal

unread,
Sep 5, 2024, 10:52:34 AMSep 5
to Firebase Google Group
Ok..so you mean the Firebase Quickstart Samples for C++ given at link below

https://github.com/firebase/quickstart-cpp/blob/main/analytics/testapp/readme.md#desktop

are not supported correct?

Any other way to use firebase analytics in C++ like rest apis etc ?

Joe Spiro

unread,
Sep 5, 2024, 12:46:45 PMSep 5
to Firebase Google Group
To clarify, c++ Analytics is unavailable except for stubs. Now while this doesn't explain the initialization issue, do you still need this fixed or does the implementation being a stub only obviate the need?

If its the former, have you followed the instructions in Add Firebase to your C++ project ::Set up a desktop workflow (beta)?
Reply all
Reply to author
Forward
0 new messages