preload_google_ads 1.0.0
preload_google_ads: ^1.0.0 copied to clipboard
Preloading Google Ads in Flutter loads ads in the background for quick display.
We analyzed this package 45 hours ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
.
10/10 points: 20% or more of the public API has dartdoc comments
10654 out of 10828 API elements (98.4 %) have documentation comments.
Some symbols that are missing documentation: preload_google_ads
, preload_google_ads.ActivateAction.ActivateAction.new
, preload_google_ads.AdCounterWidget
, preload_google_ads.AdCounterWidget.showCounter
, preload_google_ads.AdLayout
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:preload_google_ads/preload_google_ads.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:preload_google_ads/preload_google_ads.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:preload_google_ads/preload_google_ads.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:preload_google_ads/preload_google_ads.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:preload_google_ads/preload_google_ads.dart
that declares support for platforms:Android
.
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:preload_google_ads/preload_google_ads.dart
that imports:package:google_mobile_ads/google_mobile_ads.dart
that imports:package:google_mobile_ads/src/mobile_ads.dart
that imports:package:google_mobile_ads/src/ad_instance_manager.dart
that imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart
that declares support for platforms:iOS
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:preload_google_ads/preload_google_ads.dart
that imports:package:google_mobile_ads/google_mobile_ads.dart
that imports:package:google_mobile_ads/src/mobile_ads.dart
that imports:package:google_mobile_ads/src/ad_instance_manager.dart
that imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart
that imports:package:webview_flutter_wkwebview/src/webkit_webview_platform.dart
that imports:package:webview_flutter_wkwebview/src/webkit_webview_cookie_manager.dart
that imports:package:webview_flutter_wkwebview/src/webkit_proxy.dart
that imports:package:webview_flutter_wkwebview/src/common/web_kit.g.dart
that 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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/ad_commons/utils.dart:50:1
╷
50 │ setConfigData(AdConfigData? adConfig) async {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ad_commons/utils.dart
INFO: Missing type annotation.
lib/src/ad_initial.dart:30:3
╷
30 │ showNativeAd({NativeADType nativeADType = NativeADType.medium}) {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ad_initial.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
google_mobile_ads |
^6.0.0 |
6.0.0 | 6.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
webview_flutter |
- | 4.13.0 | 4.13.0 | |
webview_flutter_android |
- | 4.10.3 | 4.10.3 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
webview_flutter_wkwebview |
- | 3.23.1 | 3.23.1 |
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.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.