ntiusp_push 1.0.8
ntiusp_push: ^1.0.8 copied to clipboard
Ntiusp Push Package
We analyzed this package 2 days ago, and awarded it 85 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md
in your package should primarily contain characters used in English.
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 176 API elements (1.1 %) 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: Ntiusp_Config
, Ntiusp_Config.NtiuspAPIConfig
, Ntiusp_Config.NtiuspAPIConfig.NtiuspAPIConfig.fromJson
, Ntiusp_Config.NtiuspAPIConfig.NtiuspAPIConfig.new
, Ntiusp_Config.NtiuspAPIConfig.apiUrl
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:ntiusp_push/ntiusp_push.dart
that declares support for platforms:iOS
.
Package does not support platform `Windows`.
Because:
package:ntiusp_push/ntiusp_push.dart
that declares support for platforms:iOS
.
Package does not support platform `Linux`.
Because:
package:ntiusp_push/ntiusp_push.dart
that declares support for platforms:iOS
.
Package does not support platform `macOS`.
Because:
package:ntiusp_push/ntiusp_push.dart
that declares support for platforms:iOS
.
Package does not support platform `Web`.
Because:
package:ntiusp_push/ntiusp_push.dart
that declares support for platforms:iOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `iOS`.
Because:
package:ntiusp_push/ntiusp_push.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:ntiusp_push/ntiusp_push.dart
that imports:package:app_install_date/app_install_date.dart
that imports:package:app_install_date/app_install_date_imp.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.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/ntiusp_push/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 181 issues. Showing the first 2:
WARNING: Unused import: 'package:ntiusp_push/models/ntiusp_payload.dart'.
lib/models/ntiusp_payload.dart:1:8
╷
1 │ import 'package:ntiusp_push/models/ntiusp_payload.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/ntiusp_payload.dart
WARNING: The declaration '_getAndroidOptions' isn't referenced.
lib/ntiusp_push.dart:293:34
╷
293 │ static Future<FirebaseOptions> _getAndroidOptions() async {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/ntiusp_push.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
android_id |
^0.4.0 |
0.4.0 | 0.4.0 | |
app_install_date |
^0.1.4 |
0.1.5 | 0.1.5 | |
carrier_info |
^2.0.8 |
2.0.8 | 3.0.3 | |
crypto |
^3.0.3 |
3.0.6 | 3.0.6 | |
device_info_plus |
^10.1.2 |
10.1.2 | 12.2.0 | |
firebase_core |
^3.9.0 |
3.15.2 | 4.2.0 | |
firebase_messaging |
^15.1.6 |
15.2.10 | 16.0.3 | |
flutter_app_badger |
^1.5.0 |
1.5.0 | 1.5.0 | Discontinued |
flutter_local_notifications |
^17.2.2 |
17.2.4 | 19.5.0 | |
http |
^1.2.2 |
1.5.0 | 1.5.0 | |
package_info_plus |
^8.0.2 |
8.3.1 | 9.0.0 | |
shared_preferences |
^2.2.2 |
2.5.3 | 2.5.3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 7 issues. Showing the first 2:
The constraint `^2.0.8` on carrier_info does not support the stable version `3.0.1`.
Try running dart pub upgrade --major-versions carrier_info
to update the constraint.
The constraint `^10.1.2` on device_info_plus does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
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.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.