flutter_appcenter 1.0.6 flutter_appcenter: ^1.0.6 copied to clipboard
Support Android/iOS to Build, Test, and Distribute, Analytics and Diagnostics services.
flutter_appcenter #
Microsoft AppCenter
Support Android/iOS to Build, Test, and Distribute, Analytics and Diagnostics services. #
一、Import #
dependencies:
flutter_appcenter: lastVersion
二、Usage #
import 'package:flutter_appcenter/flutter_appcenter.dart';
FlutterAppCenter.init(
context: context,
appSecretAndroid: '',//'Your Android App Secret',
appSecretIOS: '',//'Your iOS App Secret'
tokenAndroid: '',//'Your Android Token'
tokenIOS: '',//'Your iOS Token',
betaUrlIOS: '', //itms-beta
usePrivateTrack: false,
).then((res) async {
await FlutterAppCenter.isEnabledForDistribute();
await FlutterAppCenter.checkForUpdate(context);
});