ap_common_firebase 0.16.0-dev.2 ap_common_firebase: ^0.16.0-dev.2 copied to clipboard
ap_common for firebase instructure
We analyzed this package 2 days ago, and awarded it 100 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
336 out of 419 API elements (80.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
.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: 'setCurrentScreen' is deprecated and shouldn't be used. setCurrentScreen() has been deprecated. Please use logScreenView().
lib/utils/firebase_analytics_utils.dart:36:22
╷
36 │ await analytics?.setCurrentScreen(
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/firebase_analytics_utils.dart
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
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
ap_common |
>=0.24.0-dev.1 <2.0.0 |
0.24.0-dev.2 | 0.24.0-dev.2 |
firebase_analytics |
^10.4.1 |
10.10.5 | 10.10.5 |
firebase_core |
^2.13.1 |
2.31.0 | 2.31.0 |
firebase_crashlytics |
^3.3.1 |
3.5.5 | 3.5.5 |
firebase_messaging |
^14.6.1 |
14.9.2 | 14.9.2 |
firebase_performance |
^0.9.2+1 |
0.9.4+5 | 0.9.4+5 |
firebase_remote_config |
^4.2.1 |
4.4.5 | 4.4.5 |
flutter |
flutter |
0.0.0 | 0.0.0 |
url_launcher |
^6.1.0 |
6.2.6 | 6.2.6 |
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
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.