You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to add a custom report type that allow us to take control back using a callback function after the user shakes the phone. This shall live alongside the standard report types. This will allow us to to do things like redirect the user to another route of our current app, push a metric, etc.
The following picture clarifies the requirement.
The following code will help you understand what we expect:
Hello @eugenio-tesio-ueno!
We don't have an API for directly adding items to the list of report types, but you can still create such a dialog with custom items manually using familiar Flutter widgets and show Instabug's bug reporting screens from there using the BugReporting.show(ReportType reportType, List<InvocationOption>? invocationOptions) API (e.g. BugReporting.show(ReportType.bug) to report a bug with the default invocation options).
Description
We need to add a custom report type that allow us to take control back using a callback function after the user shakes the phone. This shall live alongside the standard report types. This will allow us to to do things like redirect the user to another route of our current app, push a metric, etc.
The following picture clarifies the requirement.
The following code will help you understand what we expect:
The text was updated successfully, but these errors were encountered: