ui_background_task 0.1.3 ui_background_task: ^0.1.3 copied to clipboard
A Flutter iOS plugin to begin and end a UI Background task. It helps finishing long tasks up to 30s after the app is pushed to background.
We analyzed this package 8 days ago, and awarded it 110 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
2 out of 9 API elements (22.2 %) have documentation comments.
Some symbols that are missing documentation: ui_background_task
, ui_background_task.UiBackgroundTask
, ui_background_task.UiBackgroundTask.appLifeCycleUpdate
, ui_background_task.UiBackgroundTask.beginBackgroundTask
, ui_background_task.UiBackgroundTask.dispose
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ iOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:ui_background_task/ui_background_task.dart
that declares support for platforms:iOS
.
Package does not support platform `Windows`.
Because:
package:ui_background_task/ui_background_task.dart
that declares support for platforms:iOS
.
Package does not support platform `Linux`.
Because:
package:ui_background_task/ui_background_task.dart
that declares support for platforms:iOS
.
Package does not support platform `macOS`.
Because:
package:ui_background_task/ui_background_task.dart
that declares support for platforms:iOS
.
Package does not support platform `Web`.
Because:
package:ui_background_task/ui_background_task.dart
that declares support for platforms:iOS
.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: Missing case clause for 'hidden'.
lib/src/ui_background_task.dart:68:5
╷
68 │ switch (appLifecycleState) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui_background_task.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 |
stop_watch_timer |
^2.0.0 |
2.0.0 | 3.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.12.0 | 1.15.0 |
rxdart |
- | 0.27.7 | 0.27.7 |
sky_engine |
- | 0.0.99 | 0.0.99 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.0.0` on stop_watch_timer does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions stop_watch_timer
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.22.0
, Dart 3.4.0
.
Check the analysis log for details.