Live data from Hacker News

Firebase gets better analytics, crash reporting and more

techcrunch.com

41–50 of 66 posts

Re: Firebase gets better analytics, crash reporting and more

#41
post #14
post #10

Earlier quoted context omitted.

Similarly, Google is pushing developers toward Firebase as a replacement for their identity toolkit[1]. However, while reading the provided documentation and tutorials, it's not clear how anything is better than the old toolkit except that the tutorials now assume you'd like to use Firebase to store your user DB (which I have no interest in). I also have trouble discerning where the free ends and usage starts costing…

[Firebase Founder/PM] The Firebase Auth product existed before Firebase joined Google. We've upgraded it significantly, pulling in lots from Identity Toolkit. While we're not at full parity yet, I'd love to hear what's missing for you. There are lots of net-new features we've added [1] The cost is free for unlimited users (same as Identity Toolkit) [2] I'm sorry to hear you've had a poor experience with our docs, fee…

Hi James

Having read most of the login/signup/sign-in documentation from end to end over the past few months (paired with several different implementations), I have most of it sorted for myself.

Early on, what was missing was what the difference between Firebase, Google Identity Toolkit, Google Identity Platform and the various Google+ Identity APIs. I walked in knowing what I wanted: "I have users with email addresses, some of those email addresses are gmail.com, how do I allow them to login to my app with a single click on the Google button? Similarly, my signup only required a validated email address, surely a single click on the Google button is enough to allow that." What I was met with was a choice between what appears to be 5+ different methods of implementation, some of which are enabled by default on my exiting Google Cloud Console others require me to enable new things (Google+) and others still require me to create a new account (Firebase). Some enable me to easily allow me to easily create a user experience that all of my users will be familiar with if they've ever used Google login on a web/mobile application, others require me to implement major portions of the front end of that experience myself (a mobile friendly pop-up for the oauth dance and subsequent token handoff).

I ended up using Google Sign-In for Websites[1], which offered the best trade offs. It's easy to implement on the front end but allows self-management of users on the back end.

I've used Firebase and enjoyed the experience. My own confusion early on had little to do with Firebase or what it offers and more to do with the painfully obvious truth that Google is not of one mind (as any organization of it's size would struggle to be) when it comes to how outside entities should consume it's identity services.

1. https://developers.google.com/identity/sign-in/web/

Re: Firebase gets better analytics, crash reporting and more

#42
post #25

This is great news. My last few web projects have all been based on Firebase because I focus on the front-end these days and I don't have to worry about scaling, databases, API endpoints and other nonsense which consumes a lot of my day. The pain of even getting a VPS deployed with support for Node.js, database and then figuring out some kind of redundancy to keep Node and my database running can also consume your da…

Question: How do you deal with authorisation? I've still yet to come up with a solution I'm happy with unfortunately; I'm currently relying on a custom token generated server-side that grants given users particular claims that I then check in the database rules, but it feels... brittle, I guess.

> I'm currently relying on a custom token generated server-side

I don't understand. Where's this server? I thought the point of Firebase was that you don't need a server.

Re: Firebase gets better analytics, crash reporting and more

#44
post #43

What kind of apps do you build with Firebase? The lack of server-side logic must be really limiting.

Firebase is great for getting up and running quickly.

If you want server side logic then you can use Firebase as a queue. So let the client request data through Firebase and then you have another service monitor the queue and fill requests.

Re: Firebase gets better analytics, crash reporting and more

#46
post #2

I stopped looking at Firebase for a while since they seemed to have trouble with my multiple, simultaneous Google account logins. Pretty reasonable growing pains actually, and based on clicking around now, possibly fixed. No opinion on the current news, other than that it's nice to see continued signs of life.

The best way around that is to use Chrome's "Switch Person" feature.

Re: Firebase gets better analytics, crash reporting and more

#48

This is great news. My last few web projects have all been based on Firebase because I focus on the front-end these days and I don't have to worry about scaling, databases, API endpoints and other nonsense which consumes a lot of my day. The pain of even getting a VPS deployed with support for Node.js, database and then figuring out some kind of redundancy to keep Node and my database running can also consume your da…

I also like firebase. Unfortunately the updates are all for mobile development and not for the web. Also there is no support for angular universal in angularfire?

Re: Firebase gets better analytics, crash reporting and more

#49
post #47

What do you do if firebase dies like parse and stackmob? This quora answer makes a pretty persuasive argument as to why you shouldn't rely on these platforms: https://www.quora.com/Why-is-Parse-shutting-down/answer/Tim-...

However the alternative is making your own stack which for small devs is more resources then you may have. Instead of spending time developing the tech that's core you have to create a backend. I had a project on parse but it isn't very successful so I'm letting it die instead of migrating. If it was successful I would have the time & money to migrate it.

Re: Firebase gets better analytics, crash reporting and more

#50
post #47

What do you do if firebase dies like parse and stackmob? This quora answer makes a pretty persuasive argument as to why you shouldn't rely on these platforms: https://www.quora.com/Why-is-Parse-shutting-down/answer/Tim-...

Use open source alternatives in a first place. For authentication there is RedHat's http://keycloak.org, thanks to containers it's really easy to setup if you want to try it out. See https://medium.com/@ak1394/simple-social-login-for-react-nat... for an example.
Post reply on HN