ap_common_firebase 0.16.0 ap_common_firebase: ^0.16.0 copied to clipboard
ap_common for firebase instructure
We analyzed this package 6 days ago, and awarded it 110 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 60 to 180 characters to describe the package, what it does, and its target use case.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md
in your package should primarily contain characters used in English.
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.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
337 out of 419 API elements (80.4 %) have documentation comments.
Some symbols that are missing documentation: apcommonfirebase
, firebase_analytics_utils
, firebase_analytics_utils.FirebaseAnalyticsUtils
, firebase_analytics_utils.FirebaseAnalyticsUtils.FirebaseAnalyticsUtils
, firebase_analytics_utils.FirebaseAnalyticsUtils.analytics
.
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:ap_common_firebase/utils/firebase_analytics_utils.dart
that imports:package:ap_common_firebase/utils/firebase_utils.dart
that imports:package:firebase_messaging/firebase_messaging.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:ap_common_firebase/utils/firebase_analytics_utils.dart
that imports:package:ap_common_firebase/utils/firebase_utils.dart
that imports:package:firebase_messaging/firebase_messaging.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `macOS`.
Because:
package:ap_common_firebase/utils/firebase_analytics_utils.dart
that imports:package:ap_common_firebase/utils/firebase_utils.dart
that imports:package:ap_common_firebase/utils/firebase_performance_utils.dart
that imports:package:firebase_performance/firebase_performance.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Web`.
Because:
package:ap_common_firebase/utils/firebase_analytics_utils.dart
that imports:package:ap_common_firebase/utils/firebase_utils.dart
that imports:package:firebase_crashlytics/firebase_crashlytics.dart
that declares support for platforms:Android
,iOS
,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:ap_common_firebase/utils/firebase_message_utils.dart
that imports:package:ap_common/utils/notification_utils.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
.
Package does not support platform `iOS`.
Because:
package:ap_common_firebase/utils/firebase_message_utils.dart
that imports:package:ap_common/utils/notification_utils.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:ap_common_firebase/utils/firebase_analytics_utils.dart
that imports:package:ap_common_firebase/utils/firebase_utils.dart
that imports:package:firebase_analytics/firebase_analytics.dart
that imports:package:firebase_analytics_platform_interface/firebase_analytics_platform_interface.dart
that imports:package:firebase_analytics_platform_interface/src/method_channel/method_channel_firebase_analytics.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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Statements in an if should be enclosed in a block.
lib/utils/firebase_utils.dart:19:7
╷
19 │ CrashlyticsUtils.instance = FirebaseCrashlyticsUtils.instance;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/firebase_utils.dart
/tmp/pana_NFLXQX/lib/utils/firebase_performance_utils.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
ap_common |
>=0.25.0 <2.0.0 |
0.25.3 | 0.25.3 |
firebase_analytics |
^10.10.7 |
10.10.7 | 11.3.6 |
firebase_core |
^2.30.0 |
2.32.0 | 3.9.0 |
firebase_crashlytics |
^3.5.7 |
3.5.7 | 4.2.0 |
firebase_messaging |
^14.9.4 |
14.9.4 | 15.1.6 |
firebase_performance |
^0.9.4+7 |
0.9.4+7 | 0.10.0+11 |
firebase_remote_config |
^4.4.7 |
4.4.7 | 5.2.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
url_launcher |
^6.1.0 |
6.3.1 | 6.3.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 6 issues. Showing the first 2:
The constraint `^10.10.7` on firebase_analytics does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions firebase_analytics
to update the constraint.
The constraint `^2.30.0` on firebase_core does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions firebase_core
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.