step_logger 1.0.0-beta.4
step_logger: ^1.0.0-beta.4 copied to clipboard
A Flutter plugin for step counting and log sessions with background service support for Android and iOS.
We analyzed this package 4 days ago, and awarded it 140 pub points (of a possible 160):
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
26 out of 121 API elements (21.5 %) have documentation comments.
Some symbols that are missing documentation: background_service
, background_service.BackgroundService
, background_service.BackgroundService.BackgroundService.new
, background_service.BackgroundService.isRunning
, background_service.BackgroundService.start
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:step_logger/step_logger.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:step_logger/step_logger.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:step_logger/step_logger.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:step_logger/step_logger.dart
that declares support for platforms:Android
,iOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:step_logger/step_logger.dart
that imports:package:step_logger/services/step_service_ios.dart
that imports:package:step_logger/utils/notification_utils_ios.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:step_logger/step_logger.dart
that imports:package:step_logger/services/step_service_ios.dart
that imports:package:step_logger/utils/notification_utils_ios.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that declares support for platforms:Linux
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:step_logger/step_logger.dart
that imports:package:step_logger/services/step_service_ios.dart
that imports:package:pedometer/pedometer.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/step_logger/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
/tmp/pana_NYUZYU/lib/models/step_session.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
dependency_validator |
^4.1.3 |
4.1.3 | 5.0.2 | |
flutter_background_service |
^5.1.0 |
5.1.0 | 5.1.0 | |
flutter_local_notifications |
^18.0.1 |
18.0.1 | 19.4.2 | |
health |
^12.2.0 |
12.2.1 | 13.2.0 | |
intl |
^0.20.2 |
0.20.2 | 0.20.2 | |
pedometer |
^4.0.2 |
4.1.1 | 4.1.1 | |
permission_handler |
^11.3.1 |
11.4.0 | 12.0.1 | |
plugin_platform_interface |
^2.0.3 |
2.1.8 | 2.1.8 | |
shared_preferences |
^2.2.3 |
2.5.3 | 2.5.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_fe_analyzer_shared |
- | 67.0.0 | 89.0.0 | |
analyzer |
- | 6.4.1 | 8.2.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
build_config |
- | 1.2.0 | 1.2.0 | |
carp_serializable |
- | 2.0.1 | 2.0.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dbus |
- | 0.7.11 | 0.7.11 | |
device_info_plus |
- | 11.5.0 | 12.1.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
flutter_background_service_android |
- | 6.3.1 | 6.3.1 | |
flutter_background_service_ios |
- | 5.0.3 | 5.0.3 | |
flutter_background_service_platform_interface |
- | 5.1.2 | 5.1.2 | |
flutter_local_notifications_linux |
- | 5.0.0 | 6.0.0 | |
flutter_local_notifications_platform_interface |
- | 8.0.0 | 9.1.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
io |
- | 1.0.5 | 1.0.5 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
permission_handler_android |
- | 12.1.0 | 13.0.1 | |
permission_handler_apple |
- | 9.4.7 | 9.4.7 | |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 | |
permission_handler_platform_interface |
- | 4.3.0 | 4.3.0 | |
permission_handler_windows |
- | 0.2.1 | 0.2.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
shared_preferences_android |
- | 2.4.14 | 2.4.14 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
timezone |
- | 0.10.1 | 0.10.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
watcher |
- | 1.1.4 | 1.1.4 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.14.0 | 5.14.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^4.1.3` on dependency_validator does not support the stable version `5.0.2`.
Try running dart pub upgrade --major-versions dependency_validator
to update the constraint.
The constraint `^18.0.1` on flutter_local_notifications does not support the stable version `19.0.0`.
Try running dart pub upgrade --major-versions flutter_local_notifications
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.