capturesdk_flutter 1.5.0 copy "capturesdk_flutter: ^1.5.0" to clipboard
capturesdk_flutter: ^1.5.0 copied to clipboard

The official Flutter CaptureSDK by Socket Mobile. It supports all current Socket Mobile’s barcode and NFC Reader scanning solutions.

5
likes
110/ 160
pub points
1.35k
downloads

We analyzed this package 17 hours ago, and awarded it 110 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

544 out of 1077 API elements (50.5 %) have documentation comments.

Some symbols that are missing documentation: app_info, app_info.AppInfo.AppInfo.fromJson, app_info.AppInfo.appIdAndroid, app_info.AppInfo.appIdIos, app_info.AppInfo.appKeyAndroid.

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

Because:

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

Because:

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

Because:

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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:capturesdk_flutter/capturesdk.dart that imports:
  • package:capturesdk_flutter/classes/transport.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.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

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

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

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

Found 28 issues. Showing the first 2:

WARNING: The diagnostic 'invalid_annotation_target' doesn't need to be ignored here because it's already being ignored.

lib/classes/app_info.freezed.dart:25:54

   ╷
25 │       throw _privateConstructorUsedError; // ignore: invalid_annotation_target
   │                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

WARNING: The diagnostic 'invalid_annotation_target' doesn't need to be ignored here because it's already being ignored.

lib/classes/app_info.freezed.dart:28:54

   ╷
28 │       throw _privateConstructorUsedError; // ignore: invalid_annotation_target
   │                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/classes/app_info.freezed.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
flutter flutter 0.0.0 0.0.0
freezed_annotation ^2.2.0 2.4.4 2.4.4
http ^1.2.1 1.2.2 1.2.2
json_annotation ^4.6.0 4.9.0 4.9.0
web_socket_channel ^2.1.0 2.4.0 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
http_parser - 4.1.1 4.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 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 web_socket_channel does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions web_socket_channel 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 16 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/classes/app_info.dart:13:14 - The named parameter 'includeToJson' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/classes/app_info.dart:15:14 - The named parameter 'includeToJson' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/classes/app_info.freezed.dart:26:12 - The named parameter 'includeToJson' isn't defined.

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-0.2.pre, Dart 3.6.0-334.4.beta.

Check the analysis log for details.

5
likes
110
points
1.35k
downloads

Publisher

verified publishersocketmobile.com

Weekly Downloads

The official Flutter CaptureSDK by Socket Mobile. It supports all current Socket Mobile’s barcode and NFC Reader scanning solutions.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, freezed_annotation, http, json_annotation, web_socket_channel

More

Packages that depend on capturesdk_flutter