fix(battery_plus): Fix crash when retrieving battery level on desktop Mac. #426
battery_plus.yaml
on: pull_request
Dart Analyzer
1m 13s
android_example_build
5m 6s
ios_example_build
2m 49s
ios_integration_test
6m 33s
macos_example_build
2m 59s
macos_integration_test
0s
linux_example_build
1m 33s
linux_integration_test
1m 53s
windows_example_build
3m 34s
windows_integration_test
3m 0s
web_example_build
1m 17s
Matrix: android_integration_test
Annotations
2 errors, 1 warning, and 2 notices
android_integration_test (34)
The job running on runner GitHub Actions 12 has exceeded the maximum execution time of 30 minutes.
|
android_integration_test (34)
The operation was canceled.
|
ios_integration_test
More than one (5) device matching requirements (os:[] os_version:[] model:[iPhone 15]) have been found.
|
Don't use 'BuildContext's across async gaps.:
packages/battery_plus/battery_plus/example/lib/main.dart#L83
Try rewriting the code to not use the 'BuildContext', or guard the use with a 'mounted' check.
See https://dart.dev/diagnostics/use_build_context_synchronously to learn more about this problem.
|
Don't use 'BuildContext's across async gaps.:
packages/battery_plus/battery_plus/example/lib/main.dart#L107
Try rewriting the code to not use the 'BuildContext', or guard the use with a 'mounted' check.
See https://dart.dev/diagnostics/use_build_context_synchronously to learn more about this problem.
|