Search Unity

using Firebase Analytics in Unity

Discussion in 'External Tools' started by dccoo, May 15, 2018.

  1. dccoo

    dccoo

    Joined:
    Oct 3, 2015
    Posts:
    114
    I made an app (for Android and iOS) with Unity and I'd like to use Firebase Analytics on it.

    What should I do in order to log events?

    What I already did:
    1. Downloaded Firebase SDK and imported FirebaseAnalytics.unitypackage into my project
    2. Created a new project in https://console.firebase.google.com/u/1/
    3. Downloaded google-services.json and imported into my project
    What I don't know:
    1. Do I need to make any other configuration or create a new project for iOS?
    2. What kind of C# code do I write in order to start Firebase and log events?
    3. I already used Firebase once in xcode and I remember the App ID was necessary, is it?
     
  2. Anthony_cts

    Anthony_cts

    Joined:
    Mar 11, 2017
    Posts:
    4
    Did you manage to make Firebase Analytics log any events? I tried the sample projects for Authentication and realtime database end they all work fine. Firebase analytics doesn't work at all for me. My dashboard doesn't show any activity after 48hours. Any clues?
     
  3. DavidZobrist

    DavidZobrist

    Joined:
    Sep 3, 2017
    Posts:
    2
    Same Auth tested succesfully, the analytics do not log anything..
     
  4. jediah_hutch

    jediah_hutch

    Joined:
    Dec 6, 2018
    Posts:
    2
    Hello,

    I think that events only get logged from actual devices, but I could be wrong. I'll post my findings, if anyone can confirm this suspicion?