ap_common_firebase 0.15.0 ap_common_firebase: ^0.15.0 copied to clipboard
ap_common for firebase instructure
We analyzed this package 20 hours ago, and awarded it 80 pub points (of a possible 140):
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
477 out of 602 API elements (79.2 %) 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 imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dart
that imports:package:flutter_local_notifications_linux/src/notifications_manager.dart
that imports:package:flutter_local_notifications_linux/src/storage.dart
that imports:package:flutter_local_notifications_linux/src/platform_info.dart
that imports:package:xdg_directories/xdg_directories.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 imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dart
that imports:package:flutter_local_notifications_linux/src/notifications_manager.dart
that imports:package:flutter_local_notifications_linux/src/storage.dart
that imports:package:flutter_local_notifications_linux/src/platform_info.dart
that imports:package:xdg_directories/xdg_directories.dart
that declares support for platforms:Linux
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: The operand can't be null, so the condition is always 'true'.
lib/utils/firebase_analytics_utils.dart:88:21
╷
88 │ if (userInfo.id != null && userInfo.id!.isNotEmpty) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/firebase_analytics_utils.dart
WARNING: The '!' will have no effect because the receiver can't be null.
lib/utils/firebase_analytics_utils.dart:88:43
╷
88 │ if (userInfo.id != null && userInfo.id!.isNotEmpty) {
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/firebase_analytics_utils.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
ap_common |
>=0.19.2 <1.0.0 |
0.23.1 | 0.23.1 |
firebase_analytics |
^9.3.0 |
9.3.8 | 10.10.4 |
firebase_core |
^1.18.0 |
1.24.0 | 2.30.1 |
firebase_crashlytics |
^2.8.6 |
2.9.0 | 3.5.4 |
firebase_messaging |
^12.0.1 |
12.0.3 | 14.9.1 |
firebase_performance |
^0.8.2+1 |
0.8.3+3 | 0.9.4+4 |
firebase_remote_config |
^2.0.13 |
2.0.20 | 4.4.4 |
flutter |
flutter |
0.0.0 | 0.0.0 |
platform |
^3.1.0 |
3.1.4 | 3.1.4 |
url_launcher |
^6.0.3 |
6.2.6 | 6.2.6 |
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 `^9.3.0` on firebase_analytics does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions firebase_analytics
to update the constraint.
The constraint `^1.18.0` on firebase_core does not support the stable version `2.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
Analyzed with Pana 0.22.3
, Flutter 3.19.5
, Dart 3.3.3
.
Check the analysis log for details.