fast_ads 1.0.0 copy "fast_ads: ^1.0.0" to clipboard
fast_ads: ^1.0.0 copied to clipboard

本地 Flutter 广告封装包,集成 google_mobile_ads,支持 Banner、插屏、激励、原生广告,内置广告池、优先级兜底、重试等高级特性。

125/ 160
pub points
268
downloads

We analyzed this package 6 days ago, and awarded it 125 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.0").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

81 out of 86 API elements (94.2 %) have documentation comments.

Some symbols that are missing documentation: fast_ads, fast_ads.FastAds.FastAds.new, fast_ads.FastAds.banner, fast_ads.FastAds.native, fast_ads.FastAdsLogger.FastAdsLogger.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:fast_ads/fast_ads.dart that imports:
  • package:google_mobile_ads/google_mobile_ads.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:fast_ads/fast_ads.dart that imports:
  • package:google_mobile_ads/google_mobile_ads.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:fast_ads/fast_ads.dart that imports:
  • package:google_mobile_ads/google_mobile_ads.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:fast_ads/fast_ads.dart that imports:
  • package:google_mobile_ads/google_mobile_ads.dart that declares support for platforms: Android, iOS.

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:fast_ads/fast_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.
Package does not support platform `iOS`.

Because:

  • package:fast_ads/fast_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_android/webview_flutter_android.dart that declares support for platforms: Android.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

INFO: Missing type annotation.

lib/fast_ads.dart:70:10

   ╷
70 │   static preload({Map<FastAdsType, List<String>>? adUnitIds}) {
   │          ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/fast_ads.dart

INFO: Missing type annotation.

lib/src/pool/fast_base_ad.dart:119:3

    ╷
119 │   resetRetry() {
    │   ^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/pool/fast_base_ad.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/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 9.0.0
logger ^2.0.2 2.7.0 2.7.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.18.3
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.2.0 2.4.0
webview_flutter - 4.14.0 4.14.0
webview_flutter_android - 4.13.0 4.13.0
webview_flutter_platform_interface - 2.15.1 2.15.1
webview_flutter_wkwebview - 3.26.0 3.26.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^6.0.0` on google_mobile_ads does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions google_mobile_ads to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.12, Flutter 3.44.2, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
125
points
268
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

本地 Flutter 广告封装包,集成 google_mobile_ads,支持 Banner、插屏、激励、原生广告,内置广告池、优先级兜底、重试等高级特性。

License

MIT (license)

Dependencies

flutter, google_mobile_ads, logger

More

Packages that depend on fast_ads