app_center_bundle_sdk 0.0.2 copy "app_center_bundle_sdk: ^0.0.2" to clipboard
app_center_bundle_sdk: ^0.0.2 copied to clipboard

A Bundle for App Center SDK, with this you can use AppCenter Analytics, AppCenter Crash and AppCenter Distribute

AppCenter Plugin for flutter #

======

This is updated plugin currently bundles appcenter analytics, crashes and distribute.

original pub

Getting Started #

To get started, go to AppCenter and register your apps.

For detailed AppCenter API reference, go to https://aka.ms/appcenterdocs

Usage #

Basic usage #

import 'package:flutter_appcenter_bundle/flutter_appcenter_bundle.dart';

await AppCenter.startAsync(
    appSecretAndroid: '******',
    appSecretIOS: '******',
    enableAnalytics: true, // Defaults to true
    enableCrashes: true, // Defaults to true
    enableDistribute: true, // Defaults to false
    usePrivateDistributeTrack: false, // Defaults to false
    disableAutomaticCheckForUpdate: false, // Defaults to false
  );
  
AppCenter.trackEventAsync('my event', <String, String> {
  'prop1': 'prop1',
  'prop2': 'prop2',
});

Turn feature on / off at runtime #

await AppCenter.configureAnalyticsAsync(enabled: true);

await AppCenter.configureCrashesAsync(enabled: true);

await AppCenter.configureDistributeAsync(enabled: true);

await AppCenter.configureDistributeDebugAsync(enabled: true); // Android Only

await AppCenter.checkForUpdateAsync(); // Manually check for update
5
likes
150
points
96
downloads

Publisher

unverified uploader

Weekly Downloads

A Bundle for App Center SDK, with this you can use AppCenter Analytics, AppCenter Crash and AppCenter Distribute

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on app_center_bundle_sdk