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

55/ 160
pub points
22.8k
downloads

We analyzed this package 17 days ago, and awarded it 55 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.

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/[email protected]?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 646284 elements... Initialized dartdoc with 900 libraries Generating docs for library pusher_channels_flutter_web.dart from package:pusher_channels_flutter/pusher_channels_flutter_web.dart... Generating docs for library pusher_channels_flutter.dart from package:pusher_channels_flutter/pusher_channels_flutter.dart... Generating docs for library pusher-js/core/util.dart from package:pusher_channels_flutter/pusher-js/core/util.dart... Generating docs for library pusher-js/core/config.dart from package:pusher_channels_flutter/pusher-js/core/config.dart... Generating docs for library pusher-js/core/events/dispatcher.dart from package:pusher_channels_flutter/pusher-js/core/events/dispatcher.dart... [101 more lines] ERR: warning: pusher_channels_flutter has no library level documentation comments from pusher_channels_flutter: (file:///tmp/pana_LBZTIE/lib/pusher_channels_flutter_web.dart:1:1) error: file already written at "pusher_channels_flutter/index.html" for symbol pusher_channels_flutter: (file:///tmp/pana_LBZTIE/lib/pusher_channels_flutter.dart:1:1) conflicting with file already generated by pusher_channels_flutter: (file:///tmp/pana_LBZTIE/lib/pusher_channels_flutter_web.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'pusher_channels_flutter' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or class name (if appropriate) of one of the conflicting items can resolve the conflict. Alternatively, use the @nodoc directive in one [222 more lines]

Passed check 10/10 points: Package has an example

Passed 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.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 438 issues. Showing the first 2:

ERROR: The function 'getProperty' isn't defined.

lib/pusher_channels_flutter_web.dart:48:35

   ╷
48 │     result[key] = dartify(js_util.getProperty(jsObject, key));
   │                                   ^^^^^^^^^^^
   ╵

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

ERROR: The method 'allowInterop' isn't defined for the type 'PusherChannelsFlutterWeb'.

lib/pusher_channels_flutter_web.dart:186:18

    ╷
186 │       authorize: allowInterop((socketId, callback) async {
    │                  ^^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 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.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
vector_math - 2.2.0 2.2.0

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 8 errors:

  • UNDEFINED_FUNCTION - lib/pusher_channels_flutter_web.dart:48:35 - The function 'getProperty' isn't defined.
  • UNDEFINED_METHOD - lib/pusher_channels_flutter_web.dart:186:18 - The method 'allowInterop' isn't defined for the type 'PusherChannelsFlutterWeb'.
  • UNDEFINED_METHOD - lib/pusher_channels_flutter_web.dart:265:28 - The method 'allowInterop' isn't defined for the type 'PusherChannelsFlutterWeb'.

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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: