moengage_cards 3.2.0 copy "moengage_cards: ^3.2.0" to clipboard
moengage_cards: ^3.2.0 copied to clipboard

MoEngage Cards Plugin

1
likes
120/ 160
pub points
1.32k
downloads

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

failed
Follow Dart file conventions
10 / 30trigger folding of the section

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 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

182 out of 280 API elements (65.0 %) have documentation comments.

Some symbols that are missing documentation: moengage_cards.actionStyleFromJson, moengage_cards.argumentAllCards, moengage_cards.argumentAppOpenSync, moengage_cards.argumentInboxOpenSync, moengage_cards.argumentPullToRefreshSync.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

Because:

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

Because:

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

Because:

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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:moengage_cards/moengage_cards.dart that imports:
  • package:moengage_cards/src/moengage_cards.dart that imports:
  • package:moengage_flutter/moengage_flutter.dart that imports:
  • package:moengage_flutter_platform_interface/moengage_flutter_platform_interface.dart that imports:
  • package:moengage_flutter_platform_interface/src/utils/utils.dart that imports:
  • package:moengage_flutter_platform_interface/src/model/platforms.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Dangling library doc comment.

lib/moengage_cards.dart:1:1

  ╷
1 │ /// Export MoEngage Cards Module Public Classes
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
moengage_cards_android 2.1.1 2.1.1 4.0.2
moengage_cards_ios 2.3.0 2.3.0 4.0.2
moengage_cards_platform_interface 2.0.0 2.0.0 4.0.2
moengage_flutter ^7.1.1 7.2.0 9.0.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
moengage_flutter_android - 2.1.1 3.1.1
moengage_flutter_ios - 2.3.0 3.1.1
moengage_flutter_platform_interface - 2.1.0 3.1.1
moengage_flutter_web - 3.1.0 4.0.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4

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

Found 4 issues. Showing the first 2:

The constraint `2.1.1` on moengage_cards_android does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions moengage_cards_android to update the constraint.

The constraint `2.3.0` on moengage_cards_ios does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions moengage_cards_ios 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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.