flutter_android_local_notification 0.1.0
flutter_android_local_notification: ^0.1.0 copied to clipboard
android_local_notification
We analyzed this package 13 hours ago, and awarded it 105 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.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: flutter_android_local_notification
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
pubspec.yaml
from the repository has no repository
or homepage
URL.
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.0").
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
3 out of 41 API elements (7.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: flutter_android_local_notification
, flutter_android_local_notification.FlutterAndroidLocalNotification
, flutter_android_local_notification.FlutterAndroidLocalNotification.FlutterAndroidLocalNotification.new
, flutter_android_local_notification.FlutterAndroidLocalNotification.getLaunchNotificationType
, flutter_android_local_notification.FlutterAndroidLocalNotification.initAllNotification
.
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:flutter_android_local_notification/flutter_android_local_notification.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:flutter_android_local_notification/flutter_android_local_notification.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:flutter_android_local_notification/flutter_android_local_notification.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:flutter_android_local_notification/flutter_android_local_notification.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional 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/flutter_android_local_notification/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 12 issues. Showing the first 2:
WARNING: Unused import: 'dart:convert'.
lib/flutter_android_local_notification_method_channel.dart:1:8
╷
1 │ import 'dart:convert';
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_android_local_notification_method_channel.dart
WARNING: This function has a nullable return type of 'FutureOr
lib/flutter_android_local_notification_method_channel.dart:28:19
╷
28 │ Future<String?> initWorkManager(List<LocalNotificationConfig> list,LocalNotificationCallback callback) async {
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_android_local_notification_method_channel.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
android_intent_plus |
5.3.0 |
5.3.0 | 6.0.0 | |
firebase_messaging |
15.0.4 |
15.0.4 | 16.0.3 | |
flutter_broadcasts_plus |
0.0.4 |
0.0.4 | 0.0.4 | |
permission_handler |
11.3.1 |
11.3.1 | 12.0.1 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_flutterfire_internals |
- | 1.3.57 | 1.3.63 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
firebase_core |
- | 3.15.0 | 4.2.0 | |
firebase_core_platform_interface |
- | 5.4.2 | 6.0.2 | |
firebase_core_web |
- | 2.24.0 | 3.2.0 | |
firebase_messaging_platform_interface |
- | 4.6.8 | 4.7.3 | |
firebase_messaging_web |
- | 3.10.8 | 4.0.3 | |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
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 | |
platform |
- | 3.1.6 | 3.1.6 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.6 | 0.7.7 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `5.3.0` on android_intent_plus does not support the stable version `5.3.1`.
Try running dart pub upgrade --major-versions android_intent_plus
to update the constraint.
The constraint `15.0.4` on firebase_messaging does not support the stable version `15.1.0`.
Try running dart pub upgrade --major-versions firebase_messaging
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.