autosite_builder 1.0.0
autosite_builder: ^1.0.0 copied to clipboard
A Flutter package for auto-generating sites with ads, analytics & premium features.
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/yourusername/autosite_builder was unreachable. Make sure that the website is reachable via HEAD requests.
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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
12 out of 68 API elements (17.6 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: autosite_builder, autosite_builder.AdService, autosite_builder.AdService.AdService.new, autosite_builder.AdService.dispose, autosite_builder.AdService.enableAds.
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:autosite_builder/autosite_builder.dartthat imports:package:autosite_builder/src/premium/subscription_service.dartthat imports:package:autosite_builder/src/analytics/analytics_service.dartthat imports:package:autosite_builder/src/firebase/firebase_init.dartthat imports:package:firebase_analytics/firebase_analytics.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:autosite_builder/autosite_builder.dartthat imports:package:autosite_builder/src/premium/subscription_service.dartthat imports:package:autosite_builder/src/analytics/analytics_service.dartthat imports:package:autosite_builder/src/firebase/firebase_init.dartthat imports:package:firebase_analytics/firebase_analytics.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `macOS`.
Because:
package:autosite_builder/autosite_builder.dartthat imports:package:autosite_builder/src/premium/subscription_service.dartthat imports:package:in_app_purchase/in_app_purchase.dartthat imports:package:in_app_purchase_android/in_app_purchase_android.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:autosite_builder/autosite_builder.dartthat imports:package:autosite_builder/src/premium/subscription_service.dartthat imports:package:in_app_purchase/in_app_purchase.dartthat 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:autosite_builder/autosite_builder.dartthat imports:package:autosite_builder/src/premium/subscription_service.dartthat imports:package:in_app_purchase/in_app_purchase.dartthat imports:package:in_app_purchase_storekit/in_app_purchase_storekit.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `iOS`.
Because:
package:autosite_builder/autosite_builder.dartthat imports:package:autosite_builder/src/premium/subscription_service.dartthat imports:package:in_app_purchase/in_app_purchase.dartthat imports:package:in_app_purchase_android/in_app_purchase_android.dartthat declares support for platforms:Android.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:autosite_builder/autosite_builder.dartthat imports:package:autosite_builder/src/database/mongo_service.dartthat imports:package:mongo_dart/mongo_dart.dartthat imports:package:mongo_dart/src/extensions/file_ext.dartthat 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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 17 issues. Showing the first 2:
WARNING: The declaration '_generateSiteId' isn't referenced.
lib/src/autosite_core.dart:29:17
╷
29 │ static String _generateSiteId() {
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/autosite_core.dart
INFO: 'setCurrentScreen' is deprecated and shouldn't be used. setCurrentScreen() has been deprecated. Please use logScreenView().
lib/src/firebase/firebase_init.dart:60:21
╷
60 │ await analytics.setCurrentScreen(
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/firebase/firebase_init.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
firebase_analytics |
^11.4.5 |
11.6.0 | 12.0.4 | |
firebase_core |
^3.13.0 |
3.15.2 | 4.2.1 | |
google_mobile_ads |
^5.3.1 |
5.3.1 | 6.0.0 | |
http |
^1.3.0 |
1.5.0 | 1.5.0 | |
in_app_purchase |
^3.2.1 |
3.2.3 | 3.2.3 | |
mongo_dart |
^0.10.4 |
0.10.5 | 0.10.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.59 | 1.3.64 | |
archive |
- | 4.0.7 | 4.0.7 | |
async |
- | 2.13.0 | 2.13.0 | |
basic_utils |
- | 5.8.2 | 5.8.2 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
bson |
- | 5.0.7 | 5.0.7 | |
buffer |
- | 1.2.3 | 1.2.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
decimal |
- | 3.2.4 | 3.2.4 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
firebase_analytics_platform_interface |
- | 4.4.3 | 5.0.4 | |
firebase_analytics_web |
- | 0.5.10+16 | 0.6.1 | |
firebase_core_platform_interface |
- | 6.0.2 | 6.0.2 | |
firebase_core_web |
- | 2.24.1 | 3.3.0 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
in_app_purchase_android |
- | 0.4.0+6 | 0.4.0+6 | |
in_app_purchase_platform_interface |
- | 1.4.0 | 1.4.0 | |
in_app_purchase_storekit |
- | 0.4.6+1 | 0.4.6+1 | |
intl |
- | 0.20.2 | 0.20.2 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mongo_dart_query |
- | 5.0.2 | 5.0.2 | |
packages_extensions |
- | 0.1.1 | 0.1.1 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
pool |
- | 1.5.2 | 1.5.2 | |
posix |
- | 6.0.3 | 6.0.3 | |
power_extensions |
- | 0.2.3 | 0.2.3 | |
rational |
- | 2.2.3 | 2.2.3 | |
sasl_scram |
- | 0.1.1 | 0.1.1 | |
saslprep |
- | 1.0.3 | 1.0.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.6 | 0.7.7 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unorm_dart |
- | 0.3.2 | 0.3.2 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
vy_string_utils |
- | 0.4.6 | 0.4.6 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter |
- | 4.13.0 | 4.13.0 | |
webview_flutter_android |
- | 4.10.5 | 4.10.5 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
webview_flutter_wkwebview |
- | 3.23.2 | 3.23.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^11.4.5` on firebase_analytics does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions firebase_analytics to update the constraint.
The constraint `^3.13.0` on firebase_core does not support the stable version `4.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.23.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.