pusher_channels_flutter 2.5.0 copy "pusher_channels_flutter: ^2.5.0" to clipboard
pusher_channels_flutter: ^2.5.0 copied to clipboard

Pusher Channels Flutter Plugin

157
likes
115/ 160
pub points
10.5k
downloads

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

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

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/pusher/pusher-channels-flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 3 links are insecure.

README.md:3:1

  ╷
3 │ <a href="http://twitter.com/Pusher"><img src="https://img.shields.io/badge/twitter-@Pusher-blue.svg?style=flat" alt="Twitter" /></a>
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

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

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

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting pusher_channels_flutter... Discovering libraries... Linking elements... Precaching local docs for 631832 elements... Initialized dartdoc with 877 libraries Generating docs for library pusher-js/runtimes/worker/auth/fetch_auth.dart from package:pusher_channels_flutter/pusher-js/runtimes/worker/auth/fetch_auth.dart... Generating docs for library pusher-js/runtimes/worker/net_info.dart from package:pusher_channels_flutter/pusher-js/runtimes/worker/net_info.dart... Generating docs for library pusher-js/runtimes/worker/timeline/fetch_timeline.dart from package:pusher_channels_flutter/pusher-js/runtimes/worker/timeline/fetch_timeline.dart... Generating docs for library pusher-js/runtimes/react-native/net_info.dart from package:pusher_channels_flutter/pusher-js/runtimes/react-native/net_info.dart... Generating docs for library pusher-js/runtimes/node/net_info.dart from package:pusher_channels_flutter/pusher-js/runtimes/node/net_info.dart... [101 more lines] ERR: warning: runtimes.worker.auth.fetch_auth has no library level documentation comments from runtimes.worker.auth.fetch_auth: (file:///tmp/pana_PSSSRR/lib/pusher-js/runtimes/worker/auth/fetch_auth.dart:1:1) warning: runtimes.worker.net_info has no library level documentation comments from runtimes.worker.net_info: (file:///tmp/pana_PSSSRR/lib/pusher-js/runtimes/worker/net_info.dart:1:1) warning: runtimes.worker.timeline.fetch_timeline has no library level documentation comments from runtimes.worker.timeline.fetch_timeline: (file:///tmp/pana_PSSSRR/lib/pusher-js/runtimes/worker/timeline/fetch_timeline.dart:1:1) warning: runtimes.react_native.net_info has no library level documentation comments from runtimes.react_native.net_info: (file:///tmp/pana_PSSSRR/lib/pusher-js/runtimes/react-native/net_info.dart:1:1) warning: runtimes.node.net_info has no library level documentation comments from runtimes.node.net_info: (file:///tmp/pana_PSSSRR/lib/pusher-js/runtimes/node/net_info.dart:1:1) [222 more lines]

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

  • package:pusher_channels_flutter/pusher_channels_flutter.dart that declares support for platforms: Android, iOS, Web.

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

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

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

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

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 111 issues. Showing the first 2:

INFO: 'package:js/js.dart' is deprecated and shouldn't be used. Use dart:js_interop instead.

lib/pusher-js/core/auth/auth_transports.dart:4:1

  ╷
4 │ import "package:js/js.dart";
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/pusher-js/core/auth/auth_transports.dart

INFO: 'package:js/js.dart' is deprecated and shouldn't be used. Use dart:js_interop instead.

lib/pusher-js/core/auth/options.dart:6:1

  ╷
6 │ import "package:js/js.dart";
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/pusher-js/core/auth/options.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
js ^0.7.1 0.7.2 0.7.2 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
vector_math - 2.1.4 2.1.5

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • js.

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, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: