dojah_kyc 0.1.0+7 copy "dojah_kyc: ^0.1.0+7" to clipboard
dojah_kyc: ^0.1.0+7 copied to clipboard

Unofficial Dojah KYC widget

1
likes
70/ 160
pub points
19
downloads

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

failed
Follow Dart file conventions
20 / 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

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

28 out of 34 API elements (82.4 %) have documentation comments.

Some symbols that are missing documentation: dojah_kyc.DojahConfig.copyWith, dojah_kyc.DojahConfig.isProd, dojah_kyc.DojahConfig.toJson, dojah_kyc.DojahConfig.toMap, dojah_kyc.DojahFunctions.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:dojah_kyc/dojah_kyc.dart that imports:
  • package:dojah_kyc/src/src.dart that imports:
  • package:dojah_kyc/src/dojah_kyc.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:dojah_kyc/dojah_kyc.dart that imports:
  • package:dojah_kyc/src/src.dart that imports:
  • package:dojah_kyc/src/dojah_kyc.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.

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:dojah_kyc/dojah_kyc.dart that imports:
  • package:dojah_kyc/src/src.dart that imports:
  • package:dojah_kyc/src/dojah_kyc.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:dojah_kyc/dojah_kyc.dart that imports:
  • package:dojah_kyc/src/src.dart that imports:
  • package:dojah_kyc/src/dojah_kyc.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:dojah_kyc/dojah_kyc.dart that imports:
  • package:dojah_kyc/src/src.dart that imports:
  • package:dojah_kyc/src/dojah_kyc.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package not compatible with platform Web

Because:

  • package:dojah_kyc/dojah_kyc.dart that imports:
  • package:dojah_kyc/src/src.dart that imports:
  • package:dojah_kyc/src/dojah_kyc.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that imports:
  • package:flutter_inappwebview/src/main.dart that imports:
  • package:flutter_inappwebview/src/webview_environment/main.dart that imports:
  • package:flutter_inappwebview/src/webview_environment/webview_environment.dart that imports:
  • package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/main.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 15 issues. Showing the first 2:

ERROR: The argument type 'Uri' can't be assigned to the parameter type 'WebUri?'.

lib/src/dojah_kyc.dart:144:26

    ╷
144 │                 baseUrl: Uri.parse('https://widget.dojah.io'),
    │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: 'InAppWebViewGroupOptions' is deprecated and shouldn't be used. Use InAppWebViewSettings instead.

lib/src/dojah_kyc.dart:87:3

   ╷
87 │   InAppWebViewGroupOptions options = InAppWebViewGroupOptions(
   │   ^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
connectivity_plus ^5.0.1 5.0.2 6.1.1
flutter flutter 0.0.0 0.0.0
flutter_inappwebview ^6.1.0 6.1.5 6.1.5
permission_handler ^11.0.1 11.3.1 11.3.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
connectivity_plus_platform_interface - 1.2.4 2.0.1
dbus - 0.7.10 0.7.10
ffi - 2.1.3 2.1.3
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
flutter_web_plugins - 0.0.0 0.0.0
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nm - 0.5.0 0.5.0
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.0.2 6.0.2
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
web - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

The constraint `^5.0.1` on connectivity_plus does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions connectivity_plus 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 1 error:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/dojah_kyc.dart:144:26 - The argument type 'Uri' can't be assigned to the parameter type 'WebUri?'.

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

1
likes
70
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

Unofficial Dojah KYC widget

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter, flutter_inappwebview, permission_handler

More

Packages that depend on dojah_kyc