- Removed CrashReporter interface and its implementation, SentryCrashReporter. - Deleted log buffering functionality and associated LogBuffer class. - Updated LoggerAppLogger to eliminate dependencies on removed components. - Simplified logging structure to focus on AppLogger and sensitive data scrubbing. - Adjusted AppEnv to remove Sentry-related configurations. - Refactored tests to align with the new logging architecture.
16 lines
523 B
Dart
16 lines
523 B
Dart
/// 应用唯一 Dart 入口。
|
|
///
|
|
/// Android、iOS 与 Web 用 `--flavor dev|uat|prod` 选择环境;未提供 flavor
|
|
/// 的平台(例如 DevEco 的默认 HAP 构建)统一使用 dev。
|
|
library;
|
|
|
|
import 'package:app/bootstrap.dart';
|
|
import 'package:app/src/bundled_app_env.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter/services.dart' show appFlavor;
|
|
|
|
Future<void> main() async {
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
await bootstrap(await loadBundledAppEnv(flavor: appFlavor));
|
|
}
|