AppCenter class

Static class that provides AppCenter APIs

Constructors

AppCenter()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

checkForUpdateAsync() Future
Manually check for app updates
configureAnalyticsAsync({required dynamic enabled}) Future
Enable or disable analytics
configureCrashesAsync({required dynamic enabled}) Future
Enable or disable appcenter crash reports
configureDistributeAsync({required dynamic enabled}) Future
Enable or disable appcenter distribution
configureDistributeDebugAsync({required dynamic enabled}) Future
Enable or disable appcenter distribution for debug build (Android only)
getInstallIdAsync() Future<String>
Get appcenter installation id
isAnalyticsEnabledAsync() Future<bool?>
Check whether analytics is enalbed
isCrashesEnabledAsync() Future<bool?>
Check whether crashes is enabled
isDistributeEnabledAsync() Future<bool?>
Check whether appcenter distribution is enabled
startAsync({required String appSecretAndroid, required String appSecretIOS, dynamic enableAnalytics = true, dynamic enableCrashes = true, dynamic enableDistribute = false, dynamic usePrivateDistributeTrack = false, dynamic disableAutomaticCheckForUpdate = false}) Future
Start appcenter functionalities
trackEventAsync(String name, [Map<String, String>? properties]) Future
Track events