adsense_platform_interface 0.0.2
adsense_platform_interface: ^0.0.2 copied to clipboard
Platform interface for AdSense plugin
We analyzed this package 2 days ago, and awarded it 100 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.
-
pubspec.yaml
doesn't have ahomepage
entry. -
pubspec.yaml
doesn't have arepository
entry.
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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
2 out of 10 API elements (20.0 %) have documentation comments.
Some symbols that are missing documentation: adsense_platform_interface
, adsense_platform_interface.AdsensePlatform
, adsense_platform_interface.AdsensePlatform.adView
, adsense_platform_interface.AdsensePlatform.initialize
, adsense_platform_interface.AdsenseStub
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:adsense_platform_interface/adsense_platform_interface.dart
that imports:package:adsense_web/adsense_web.dart
that declares support for platforms:Web
.
Package does not support platform `iOS`.
Because:
package:adsense_platform_interface/adsense_platform_interface.dart
that imports:package:adsense_web/adsense_web.dart
that declares support for platforms:Web
.
Package does not support platform `Windows`.
Because:
package:adsense_platform_interface/adsense_platform_interface.dart
that imports:package:adsense_web/adsense_web.dart
that declares support for platforms:Web
.
Package does not support platform `Linux`.
Because:
package:adsense_platform_interface/adsense_platform_interface.dart
that imports:package:adsense_web/adsense_web.dart
that declares support for platforms:Web
.
Package does not support platform `macOS`.
Because:
package:adsense_platform_interface/adsense_platform_interface.dart
that imports:package:adsense_web/adsense_web.dart
that declares support for platforms:Web
.
Package does not support platform `Web`.
Because:
package:adsense_platform_interface/adsense_platform_interface.dart
that imports:package:adsense_mobile/adsense_mobile.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:adsense_platform_interface/adsense_platform_interface.dart
that imports:package:adsense_web/adsense_web.dart
that imports:dart:html
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: Unused import: 'package:adsense_mobile/adsense_mobile.dart'.
lib/adsense_platform_interface.dart:1:8
╷
1 │ import 'package:adsense_mobile/adsense_mobile.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/adsense_platform_interface.dart
WARNING: Unused import: 'package:adsense_web/adsense_web.dart'.
lib/adsense_platform_interface.dart:2:8
╷
2 │ import 'package:adsense_web/adsense_web.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/adsense_platform_interface.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
adsense_mobile |
^0.0.1 |
0.0.2 | 0.0.2 | |
adsense_web |
^0.0.1 |
0.0.2 | 0.0.2 | |
plugin_platform_interface |
^2.1.0 |
2.1.8 | 2.1.8 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
google_mobile_ads |
- | 4.0.0 | 6.0.0 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
path |
- | 1.9.1 | 1.9.1 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
webview_flutter |
- | 4.9.0 | 4.11.0 | |
webview_flutter_android |
- | 3.16.9 | 4.4.1 | |
webview_flutter_platform_interface |
- | 2.11.0 | 2.11.0 | |
webview_flutter_wkwebview |
- | 3.20.0 | 3.20.0 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.