Several Flutter plugins to use the Microsoft Visual Studio App Center SDKs.
Note: This plugin is still under development, and some APIs (Distribute and Push are still missing) might not be available yet. Feedback and Pull Requests are most welcome!
To use this plugin:
Add new
and create a new iOS application (Platform: Objective-C/Swift), and keep your iOS app secret (ex: 123cfac9-123b-123a-123f-123273416a48
).Add new
and create a new Android application (Platform: Java), and keep your Android app secret (ex: 321cfac9-123b-123a-123f-123273416a48
).appcenter
appcenter_crashes
import 'package:appcenter/appcenter.dart';
import 'package:appcenter_crashes/appcenter_crashes.dart';
final ios = defaultTargetPlatform == TargetPlatform.iOS;
var app_secret = ios ? "123cfac9-123b-123a-123f-123273416a48" : "321cfac9-123b-123a-123f-123273416a48";
await AppCenter.start(app_secret, [AppCenterCrashes.id]);
await AppCenterCrashes.setEnabled(false); // just a service
See the example
directory for a complete sample app using Visual Studio App Center.
Add this to your package's pubspec.yaml file:
dependencies:
appcenter_crashes: ^0.2.1
You can install packages from the command line:
with Flutter:
$ flutter packages get
Alternatively, your editor might support flutter packages get
.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:appcenter_crashes/appcenter_crashes.dart';
Version | Uploaded | Documentation | Archive |
---|---|---|---|
0.2.1 | Dec 11, 2018 |
|
|
0.2.0 | Dec 11, 2018 |
|
|
0.0.3 | Jan 17, 2018 |
|
|
0.0.2 | Jan 17, 2018 |
|
|
0.0.1 | Jan 4, 2018 |
|
|
Popularity:
Describes how popular the package is relative to other packages.
[more]
|
75
|
Health:
Code health derived from static analysis.
[more]
|
99
|
Maintenance:
Reflects how tidy and up-to-date the package is.
[more]
|
90
|
Overall:
Weighted score of the above.
[more]
|
85
|
We analyzed this package on Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
Document public APIs. (-1 points)
7 out of 7 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.
Maintain an example. (-10 points)
Create a short demo in the example/
directory to show how to use this package.
Common filename patterns include main.dart
, example.dart
, and appcenter_crashes.dart
. Packages with multiple examples should provide example/README.md
.
For more information see the pub package layout conventions.
Package | Constraint | Resolved | Available |
---|---|---|---|
Direct dependencies | |||
Dart SDK | >=2.0.0-dev.68.0 <3.0.0 | ||
flutter | 0.0.0 | ||
Transitive dependencies | |||
collection | 1.14.11 | ||
meta | 1.1.6 | 1.1.7 | |
sky_engine | 0.0.99 | ||
typed_data | 1.1.6 | ||
vector_math | 2.0.8 |