CodementorIO / rest-firebase

Ruby Firebase REST API client built on top of rest-core
Apache License 2.0
107 stars 22 forks source link

How to connect to firebase using its generated json file #23

Open mikeyzhe opened 5 years ago

mikeyzhe commented 5 years ago

From the firebase admin console I can download a JSON file which contains all the informatoin needed for auth.

Is there a way to directly use it here? Thanks

godfat commented 5 years ago

I no longer use Firebase so I can't tell. But if it's just some payload you need to attach as auth, then you can just pass it along like:

f = RestFirebase.new :auth => auth

Or

f = RestFirebase.new
f.auth = auth
a-ta-ta commented 4 years ago

I no longer use Firebase

Sorry for being off-topic, however, does it mean that the gem won't be supported?

godfat commented 4 years ago

I can continue to maintain it as long as there's a clear action/fix. However right after Google took Firebase, a lot of things were very unclear to me, and I was and still in blind how things are working now.

If I remembered correctly, I can't even find REST API documentation anymore. Does that mean Google just dropped it?

In short, if you can find a clear example about how it went wrong, then I can take a look and try to fix it. But since I no longer use it, I can't even tell if it's working or not anymore. Not to mention that I can't find documentation. I think Google is pushing away from API, in favouring SDK provided by themselves so things can be broken without notice if they no longer support API.

This is sad, but without Google supporting it I don't know how we can continue on it :(