flutter: catcher: Changed package_info to package_info_plus to support all platforms

This commit is contained in:
Calcitem 2021-04-06 00:39:21 +08:00
parent 917f5d182e
commit 380af44ddb
2 changed files with 2 additions and 7 deletions

View File

@ -35,11 +35,6 @@ import 'services/audios.dart';
//import 'package:sentry_flutter/sentry_flutter.dart';
Future<void> main() async {
if (!(Platform.isAndroid || Platform.isIOS)) {
runApp(SanmillApp());
return;
}
var catcher = Catcher(rootWidget: SanmillApp(), ensureInitialized: true);
//DateTime now = DateTime.now();

View File

@ -12,7 +12,7 @@ dependencies:
flutter_localizations:
sdk: flutter
cupertino_icons: ^1.0.2
just_audio: ^0.7.2
just_audio: ^0.7.3
path_provider: ^2.0.1
package_info: ^2.0.0
uuid: ^3.0.3
@ -20,7 +20,7 @@ dependencies:
intl: 0.17.0
animated_text_kit: ^4.1.1
flutter_colorpicker: ^0.4.0
catcher: ^0.6.3
catcher: ^0.6.5
stack_trace: ^1.10.0
device_info_plus_platform_interface: ^1.0.1