Quickstart-unity: [Question] Firebase plugins in UPM

Created on 28 Feb 2020  路  7Comments  路  Source: firebase/quickstart-unity

Hi!
Is there any intention, plan, roadmap, whatever to deliver firebase plugins via UPM?
I think it would have really advantages since we were using our own package manager and we saw the benefits of this way of delivery.

Thanks

feature request

Most helpful comment

Thanks for that breakdown, I've shared it with the team. I definitely love the idea.

We'd probably have to support the old method still for Unity 5.x users, but I love the explicit versioning and dependency resolution.

All 7 comments

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

Hi @MartinGonzalez,

I love this idea!

Feel free to add any more comments about what did/didn't work with respect to your own custom package system or the play services resolver.

--Patrick

Basically we have to wrap firebase plugins sdks into our own upm implementation, so we can deliver every firebase sdk instead of importing it like a unitypackage.

To be clear about the dev process we have.
We create a package, containing for example only Firebase stuff and another package for play services resolver

So we can have
Firebase [email protected] ---> Play Services [email protected]
---> [email protected]
Firebase [email protected] ---> Play Services [email protected]
---> [email protected]

The problem is that every Firebase plugin comes with stuff that is shared through plugin, I guess a Parse folder, and other stuff.
So we had to implement something that moves our package content to the project itself and everything that is equal is not being replaced. It's a bit like hack.
Having every firebase plugin as an UPM package would resolve a lot of things, and also everything is going to that delivery method.

What do you thing @patm1987 ? :D

Thanks for that breakdown, I've shared it with the team. I definitely love the idea.

We'd probably have to support the old method still for Unity 5.x users, but I love the explicit versioning and dependency resolution.

Ability to use Firebase via UPM would be extremely useful

I wanted to circle back and say, good news!
Firebase SDK 6.13.0 added UPM support
See more info here

Nnnnnnnnnnnnnnnnnniiiiiiiiiiiiceeeeeeeeeeeeeeeeeeeeeeeeee!

Was this page helpful?
0 / 5 - 0 ratings