emarsys_sdk 2.7.5
emarsys_sdk: ^2.7.5 copied to clipboard
The Flutter plug-in for SAP Emarsys Customer Engagement is the official plug-in to help integrate Emarsys into your Flutter application.
We analyzed this package 40 hours ago, and awarded it 130 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: MPL-2.0.
0/10 points: 20% or more of the public API has dartdoc comments
36 out of 370 API elements (9.7 %) 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: action_model, action_model.ActionModel, action_model.ActionModel.ActionModel.new, action_model.ActionModel.id, action_model.ActionModel.title.
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:emarsys_sdk/emarsys_sdk.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:emarsys_sdk/emarsys_sdk.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:emarsys_sdk/emarsys_sdk.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:emarsys_sdk/emarsys_sdk.dartthat declares support for platforms:Android,iOS.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/emarsys_sdk/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`.
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
Found 41 issues. Showing the first 2:
INFO: Use a function declaration rather than a variable assignment to bind a function to a name.
lib/api/emarsys.dart:76:35
╷
76 │ static final _GetCallbackHandle _getCallbackHandle =
│ ┌───────────────────────────────────^
77 │ │ (Function callback) => PluginUtilities.getCallbackHandle(callback);
│ └────────────────────────────────────────────────────────────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/api/emarsys.dart
INFO: The constant name 'BASIC' isn't a lowerCamelCase identifier.
lib/model/emarsys_config.dart:1:25
╷
1 │ enum ConsoleLogLevels { BASIC, DEBUG, WARN, ERROR, INFO, TRACE }
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/model/emarsys_config.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
equatable |
^2.1.0 |
2.1.0 | 3.0.0 | |
shared_preferences |
^2.2.0 |
2.5.5 | 2.5.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
shared_preferences_android |
- | 2.4.28 | 2.4.28 | |
shared_preferences_foundation |
- | 2.5.7 | 2.5.7 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.1.0` on equatable does not support the stable version `3.0.0`, that was published 3 days ago.
When equatable is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions equatable 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.19, Flutter 3.47.4, Dart 3.13.3.
Check the analysis log for details.