Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we use firebase crashlytics for our web application?

Tags:

I have a web application and I want to track its crashing reports. Can I use Firebase crashlytics or Fabric for this purpose. In their site its mentioned its only for Android or ios.

Regards, Makrand

like image 269
user2090194 Avatar asked Jan 23 '19 08:01

user2090194


People also ask

What is the use of Firebase Crashlytics?

Firebase Crashlytics is a lightweight, realtime crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality. Crashlytics saves you troubleshooting time by intelligently grouping crashes and highlighting the circumstances that lead up to them.

Is Firebase Crashlytics good?

The dashboard of the Firebase Crashlytics is a great place to get visual information about the crash that just happened. It provides the latest results and helps keep track of the previous events, and it also provides a comparison of the crash trends.

Is Firebase Crashlytics real time?

Firebase Crashlytics, a real time crash reporting tool, helps you prioritize and fix your most pervasive crashes based on the impact on real users. Crashlytics also easily integrates into your Android, iOS, macOS, tvOS, and watchOS apps.

What is the use of Firebase Crashlytics in Android?

Firebase Crashlytics is a real-time crash reporting tool. It helps by automatically collecting, analyzing, and organizing your crash reports. It also helps you understand which issues are most important, so you can priorities those first and keep your users happy.


1 Answers

There is feature request: https://github.com/firebase/firebase-js-sdk/issues/710

Looks like it's not supported at all, fabric didn't supported crashlytics on web either so it looks like there are maybe some alternatives like https://www.bugsnag.com but I would like to have it too in one place. Don't see difference between web, android or iOS clients at all, don't know why this is not supported.

But for some possible solution for Vue framework is to catch errors and send it to google analytics where you can connect also your firebase mobile apps. I think to try it this way for now. I didnt tested it yet so don't know if I have to catch window errors too.

Vue.config.errorHandler = function (error) {   //Toast.error(error.message)   console.warn(error.message)   //send error as event to google analytcs...    if (error) message = error.stack;   ga('send', 'event', 'window.onerror', message, navigator.userAgent); }  window.onerror = function(message, source, lineno, colno, error) {   // maybe we need to also catch errors here and send to GA } 

But I found something like this too for typescript https://github.com/enkot/catch-decorator

like image 115
Renetik Avatar answered Sep 23 '22 08:09

Renetik