tinode 1.0.0-alpha.4 copy "tinode: ^1.0.0-alpha.4" to clipboard
tinode: ^1.0.0-alpha.4 copied to clipboard

This SDK implements Tinode client-side protocol for multi platform applications based on dart.

6
likes
120/ 140
pub points
42%
popularity

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

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

279 out of 503 API elements (55.5 %) have documentation comments.

Some symbols that are missing documentation: tinode, tinode.Acc, tinode.AccPacketData, tinode.AccPacketData.AccPacketData, tinode.AccPacketData.cred.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:tinode/tinode.dart that imports:
  • package:tinode/src/meta-get-builder.dart that imports:
  • package:tinode/src/topic.dart that imports:
  • package:tinode/src/topic-me.dart that imports:
  • package:tinode/src/models/message.dart that imports:
  • package:tinode/src/services/packet-generator.dart that imports:
  • package:tinode/src/services/configuration.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 71 issues. Showing the first 2:

WARNING: Unnecessary type check; the result is always 'true'.

lib/src/models/access-mode.dart:134:11

    ╷
134 │     if (!(upd is String)) {
    │           ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/access-mode.dart

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/models/server-messages.dart:101:16

    ╷
101 │       sub: sub != null && sub.length != null ? sub.map((sub) => TopicSubscription.fromMessage(sub)).toList() : [],
    │                ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/server-messages.dart

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
get_it ^7.1.3 7.7.0 7.7.0
rxdart ^0.27.1 0.27.7 0.27.7
web_socket_channel ^2.1.0 2.4.5 2.4.5
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
meta - 1.14.0 1.14.0
stream_channel - 2.1.2 2.1.2
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

6
likes
120
pub points
42%
popularity

Publisher

unverified uploader

This SDK implements Tinode client-side protocol for multi platform applications based on dart.

Homepage

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

get_it, rxdart, web_socket_channel

More

Packages that depend on tinode