Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Unity WebGL build using Firebase

Discussion in 'WebGL' started by DimitarV, May 10, 2022.

  1. DimitarV

    DimitarV

    Joined:
    May 20, 2020
    Posts:
    1
    Hello devs !!

    I'm wondering if someone have any information about importing the firebase analytics, authentication and etc. in Unity WebGL build. I know that Firebase Unity SDK doesn't supports WebGL build so I'm trying to find other ways of doing that. I found very few tutorials and useful information so if anyone knows something that might be helpful - please leave a comment !!

    Have a great time everyone :)
     
    dan_ginovker likes this.
  2. rmgomez

    rmgomez

    Joined:
    Oct 2, 2014
    Posts:
    18
    Nothing official, but some devs are using the JS SDK in their webgl builds. It's a good place to start.

    https://github.com/rotolonico/FirebaseWebGL
     
    yendrapriambada1234 likes this.
  3. Nurallaerel

    Nurallaerel

    Joined:
    May 6, 2015
    Posts:
    13
    Not anymore, any other packages that might help with analytics? I would rather avoid doing everything through the jslib
     
  4. TinyEasy

    TinyEasy

    Joined:
    May 18, 2022
    Posts:
    21
    I needed to integrate auth & firestore into our software to allow users to save & access files. Instead of using the jslib approach, I used Tamarin's firebase plugin, which works great. Takes out all the hassle of having to integrate your own way of communicating with the servers... All you need to do is put in your firebase settings, keys etc and then use the pre-set methods to do what you need to do.

    https://assetstore.unity.com/publishers/49308 <- that's his asset store page.

    I got the full bundle for all firebase services. I think they took it off the asset store to allow them to use an inbuilt authentication/ license system. You can still get it here though: https://twistedtamarin.com/shop

    The dev is very active and responds to any questions even before you buy here: https://discord.com/channels/1001245895431569418/1001247201818841249

    Hope it helps :D
     
  5. enragedoxygen

    enragedoxygen

    Joined:
    May 6, 2020
    Posts:
    1
    I've tried to go to https://twistedtamarin.com/shop, but it's empty.
    Discrod link leads nowhere for some reason.
    I would really like to buy this plugin right now. Any advice?
     
    TinyEasy likes this.
  6. TinyEasy

    TinyEasy

    Joined:
    May 18, 2022
    Posts:
    21
    Hey mate, sorry for the late reply, just hopped on unity formus for the first time in a while again!
    Yeah it's not available on asset store any more as they have their own authentication to track user licenses. However I think these guys are building their own asset shop and have just launched it today. You can find it here:

    https://gameasset.shop/shop/twistedtamarin/api-for-firebase-ultimate

    Cheers, Laurin :)
     
  7. gene_miller

    gene_miller

    Joined:
    Aug 23, 2019
    Posts:
    11
    Last edited: Oct 31, 2022
  8. yendrapriambada1234

    yendrapriambada1234

    Joined:
    Feb 17, 2023
    Posts:
    1
    Hi, thanks for your recomendation. I was try it and it is work! But how to get current user after login and how to signout?