# flutter_appcenter_bundle **Repository Path**: cheasonxie/flutter_appcenter_bundle ## Basic Information - **Project Name**: flutter_appcenter_bundle - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AppCenter Plugin for flutter [![pub package](https://img.shields.io/pub/v/flutter_appcenter_bundle.svg)](https://pub.dev/packages/flutter_appcenter_bundle) [![Build status](https://img.shields.io/cirrus/github/hanabi1224/flutter_appcenter_bundle/master)](https://cirrus-ci.com/github/hanabi1224/flutter_appcenter_bundle) ====== This plugin currently bundles appcenter analytics, crashes and distribute. ## Getting Started To get started, go to [AppCenter](https://appcenter.ms/apps) and register your apps. For detailed AppCenter API reference, go to https://aka.ms/appcenterdocs ## Usage ### Basic usage ```dart 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', { 'prop1': 'prop1', 'prop2': 'prop2', }); ``` ### Turn feature on / off at runtime ```dart 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 ```