adhub 0.2.7
adhub: ^0.2.7 copied to clipboard
A Flutter package that simplifies ad integration with a unified API for banner, interstitial, and rewarded ads.
We analyzed this package 40 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
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: GPL-3.0.
0/10 points: 20% or more of the public API has dartdoc comments
33 out of 200 API elements (16.5 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: Ads, Ads.Ads, Ads.Ads.Ads.new, Ads.Ads.currentAdIndex, Ads.Ads.failCounter.
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:adhub/adhub.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:adhub/adhub.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:adhub/adhub.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:adhub/adhub.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:adhub/adhub.dartthat imports:package:adhub/adplugin/Methods/notification_manager.dartthat imports:package:adhub/adplugin/Methods/fcm_manager.dartthat imports:package:adhub/adplugin/Utils/Alerts/adhub_dialogs.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:adhub/adhub.dartthat imports:package:adhub/adplugin/Methods/notification_manager.dartthat imports:package:adhub/adplugin/Methods/fcm_manager.dartthat imports:package:adhub/adplugin/Utils/Alerts/adhub_dialogs.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/adhub/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.kts`.
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
INFO: The file name 'Ads.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run flutter analyze lib/adplugin/Ads/FullScreen/Ads.dart
INFO: Missing type annotation.
lib/adplugin/AdsWidget/Google/Interstitial/google_interstitial.dart:13:3
╷
13 │ loadAd({
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/adplugin/AdsWidget/Google/Interstitial/google_interstitial.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
app_tracking_transparency |
^2.0.7 |
2.0.7 | 2.0.7 | |
applovin_max |
^4.6.4 |
4.6.4 | 4.6.4 | |
dio |
^5.11.0 |
5.11.0 | 5.11.0 | |
firebase_core |
^4.13.0 |
4.13.0 | 4.13.0 | |
firebase_messaging |
^16.5.0 |
16.5.0 | 16.5.0 | |
flutter_hooks |
^0.21.3+1 |
0.21.3+1 | 0.21.3+1 | |
flutter_local_notifications |
^22.3.0 |
22.3.0 | 22.3.0 | |
flutter_svg |
^2.3.0 |
2.3.0 | 2.3.0 | |
google_mobile_ads |
^9.0.0 |
9.1.0 | 9.1.0 | |
in_app_review |
^2.0.12 |
2.0.12 | 2.0.12 | |
loading_animation_widget |
^1.2.1 |
1.3.0 | 1.3.0 | |
onesignal_flutter |
^5.6.7 |
5.6.8 | 5.6.8 | |
package_info_plus |
^10.2.1 |
10.2.1 | 10.2.1 | |
permission_handler |
^13.0.0 |
13.0.1 | 13.0.1 | |
provider |
^6.1.1 |
6.1.5+1 | 6.1.5+1 | |
shared_preferences |
^2.5.5 |
2.5.5 | 2.5.5 | |
url_launcher |
^6.3.2 |
6.3.2 | 6.3.2 |
Transitive dependencies
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.23.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.