Shake diligently tracks user's interaction with your app, their network traffic, notifications, logs and system events, and automatically attaches all of those to every bug report.
You can inspect all events that lead to a bug being reported. A link to Activity history is located in the top right corner:
User actions tracking is currently not supported.
Shake provides you a wrapper for dart:io HttpClient class which allows you to track network requests. Additionally, if you are using dio or http packages for sending network requsts, you can use one our extensions.
Use ShakeHttpClient wrapper class to perform network requests. All network requests sent with the ShakeHttpClient instance will be visible on the dashboard.
The latest version of Shake dart:io HttpClient wrapper will log network request details without request and response body.
Install shake_dio_interceptor extension for dio package:
Add ShakeDioInterceptor to your Dio instance:
All network requests sent with the Dio instance will be visible on the dashboard.
Install shake_http_client extension for http package:
Use ShakeHttpClient to send network requests:
All network requests sent with the ShakeHttpClient instance will be visible on the dashboard.
You can add your own custom network requests at any time:
System events are tracked automatically and require no additional setup. These are application lifecycle events.
On iOS, notifications are tracked automatically and require no additional setup.
Android requires notifications permission in the settings to track notifications.
Use the following code snippet to show notification settings screen to the user:
You can add your own custom notification events at any time:
You can add your own custom logs to Activity history, which will then be shown as part of every bug report. Here’s an example of how this would look like in code:
Here are all possible log levels you can use:
Console logs are recorded automatically and require no additional setup. If you want to disable this feature use the method below:
Make sure that activity history is enabled if you want to send console logs with your report.
In a Free workspace, you can see up to 20 events that lead to every bug. If you need to dive really deep to find causes of the weirdest bugs upgrade to Premium. In a Premium workspace you can browse the entire activity history.
Enabling and disabling
Activity history is enabled by default, however, you can use the method below to disable it: