google_mobile_ads 2.4.0 copy "google_mobile_ads: ^2.4.0" to clipboard
google_mobile_ads: ^2.4.0 copied to clipboard

Flutter plugin for Google Mobile Ads, supporting banner, interstitial (full-screen), rewarded and native ads

2134
likes
105/ 140
pub points
99%
popularity

We analyzed this package 3 days ago, and awarded it 105 pub points (of a possible 140):

failed
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:22:4

   ╷
22 │ <p><a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0 License</a></p>
   │    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

354 out of 355 API elements (99.7 %) have documentation comments.

Some symbols that are missing documentation: google_mobile_ads.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

Because:

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

Because:

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

Because:

  • package:google_mobile_ads/google_mobile_ads.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 20 issues. Showing the first 2:

WARNING: This API is available since SDK 2.14.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/nativetemplates/native_template_style.dart:76:30

   ╷
76 │   int get hashCode => Object.hashAll([
   │                              ^^^^^^^
   ╵

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

WARNING: This API is available since SDK 2.14.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.

lib/src/nativetemplates/native_template_text_style.dart:50:30

   ╷
50 │   int get hashCode => Object.hashAll([textColor, backgroundColor, style, size]);
   │                              ^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
meta ^1.0.4 1.11.0 1.15.0
visibility_detector ^0.3.3 0.3.3 0.4.0+2
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

The constraint `^0.3.3` on visibility_detector does not support the stable version `0.4.0+2`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

2134
likes
105
pub points
99%
popularity

Publisher

verified publishergoogle.dev

Flutter plugin for Google Mobile Ads, supporting banner, interstitial (full-screen), rewarded and native ads

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter, meta, visibility_detector

More

Packages that depend on google_mobile_ads