anadea_flutter_metrics 1.3.0
SDKflutter
Platformandroidioswindowslinuxmacos
Anadea flutter metrics package. Created to facilitate loading metrics in metrics.codemagic.app.
Anadea flutter metrics package. Created to facilitate loading metrics in metrics.codemagic.app.
Features
You can upload your metrics to the back-end.
Getting started
Add dependency to the pubspec.yaml.
dev_dependencies:
...
anadea_flutter_metrics: <latest version>
You need to register your project on web site. Take the project id and set it in the pubspec.yaml.
dev_dependencies:
...
anadea_flutter_metrics: <latest version>
anadea_flutter_metrics:
storage_url: <your storage url>
project_id: <your project id>
access_token: <your access token here>
You need to install cloc tool on your machine and generate reports.
cloc lib --report-file=coverage/lib
cloc test --report-file=coverage/test
For coverage you need generage report from flutter test.
flutter test --coverage
Usage
To upload the metrics information, run the command:
flutter pub run anadea_flutter_metrics