How to use Firebase analytics in c++ project?

412 views
Skip to first unread message

feng han

unread,
Jul 5, 2016, 12:27:34 PM7/5/16
to Firebase Google Group
I am trying to add Firebase analytics into an Unreal Engine project. But on the console I can only add Android/ios app. How can I add a general c++ project?
And is the c++ SDK compatible for general c++ project?

Stewart Miles

unread,
Jul 6, 2016, 3:39:42 PM7/6/16
to fireba...@googlegroups.com
The Android / iOS application specified in the console refers to the final package you intend to ship.  So if you're building a project using Unreal for Android then you would add an Android project in the console.

FYI: Using the Firebase C++ SDK with Unreal is a little tricky at the moment for Android as you'll need to include the Java AARs for Android builds https://firebase.google.com/docs/cpp/setup#dependencies_1 .  Last time I looked, Unreal wasn't using Gradle to package Android applications which makes this process relatively tricky.  If you're familiar with Unity you could try to copy what our Jar Resolve Unity Plug-in does https://github.com/googlesamples/unity-jar-resolver and build something similar for Unreal.  Or even better would be to patch Unreal to support AAR dependencies by switching the packaging step to use Gradle.

Cheers,
Stewart

On Mon, Jul 4, 2016 at 10:55 PM, feng han <trend....@gmail.com> wrote:
I am trying to add Firebase analytics into an Unreal Engine project. But on the console I can only add Android/ios app. How can I add a general c++ project?
And is the c++ SDK compatible for general c++ project?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/2166845e-e4c8-4b77-bcc6-6f28deb1447f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages