monetix_flutter 0.2.2
monetix_flutter: ^0.2.2 copied to clipboard
A production-ready monetization policy layer for Flutter. Manages ads, premium state, consent, and rewarded ad-free breaks.
We analyzed this package 5 days ago, and awarded it 145 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.2.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
128 out of 268 API elements (47.8 %) have documentation comments.
Some symbols that are missing documentation: monetix_flutter, monetix_flutter.AdDecision.AdDecision.new, monetix_flutter.BasicAdStatus.BasicAdStatus.new, monetix_flutter.BasicAdStatus.adPlayingLabel, monetix_flutter.BasicAdStatus.alreadyAdFreeLabel.
10/10 points: Package has an example
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:monetix_flutter/monetix_flutter.dartthat imports:package:google_mobile_ads/google_mobile_ads.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:monetix_flutter/monetix_flutter.dartthat imports:package:google_mobile_ads/google_mobile_ads.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:monetix_flutter/monetix_flutter.dartthat imports:package:google_mobile_ads/google_mobile_ads.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:monetix_flutter/monetix_flutter.dartthat imports:package:google_mobile_ads/google_mobile_ads.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:monetix_flutter/monetix_flutter.dartthat imports:package:google_mobile_ads/google_mobile_ads.dartthat imports:package:google_mobile_ads/src/mobile_ads.dartthat imports:package:google_mobile_ads/src/ad_instance_manager.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `iOS`.
Because:
package:monetix_flutter/monetix_flutter.dartthat imports:package:google_mobile_ads/google_mobile_ads.dartthat imports:package:google_mobile_ads/src/mobile_ads.dartthat imports:package:google_mobile_ads/src/ad_instance_manager.dartthat imports:package:webview_flutter_android/webview_flutter_android.dartthat declares support for platforms:Android.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'getCurrentOrientationAnchoredAdaptiveBannerAdSize' is deprecated and shouldn't be used. Use getLargeAnchoredAdaptiveBannerAdSize instead.
lib/src/widgets/monetized_native_ad.dart:88:24
╷
88 │ await AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize(width);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/monetized_native_ad.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
connectivity_plus |
^7.1.1 |
7.2.0 | 7.2.0 | |
google_mobile_ads |
>=7.0.0 <9.0.0 |
8.0.0 | 9.0.0 | |
provider |
^6.0.5 |
6.1.5+1 | 6.1.5+1 | |
shared_preferences |
^2.2.0 |
2.5.5 | 2.5.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.1.0 | 2.1.0 | |
dbus |
- | 0.7.14 | 0.7.14 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
nested |
- | 1.0.0 | 1.0.0 | |
nm |
- | 0.5.0 | 0.5.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.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
shared_preferences_android |
- | 2.4.26 | 2.4.26 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
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 | |
vector_math |
- | 2.2.0 | 2.4.0 | |
web |
- | 1.1.1 | 1.1.1 | |
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 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 7.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=7.0.0 <9.0.0` on google_mobile_ads does not support the stable version `9.0.0`, that was published 16 days ago.
When google_mobile_ads is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions google_mobile_ads 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.13, Flutter 3.44.3, Dart 3.12.2.
Check the analysis log for details.