inventiv_critic_flutter

Last updated:

0 purchases

inventiv_critic_flutter Image
inventiv_critic_flutter Images
Add to Cart

Description:

inventiv critic flutter

critic_flutter #
This plugin allows Flutter apps to interact with the Inventiv Critic system for bug tracking and reporting. You will need to have a Critic account to properly utilize this. Please visit the Critic website for more information.
How to use #
Step 1: Initialize the Critic library using your api key:
String key = 'your api key';
Critic().initialize(key);
copied to clipboard
Step 2: Create a new Bug Report using the .create const:
BugReport report = BugReport.create(
description: 'description text',
stepsToReproduce: 'steps to reproduce text',
);
copied to clipboard
Step 3: Attach a file, if necessary
File file = File('path to file');
report.attachments = <Attachment>[];
report.attachments!.add(Attachment(name: 'test file', path: file.path));
copied to clipboard
Step 4: Use the Critic() singleton to submit your BugReport (example using Futures):
Critic().submitReport(report).then(
(BugReport successfulReport) {
//success!
}).catchError((Object error) {
//failure
});
copied to clipboard
Step 5: Review bugs submitted for your organization using Critic's web portal

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.