Last updated:
0 purchases
apptive grid error reporting
ApptiveGrid ErrorReporting #
With ApptiveGridErrorReporting it is super easy to Log Errors to ApptiveGrid
Setup #
Create a new Error Reporting Space on ApptiveGrid using this Template
(Don't worry if you don't have an ApptiveGrid Account yet, you can create on there. Try it out. It's free)
Copy the Reporting Form Link
Create a new instance of ApptiveGridErrorReporting
final reporting = ApptiveGridErrorReporting(
reportingForm: Uri.parse('FORM_LINK'),
project: 'myProject',
);
copied to clipboard
Report Errors #
Send Errors with a single command
reporting.report(error);
copied to clipboard
This will send the error to ApptiveGrid. You can provide additional Infos like a Stacktrace or a custom message to get more context when looking at the reports on ApptiveGrid
reporting.report(
error,
stackTrace: StackTrace.current,
message: 'Error when doing a demo',
);
copied to clipboard
Repord Flutter Errors #
To report Flutter Errors set the FlutterError.onError reporting callback like this:
FlutterError.onError = reporting.reportFlutterError;
copied to clipboard
Log Events #
You can provide additional Log Entries to further know what a user might have done leading to an error.
reporting.log('Something was clicked');
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.