flutter_monetization_kit 0.0.4
flutter_monetization_kit: ^0.0.4 copied to clipboard
A Flutter plugin that provides a unified and easy-to-use API for Google Mobile Ads and in-app purchases on Android and iOS.
We analyzed this package 3 hours ago, and awarded it 130 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
75 out of 228 API elements (32.9 %) have documentation comments.
Some symbols that are missing documentation: flutter_monetization_kit, flutter_monetization_kit.AdRegistry, flutter_monetization_kit.AdRegistry.getAd, flutter_monetization_kit.AdRegistry.instance, flutter_monetization_kit.AdRegistry.isAdLoading.
10/10 points: Package has an example
10/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:flutter_monetization_kit/flutter_monetization_kit.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:flutter_monetization_kit/flutter_monetization_kit.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:flutter_monetization_kit/flutter_monetization_kit.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:flutter_monetization_kit/flutter_monetization_kit.dartthat 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:flutter_monetization_kit/flutter_monetization_kit.dartthat imports:package:flutter_monetization_kit/src/google_ads/widgets/native_widget.dartthat imports:package:flutter_monetization_kit/src/google_ads/managers/native_ad_manager.dartthat imports:package:flutter_monetization_kit/src/google_ads/core/ads_utils.dartthat imports:package:flutter_monetization_kit/src/google_ads/core/network_info.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:flutter_monetization_kit/flutter_monetization_kit.dartthat imports:package:flutter_monetization_kit/src/google_ads/widgets/native_widget.dartthat imports:package:flutter_monetization_kit/src/google_ads/managers/native_ad_manager.dartthat imports:package:flutter_monetization_kit/src/google_ads/core/ads_utils.dartthat imports:package:flutter_monetization_kit/src/google_ads/core/network_info.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/flutter_monetization_kit/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: Don't invoke 'print' in production code.
lib/src/google_ads/core/ads_settings.dart:46:9
╷
46 │ print("AdsSettings: Premium enabled. Ads will be disabled.");
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/google_ads/core/ads_settings.dart
INFO: Don't invoke 'print' in production code.
lib/src/google_ads/core/ads_settings.dart:55:7
╷
55 │ print("AdsSettings: App Open on Resume ${status ? 'enabled' : 'disabled'}.");
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/google_ads/core/ads_settings.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
connectivity_plus |
^7.3.0 |
7.3.2 | 7.3.2 | |
google_mobile_ads |
^9.0.0 |
9.2.0 | 9.2.0 | |
plugin_platform_interface |
^2.1.8 |
2.1.8 | 2.1.8 | |
shared_preferences |
^2.5.5 |
2.5.6 | 2.5.6 | |
shimmer |
^3.0.0 |
3.0.0 | 4.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 2.2.0 | 2.2.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.1.0 | 2.1.0 | |
crypto |
- | 3.0.8 | 3.0.8 | |
dbus |
- | 0.8.0 | 0.8.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
hooks |
- | 2.2.0 | 2.2.0 | |
jni |
- | 1.1.2 | 1.1.2 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
nm |
- | 0.6.0 | 0.6.0 | |
objective_c |
- | 9.6.3 | 9.6.3 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.1.0 | 7.1.0 | |
platform |
- | 3.2.0 | 3.2.0 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
shared_preferences_android |
- | 2.5.4 | 2.5.4 | |
shared_preferences_foundation |
- | 2.6.1 | 2.6.1 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
web |
- | 1.1.2 | 1.1.2 | |
webview_flutter |
- | 4.14.1 | 4.14.1 | |
webview_flutter_android |
- | 4.14.1 | 4.14.1 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 | |
webview_flutter_wkwebview |
- | 3.27.2 | 3.27.2 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 7.1.0 | 7.1.0 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.0.0` on shimmer does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions shimmer 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.19, Flutter 3.47.8, Dart 3.13.7.
Check the analysis log for details.