Building Flutter Dev Tools with ApptiveGrid - Error Reporting

Add a lightweight and privacy focused error reporting to your Flutter Apps using apptive_grid_error_reporting
Autor
Anton Borries
Veröffentlicht
October 11, 2023

Building Flutter Dev Tools with ApptiveGrid - Error Reporting

While building several Flutter Apps in the past that use ApptiveGrid as a Data Source we realized that we could use the power of ApptiveGrid and our suite of ApptiveGrid Flutter Packages to build tools for development and quality insurance of Flutter Apps.

We are already using several of these tools in the apps we are building and we are excited to announce that we are open sourcing the first package now. apptive_grid_error_reporting is a little tool to easily report errors to an ApptiveGrid Space

Why another error reporting tool?

Of course there are lots of options in the space of error reporting that all have their place. However we noticed that for our apps - often time for small customers - these solutions and associated costs are not always a great fit. 

Another point is obviously that we want to use ApptiveGrid more ourselves. So while exploring options on how we can incorporate ApptiveGrid in more of our day to day work we quickly realized that we can build a lightweight and customizable solution for basic error reporting that is also GDPR compliant.

Setting it up

  1. Create a new Space to your ApptiveGrid Account using this template. (If you don’t have an ApptiveGrid Account yet you can create one in the process. It’s free)
  2. Go to the reporting form and copy the link from the share menu
  1. Add `apptive_grid_error_reporting` to you pubspec dependencies and create a reporting Instance using the form link

That’s already it all in terms of setting everything up.

Reporting Errors

To report errors simply call

Optionally you can provide more Information like a StackTrace or a custom message to better figure out where the error occurred.

If you want to track down what a user might have done leading up to the error you can simply add some log entries.

These logs will be added to the reports inside ApptiveGrid as a .txt file for your error analysis

Creating custom Views

In ApptiveGrid you can view your data not only as a Grid but also create custom views based on your needs. In this next example I can show you how quick it is to create a simple Kanban view for all the issues.

  1. Create a Kanban View

  1. Select the “Status” Field as the default field
  1. Enable the column for ungrouped entries

You now have a Kanban Board right inside of ApptiveGrid for all reported errors where you can move cards just like with any other view. You can customize these views by playing around with custom filters or sorting.

Using ApptiveGrid Workflows

ApptiveGrid offers custom workflows that can be used to get more out of your error reports. In this next example I’ll show you how quickly you can set up custom Slack Notifications whenever there is a new error reported

  1. Go to the Workflows Tab inside your ApptiveGrid and create a new flow

  1. Select “New Entry” as your trigger. Configure to use the Reporting Grid as the source
  1. Add a “Slack” action
    - If you “test the action” the fields panel will be populated with placeholder tokens that you can then use to create custom slack messages that report new errors
       


            - Add your Slack Webhook Url

Further customization

In this article I have only shown how to add custom views and use a simple workflow to report errors on Slack. However you can customize the whole reporting even further. For example you could add an “Assigned” Field to your grid and automatically send an email to the assigned developer using a workflow when you change the value or anything in the field by playing around with the trigger conditions inside the flow.

Also using the Http Call Node you can integrate with a lot of other services/products that you are already using for example to create tickets inside Jira or Github. If you have a need for a more specialized Workflow Node

Closing

If you want a simple and lightweight error reporting tool we encourage you to try out `apptive_grid_error_reporting`. Also if you want to use ApptiveGrid for the backend of your Apps check out our other ApptiveGrid Flutter Packages.

Resources

Package on pub.dev: https://pub.dev/packages/apptive_grid_error_reporting

ApptiveGrid on LinkedIn: https://www.linkedin.com/company/apptivegrid/

ApptiveGrid on X/Twitter: https://twitter.com/apptivegrid

Anton on X/Twitter: https://twitter.com/abausg

Newsletter
Kein Spam. Nur die neuesten Veröffentlichungen und Tipps, interessante Artikel und exklusive Interviews in Ihrem Posteingang einmal in Monat.
Read about our privacy policy.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Logo
Melden Sie sich für unseren Newsletter an, um über neue Funktionen auf dem Laufenden zu bleiben.
Wir kümmern uns um Ihre Daten in unserer Datenschutzerklärung.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
© 2023 ApptiveGrid GmbH. All rights reserved.