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
130/ 160
pub points
34
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

279 out of 512 API elements (54.5 %) have documentation comments.

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

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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 check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

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 report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 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

134if (!(upd is String)) {
    │           ^^^^^^^^^^^^^
    ╵
copied to clipboard

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() : [],
                    ^^^^^^^
    
copied to clipboard

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

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

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

Package Constraint Compatible Latest Notes
get_it ^7.1.3 7.7.0 8.0.3
rxdart ^0.27.1 0.27.7 0.28.0
web_socket_channel ^2.1.0 2.4.5 3.0.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.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.4 2.1.4
typed_data - 1.4.0 1.4.0
web - 0.5.1 1.1.1

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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 1Jul 29Aug 26Sep 23Oct 21Nov 18Dec 16Jan 13Feb 10Mar 100246810121416>=1.0.0-0 <2.0.0
6
likes
130
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.16 - 2025.03.31

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