ds_ads 1.4.1
ds_ads: ^1.4.1 copied to clipboard
Ads components for altush Flutter projects. Supports AdMob and AppLovin mediations
We analyzed this package 5 days ago, and awarded it 140 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
93 out of 329 API elements (28.3 %) have documentation comments.
Some symbols that are missing documentation: ds_ads, ds_ads.ALInstanceManager.ALInstanceManager.new, ds_ads.ALInstanceManager.I, ds_ads.ALInstanceManager.adFor, ds_ads.ALInstanceManager.adIdFor.
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:ds_ads/ds_ads.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:ds_ads/ds_ads.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:ds_ads/ds_ads.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:ds_ads/ds_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:ds_ads/ds_ads.dartthat imports:package:ds_ads/src/generic_ads/export.dartthat imports:package:ds_ads/src/generic_ads/generic_types.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:ds_ads/ds_ads.dartthat imports:package:ds_ads/src/generic_ads/export.dartthat imports:package:ds_ads/src/generic_ads/generic_types.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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/ds_ads/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
INFO: The import of 'package:freezed_annotation/freezed_annotation.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.
lib/src/ds_ads_manager.dart:14:8
╷
14 │ import 'package:freezed_annotation/freezed_annotation.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ds_ads_manager.dart
INFO: Missing type annotation.
lib/src/ds_ads_manager.dart:309:42
╷
309 │ static Future<void> waitForInit({final maxWait = const Duration(seconds: 5)}) async {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ds_ads_manager.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
applovin_max |
^4.1.1 |
4.6.1 | 4.6.1 | |
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
ds_common |
^2.2.1 |
2.7.7 | 2.7.7 | |
freezed_annotation |
^2.1.0 |
2.4.4 | 3.1.0 | |
google_mobile_ads |
^5.2.0 |
5.3.1 | 7.0.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.1.0` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.
The constraint `^5.2.0` on google_mobile_ads does not support the stable version `6.0.0`.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.