-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Platform
Linux
Plugin
device_info_plus
Version
8.1.0
Flutter SDK
3.7.3
Steps to reproduce
When running tests in Gitlab CI, I encounter a type mismatch error for Linux.
Code Sample
await DeviceInfoPlugin().linuxInfo;Logs
{"testID":41,"error":"type 'BaseDeviceInfo' is not a subtype of type 'LinuxDeviceInfo' in type cast","stackTrace":"package:device_info_plus/device_info_plus.dart 71:36 DeviceInfoPlugin.linuxInfo\n","isFailure":false,"type":"error","time":181529}[✓] Flutter (Channel stable, 3.7.3, on macOS 13.0 22A380 darwin-x64, locale ru-RU)
• Flutter version 3.7.3 on channel stable at /Volumes/Development/FVM/3.7.3
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9944297138 (11 days ago), 2023-02-08 15:46:04 -0800
• Engine revision 248290d6d5
• Dart version 2.19.2
• DevTools version 2.20.1
[✓] IntelliJ IDEA Ultimate Edition (version 2022.2.4)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 72.1.3
• Dart plugin version 222.4533
Checklist before submitting a bug
- I Google'd a solution and I couldn't find it
- I searched on StackOverflow for a solution and I couldn't find it
- I read the README.md file of the plugin
- I'm using the latest version of the plugin
- All dependencies are up to date with
flutter pub upgrade - I did a
flutter clean - I tried running the example project
larryaasen