fcm_localization 1.0.2 fcm_localization: ^1.0.2 copied to clipboard
Package that depends on fcm_config package to localize firbasemessaging notifications
We analyzed this package 2 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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
117 out of 158 API elements (74.1 %) have documentation comments.
Some symbols that are missing documentation: fcm_localization
, fcm_localization.AndroidNotification.link
, fcm_localization.FCMConfig
, fcm_localization.FCMConfig.displayNotification
, fcm_localization.FCMConfig.displayNotificationFrom
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:fcm_localization/fcm_localization.dart
that imports:package:fcm_localization/src/fcm_localization.dart
that imports:package:fcm_config/fcm_config.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:fcm_localization/fcm_localization.dart
that imports:package:fcm_localization/src/fcm_localization.dart
that imports:package:fcm_config/fcm_config.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that declares support for platforms:Android
,iOS
,macOS
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
ERROR: The class 'FCMConfig' doesn't have an unnamed constructor.
lib/src/fcm_localization.dart:34:3
╷
34 │ FCMConfig().displayNotification(
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/fcm_localization.dart
INFO: The part-of directive uses a library name.
lib/src/translations.dart:1:1
╷
1 │ part of fcm_localizations;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/translations.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
fcm_config |
>=3.0.4 <4.0.0 |
3.1.1 | 3.6.5 |
flutter |
flutter |
0.0.0 | 0.0.0 |
shared_preferences |
>=2.0.5 <3.0.0 |
2.3.4 | 2.3.4 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.