sandbox_digilocker_sdk 1.0.0
sandbox_digilocker_sdk: ^1.0.0 copied to clipboard
Embed Sandbox's Digilocker SDK in your flutter app.
We analyzed this package 4 days ago, and awarded it 90 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: GPL-3.0.
10/10 points: 20% or more of the public API has dartdoc comments
6 out of 10 API elements (60.0 %) have documentation comments.
Some symbols that are missing documentation: sandbox_digilocker_sdk, sandbox_digilocker_sdk.DigilockerSDK.instance, sandbox_digilocker_sdk.DigilockerSDK.redirectUrl, sandbox_digilocker_sdk.EventListener.EventListener.new.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:sandbox_digilocker_sdk/sandbox_digilocker_sdk.dartthat imports:package:sandbox_digilocker_sdk/src/digilocker_sdk.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:sandbox_digilocker_sdk/sandbox_digilocker_sdk.dartthat imports:package:sandbox_digilocker_sdk/src/digilocker_sdk.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: The argument type 'dynamic' can't be assigned to the parameter type 'Map
lib/src/ui/digilocker_sdk.dart:34:37
╷
34 │ return _handleEvent(jsonDecode(args.first), controller);
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/digilocker_sdk.dart
ERROR: The argument type 'dynamic' can't be assigned to the parameter type 'String'.
lib/src/ui/digilocker_sdk.dart:34:48
╷
34 │ return _handleEvent(jsonDecode(args.first), controller);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/digilocker_sdk.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_inappwebview |
^6.0.0 |
6.1.5 | 6.1.5 | |
url_launcher |
^6.2.0 |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
flutter_inappwebview_android |
- | 1.1.3 | 1.1.3 | |
flutter_inappwebview_internal_annotations |
- | 1.2.0 | 1.2.0 | |
flutter_inappwebview_ios |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_macos |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_platform_interface |
- | 1.3.0+1 | 1.3.0+1 | |
flutter_inappwebview_web |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_windows |
- | 0.6.0 | 0.6.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
url_launcher_android |
- | 6.3.28 | 6.3.28 | |
url_launcher_ios |
- | 6.3.6 | 6.3.6 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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 2 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/ui/digilocker_sdk.dart:34:37- The argument type 'dynamic' can't be assigned to the parameter type 'Map<String, dynamic>'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/ui/digilocker_sdk.dart:34:48- The argument type 'dynamic' can't be assigned to the parameter type 'String'.
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.