ap_common_firebase 0.16.0
ap_common_firebase: ^0.16.0 copied to clipboard
ap_common for firebase instructure
We analyzed this package 3 days ago, and awarded it 40 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.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting ap_common_firebase... Discovering libraries... ERR: dartdoc 8.3.4 (/tmp/analyzerNEPETE/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.9.2.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/analyzerNEPETE/pub-cache/h[...] #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:215:7) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:202:27) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:80:55) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:202:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:290:22)
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
.
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.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 38 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:ap_common/config/analytics_constants.dart'.
lib/utils/firebase_analytics_utils.dart:4:8
╷
4 │ import 'package:ap_common/config/analytics_constants.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/firebase_analytics_utils.dart
ERROR: Target of URI doesn't exist: 'package:ap_common/models/user_info.dart'.
lib/utils/firebase_analytics_utils.dart:5:8
╷
5 │ import 'package:ap_common/models/user_info.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
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 | Notes |
---|---|---|---|---|
ap_common |
>=0.25.0 <2.0.0 |
0.26.0-dev.4 | 0.26.0+3 | |
firebase_analytics |
^10.10.7 |
10.10.7 | 12.0.2 | |
firebase_core |
^2.30.0 |
2.32.0 | 4.1.1 | |
firebase_crashlytics |
^3.5.7 |
3.5.7 | 5.0.2 | |
firebase_messaging |
^14.9.4 |
14.9.4 | 16.0.2 | |
firebase_performance |
^0.9.4+7 |
0.9.4+7 | 0.11.1 | |
firebase_remote_config |
^4.4.7 |
4.4.7 | 6.0.2 | |
url_launcher |
^6.1.0 |
6.3.2 | 6.3.2 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 32 errors:
URI_DOES_NOT_EXIST
-lib/utils/firebase_analytics_utils.dart:4:8
- Target of URI doesn't exist: 'package:ap_common/config/analytics_constants.dart'.URI_DOES_NOT_EXIST
-lib/utils/firebase_analytics_utils.dart:5:8
- Target of URI doesn't exist: 'package:ap_common/models/user_info.dart'.URI_DOES_NOT_EXIST
-lib/utils/firebase_analytics_utils.dart:6:8
- Target of URI doesn't exist: 'package:ap_common/resources/ap_theme.dart'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.