adpopcorn_flutter_sdk 0.9.2 copy "adpopcorn_flutter_sdk: ^0.9.2" to clipboard
adpopcorn_flutter_sdk: ^0.9.2 copied to clipboard

AdPopcorn Flutter SDK

1
likes
105/ 160
pub points
35
downloads

We analyzed this package 3 days ago, and awarded it 105 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

Failed check 0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

1 out of 22 API elements (4.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: adpopcorn_offerwall, adpopcorn_offerwall.AdPopcornLogLevel, adpopcorn_offerwall.AdPopcornOfferwall, adpopcorn_offerwall.AdPopcornOfferwall.AdPopcornOfferwall.new, adpopcorn_offerwall.AdPopcornOfferwall.getEarnableTotalRewardInfo.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:adpopcorn_flutter_sdk/adpopcorn_offerwall.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:adpopcorn_flutter_sdk/adpopcorn_offerwall.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:adpopcorn_flutter_sdk/adpopcorn_offerwall.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:adpopcorn_flutter_sdk/adpopcorn_offerwall.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:adpopcorn_flutter_sdk/adpopcorn_offerwall.dart that imports:
  • package:adpopcorn_flutter_sdk/src/adpopcorn_offerwall_platform.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/adpopcorn_flutter_sdk/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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'describeEnum' is deprecated and shouldn't be used. Use the `name` getter on enums instead. This feature was deprecated after v3.14.0-2.0.pre.

lib/src/adpopcorn_offerwall_ios.dart:46:34

   ╷
46 │         'setLogLevel', {'level': describeEnum(level)});
   │                                  ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/adpopcorn_offerwall_ios.dart

/tmp/pana_CTQGYK/lib/src/adpopcorn_offerwall_android.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
vector_math - 2.1.4 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/src/adpopcorn_offerwall_platform.dart:45:23 - The method 'verify' isn't defined for the type 'PlatformInterface'.

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.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: