flutter: catcher: Changed package_info to package_info_plus to support all platforms
This commit is contained in:
parent
917f5d182e
commit
380af44ddb
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue