nudgecore_v2 7.0.3
nudgecore_v2: ^7.0.3 copied to clipboard
Official NudgeCore V2 Flutter plugin for the NudgeNow platform.
We analyzed this package 3 days ago, and awarded it 100 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.
0/10 points: 20% or more of the public API has dartdoc comments
49 out of 403 API elements (12.2 %) 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: db, db.DatabaseHelper, db.DatabaseHelper.DatabaseHelper.new, db.DatabaseHelper.campaignTableName, db.DatabaseHelper.deleteAllCampaigns.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:nudgecore_v2/nudgecore_v2.dartthat declares support for platforms:Android,iOS,Windows.
Package does not support platform `macOS`.
Because:
package:nudgecore_v2/nudgecore_v2.dartthat declares support for platforms:Android,iOS,Windows.
Package does not support platform `Web`.
Because:
package:nudgecore_v2/nudgecore_v2.dartthat declares support for platforms:Android,iOS,Windows.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Windows`.
Because:
package:nudgecore_v2/nudgecore_v2.dartthat imports:package:nudgecore_v2/services/core/provider.dartthat imports:package:nudgecore_v2/services/core/nudge.dartthat imports:package:nudgecore_v2/helpers/db.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/nudgecore_v2/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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
WARNING: Unused import: 'package:flutter/cupertino.dart'.
lib/models/widget_details.dart:1:8
╷
1 │ import 'package:flutter/cupertino.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/widget_details.dart
WARNING: Unused import: 'package:flutter/foundation.dart'.
lib/services/core/nudge.dart:4:8
╷
4 │ import 'package:flutter/foundation.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/services/core/nudge.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
path |
any |
1.9.1 | 1.9.1 | |
path_provider |
any |
2.1.5 | 2.1.5 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
rxdart |
^0.27.0 |
0.27.7 | 0.28.0 | |
shared_preferences |
any |
2.5.4 | 2.5.4 | |
sqflite |
any |
2.4.2 | 2.4.2 | |
url_launcher |
any |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
code_assets |
- | 0.19.10 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 0.20.5 | 1.0.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.0 | |
native_toolchain_c |
- | 0.17.2 | 0.17.4 | |
objective_c |
- | 9.2.2 | 9.2.2 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
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 | |
platform |
- | 3.1.6 | 3.1.6 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
shared_preferences_android |
- | 2.4.18 | 2.4.18 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
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 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.28 | 6.3.28 | |
url_launcher_ios |
- | 6.3.6 | 6.3.6 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.2 | 2.4.2 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.27.0` on rxdart does not support the stable version `0.28.0`.
Try running dart pub upgrade --major-versions rxdart to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/helpers/db.dart:20:9- The argument type 'String?' can't be assigned to the parameter type 'String'.UNDEFINED_METHOD-lib/services/callbacks/nudge_callback_manager.dart:47:15- The method 'launchUrl' isn't defined for the type 'NudgeCallbackManager'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.5, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.