tinode_community 1.0.0-alpha.5 copy "tinode_community: ^1.0.0-alpha.5" to clipboard
tinode_community: ^1.0.0-alpha.5 copied to clipboard

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

1
likes
130/ 160
pub points
25%
popularity

We analyzed this package 7 days ago, and awarded it 130 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: 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

331 out of 665 API elements (49.8 %) 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

failed
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_community/tinode.dart that imports:
  • package:tinode_community/src/topics/index.dart that imports:
  • package:tinode_community/src/topics/topic.dart that imports:
  • package:tinode_community/src/topics/topic-me.dart that imports:
  • package:tinode_community/src/services/service.dart that imports:
  • package:tinode_community/src/services/connection.dart that imports:
  • package:web_socket_channel/io.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:tinode_community/tinode.dart that imports:
  • package:tinode_community/src/topics/index.dart that imports:
  • package:tinode_community/src/topics/topic.dart that imports:
  • package:tinode_community/src/topics/topic-me.dart that imports:
  • package:tinode_community/src/services/service.dart that imports:
  • package:tinode_community/src/services/connection.dart that imports:
  • package:web_socket_channel/io.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.

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

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

Found 59 issues. Showing the first 2:

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

lib/src/builders/meta-get-builder.dart:59:22

   ╷
59 │         topic.minSeq != null && topic.minSeq > 0 ? topic.minSeq : null, limit);
   │                      ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/builders/meta-get-builder.dart

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

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

0/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 8.0.1
rxdart ^0.27.1 0.27.7 0.28.0
web_socket_channel ^2.1.0 2.4.5 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
meta - 1.16.0 1.16.0
stream_channel - 2.1.2 2.1.2
typed_data - 1.4.0 1.4.0
web - 0.5.1 1.1.0

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

Found 3 issues. Showing the first 2:

The constraint `^7.1.3` on get_it does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions get_it to update the constraint.

The constraint `^0.27.1` on rxdart does not support the stable version `0.28.0`.

Try running dart pub upgrade --major-versions rxdart 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.22.13, Dart 3.5.3.

Check the analysis log for details.

1
likes
130
pub points
25%
popularity

Publisher

verified publisherfreetalk.io.vn

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

get_it, rxdart, web_socket_channel

More

Packages that depend on tinode_community