shorebase 0.1.4
shorebase: ^0.1.4 copied to clipboard
Shorebase application platform SDK for identity, configuration, support, and in-app experiences.
We analyzed this package 8 hours ago, and awarded it 105 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.1.4").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
5 out of 94 API elements (5.3 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: shorebase, shorebase.Article, shorebase.Article.Article.fromJson, shorebase.Article.Article.new, shorebase.Article.categoryId.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:shorebase/shorebase.dartthat imports:package:shorebase/src/ui/help_center_view.dartthat imports:package:flutter_widget_from_html/flutter_widget_from_html.dartthat imports:package:flutter_widget_from_html/src/widget_factory.dartthat imports:package:fwfh_webview/fwfh_webview.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:shorebase/shorebase.dartthat imports:package:shorebase/src/ui/help_center_view.dartthat imports:package:shorebase/src/shorebase_client.dartthat imports:package:shorebase/src/features/auth/identity/identity_manager.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:shorebase/shorebase.dartthat imports:package:shorebase/src/ui/help_center_view.dartthat imports:package:shorebase/src/shorebase_client.dartthat imports:package:shorebase/src/features/auth/identity/identity_manager.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:shorebase/shorebase.dartthat imports:package:shorebase/src/ui/help_center_view.dartthat imports:package:flutter_widget_from_html/flutter_widget_from_html.dartthat imports:package:flutter_widget_from_html/src/widget_factory.dartthat imports:package:fwfh_just_audio/fwfh_just_audio.dartthat imports:package:fwfh_just_audio/src/just_audio_factory.dartthat imports:package:fwfh_just_audio/src/audio_player/audio_player.dartthat imports:package:just_audio/just_audio.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
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:shorebase/shorebase.dartthat imports:package:shorebase/src/ui/help_center_view.dartthat imports:package:shorebase/src/shorebase_client.dartthat imports:package:shorebase/src/features/auth/identity/identity_manager.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:shorebase/shorebase.dartthat imports:package:shorebase/src/ui/help_center_view.dartthat imports:package:shorebase/src/shorebase_client.dartthat imports:package:shorebase/src/features/auth/identity/identity_manager.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
WARNING: This default clause is covered by the previous cases.
lib/src/features/auth/identity/identity_manager.dart:65:9
╷
65 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/features/auth/identity/identity_manager.dart
INFO: Use the null-aware marker '?' rather than a null check via an 'if'.
lib/src/features/auth/data/repositories/auth_repository.dart:24:7
╷
24 │ if (name != null) 'name': name,
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/features/auth/data/repositories/auth_repository.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.7 |
3.0.7 | 3.0.7 | |
device_info_plus |
^12.2.0 |
12.4.0 | 13.2.0 | |
dio |
^5.9.0 |
5.11.1 | 5.11.1 | |
equatable |
^2.0.7 |
2.1.0 | 3.0.0 | |
flutter_widget_from_html |
^0.16.0 |
0.16.1 | 0.17.4 | |
http |
^1.6.0 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.9.0 |
4.12.0 | 4.12.0 | |
package_info_plus |
^9.0.0 |
9.0.1 | 10.2.1 | |
shared_preferences |
^2.5.3 |
2.5.5 | 2.5.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
audio_session |
- | 0.2.4 | 0.2.4 | |
cached_network_image |
- | 4.0.0 | 4.0.0 | |
cached_network_image_platform_interface |
- | 5.0.0 | 5.0.0 | |
cached_network_image_web |
- | 2.0.0 | 2.0.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
chewie |
- | 1.13.1 | 1.17.2 | |
clock |
- | 1.1.3 | 1.1.3 | |
code_assets |
- | 2.1.0 | 2.1.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
cupertino_icons |
- | 1.0.9 | 1.0.9 | |
cupertino_ui |
- | 1.1.0 | 1.1.0 | |
dbus |
- | 0.7.15 | 0.8.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 8.1.0 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_cache_manager |
- | 3.4.5 | 3.4.5 | |
flutter_svg |
- | 2.3.0 | 2.3.0 | |
flutter_widget_from_html_core |
- | 0.17.4 | 0.17.4 | |
fwfh_cached_network_image |
- | 0.16.3 | 0.16.3 | |
fwfh_chewie |
- | 0.16.1 | 0.16.1 | |
fwfh_just_audio |
- | 0.17.0 | 0.17.0 | |
fwfh_svg |
- | 0.16.1 | 0.16.1 | |
fwfh_url_launcher |
- | 0.16.1 | 0.16.1 | |
fwfh_webview |
- | 0.15.8 | 0.15.8 | |
hooks |
- | 2.2.0 | 2.2.0 | |
html |
- | 0.15.7 | 0.15.7 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.3 | 0.20.3 | |
jni |
- | 1.0.3 | 1.0.3 | |
jni_flutter |
- | 1.0.3 | 1.0.3 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
just_audio |
- | 0.10.6 | 0.10.6 | |
just_audio_platform_interface |
- | 4.6.0 | 4.6.0 | |
just_audio_web |
- | 0.4.16 | 0.4.16 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
material_ui |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
objective_c |
- | 9.6.0 | 9.6.0 | |
octo_image |
- | 2.1.0 | 2.1.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 4.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider |
- | 2.1.6 | 2.1.6 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
shared_preferences_android |
- | 2.4.28 | 2.4.28 | |
shared_preferences_foundation |
- | 2.5.7 | 2.5.7 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
sqflite |
- | 2.4.4 | 2.4.4 | |
sqflite_android |
- | 2.4.4 | 2.4.4 | |
sqflite_common |
- | 2.5.13 | 2.5.13 | |
sqflite_darwin |
- | 2.4.4 | 2.4.4 | |
sqflite_platform_interface |
- | 2.4.2 | 2.4.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.2 | 3.4.2 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher |
- | 6.3.2 | 6.3.2 | |
url_launcher_android |
- | 6.3.33 | 6.3.33 | |
url_launcher_ios |
- | 6.4.2 | 6.4.2 | |
url_launcher_linux |
- | 3.2.3 | 3.2.3 | |
url_launcher_macos |
- | 3.2.6 | 3.2.6 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.3 | 2.4.3 | |
url_launcher_windows |
- | 3.1.6 | 3.1.6 | |
uuid |
- | 4.6.0 | 4.6.0 | |
vector_graphics |
- | 1.2.3 | 1.2.3 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.3.0 | 1.3.0 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
video_player |
- | 2.14.0 | 2.14.0 | |
video_player_android |
- | 2.12.2 | 2.12.2 | |
video_player_avfoundation |
- | 2.12.0 | 2.12.0 | |
video_player_platform_interface |
- | 6.9.0 | 6.9.0 | |
video_player_web |
- | 2.4.0 | 2.4.0 | |
wakelock_plus |
- | 1.5.2 | 1.8.0 | |
wakelock_plus_platform_interface |
- | 1.7.0 | 1.7.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter |
- | 4.14.1 | 4.14.1 | |
webview_flutter_android |
- | 4.14.1 | 4.14.1 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 | |
webview_flutter_wkwebview |
- | 3.26.1 | 3.26.1 | |
win32 |
- | 5.15.0 | 6.4.0 | |
win32_registry |
- | 2.1.0 | 3.0.3 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 7.0.1 | 7.0.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^12.2.0` on device_info_plus does not support the stable version `13.0.0`.
Try running dart pub upgrade --major-versions device_info_plus to update the constraint.
The constraint `^2.0.7` on equatable does not support the stable version `3.0.0`, that was published 5 days ago.
When equatable is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions equatable 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.23.19, Flutter 3.47.4, Dart 3.13.3.
Check the analysis log for details.