Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 184.108.40.206 release ready!
Many of us or you can say everyone is using Crash Reporting in there application, whether it is Firebase Crash Reporting or Crashlytics or any other. I am using Firebase Crash Reporting in my project as I am using other Firebase features so it it quiet easier for me that everything is in one place. Well as many of you know implementing Firebase Crash Reporting in your application is quiet simple (here we are talking about Android Application as my knowledge is bound to only that point). You only have to add a dependency and everything starts to work. But, is it the only thing? Does my job is done with that?
Certainly not because crash reporting is not just that whenever your application crashes you got a log and you will fix it in the next release. It can be a major part but thats not all. Crash reporting is there so that your customer will not suffer when they use your application and you can do many things with that like Server side error debugging, knowing which Request breaks at what point, getting the exact cause of even handled exceptions and so more.
Now the question comes how. The answer is Non fatal crashes. Yes you heard it right. You had coded at least a hundreds of try-catch blocks in your code, obviously for exception handling. For a test-case you had missed while testing the application. So why not rather that only putting that code in try and implementing a catch as
we should also log this as exception as Firebase Crash
The FirebaseCrash.log() method lets you add a custom log for the crash so you may get the required data to understand the crash or your own custom log message if you want. And the FirebaseCrash.report() method records that exception in the Crash Console on Firebase.
For Server side issues you can use the same code by reporting the error to Firebase crash whenever your connection fails or an exception / error is thrown by your server.
You can change every catch block of your application so you will get reports for even that handled exceptions that surely will enhance your customer experience with the application and will benefit you and your business.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
Excellent work, fast, good quality and understood the brief perfectly! Quick responses developing the project and very good cooperation. I suggest to anyone.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.