appcenter_sdk_plus

Last updated:

0 purchases

appcenter_sdk_plus Image
appcenter_sdk_plus Images
Add to Cart

Description:

appcenter sdk plus

appcenter_sdk_plus #

An AppCenter SDK written purely in Flutter to support multiple platforms. It provides a subset of
operations for AppCenter Analytics and AppCenter Crashes. More details about the AppCenter APIs can
be found on their site.
Features #
This package provides operations for:

sending log events to AppCenter Analytics
sending crash reports to AppCenter Crashes
tracking screen views

Getting started #
To install this package run:
flutter pub add appcenter_sdk_plus
copied to clipboard
For Flutter applications you need to add the native SQLite library with:
flutter pub add sqlite3_flutter_libs
copied to clipboard
For other platforms, read sqlite3 docs
Usage #
import 'package:appcenter_sdk_plus/appcenter_sdk_plus.dart';
import 'package:appcenter_sdk_plus/service/appcenter_analytics.dart';
import 'package:appcenter_sdk_plus/service/appcenter_crashes.dart';

void main() async {
WidgetsFlutterBinding.ensureInitialized();

await AppCenter.start("8e14e67c-7c91-40ac-8517-c62ece8424a6");
await AppCenterAnalytics.trackEvent("app_started",
properties: {"theme": "system"});
try {
throw Exception("something");
} catch (e, s) {
await AppCenterCrashes.trackError(e, s,
properties: {"reason": "Test trackError"});
}
}
copied to clipboard
Additional information #
If you encounter any problems or you feel the library is missing a feature, please raise
a ticket on
GitHub and I'll look into it. Pull request are also welcome.

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.