ds_ads 0.8.5
ds_ads: ^0.8.5 copied to clipboard
Ads SectDev components for Flutter projects (https://sect.dev/). Supports AdMob and AppLovin mediations
We analyzed this package 4 days ago, and awarded it 120 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
68 out of 318 API elements (21.4 %) 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 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:ds_ads/ds_ads.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:ds_ads/ds_ads.dartthat declares support for platforms:Android.
Package does not support platform `Linux`.
Because:
package:ds_ads/ds_ads.dartthat declares support for platforms:Android.
Package does not support platform `macOS`.
Because:
package:ds_ads/ds_ads.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:ds_ads/ds_ads.dartthat declares support for platforms:Android.
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 17 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/ds_ads_manager.dart:273:42
╷
273 │ 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
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/ds_ads_overlay_screen.dart:47:37
╷
47 │ backgroundColor: Colors.black.withOpacity(0.3),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ds_ads_overlay_screen.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
applovin_max |
3.10.1 |
3.10.1 | 4.6.1 | |
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
ds_common |
^0.1.11 |
0.1.39 | 2.7.7 | |
fimber |
^0.7.0 |
0.7.0 | 0.7.0 | |
freezed_annotation |
^2.1.0 |
2.4.4 | 3.1.0 | |
google_mobile_ads |
^5.1.0 |
5.3.1 | 7.0.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `3.10.1` on applovin_max does not support the stable version `3.11.0`.
Try running dart pub upgrade --major-versions applovin_max to update the constraint.
The constraint `^0.1.11` on ds_common does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions ds_common to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
UNDEFINED_METHOD-lib/src/ds_ads_app_open.dart:503:17- The method 'let' isn't defined for the type 'Duration'.URI_DOES_NOT_EXIST-lib/src/ds_ads_manager.dart:10:8- Target of URI doesn't exist: 'package:ds_common/core/ds_adjust.dart'.UNDEFINED_IDENTIFIER-lib/src/ds_ads_manager.dart:255:30- Undefined name 'DSAdjust'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.