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
27.8k
downloads

We analyzed this package 10 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/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 646284 elements... Initialized dartdoc with 900 libraries Generating docs for library pusher_channels_flutter.dart from package:pusher_channels_flutter/pusher_channels_flutter.dart... Generating docs for library pusher-js/runtimes/web/net_info.dart from package:pusher_channels_flutter/pusher-js/runtimes/web/net_info.dart... Generating docs for library pusher-js/runtimes/web/timeline/jsonp_timeline.dart from package:pusher_channels_flutter/pusher-js/runtimes/web/timeline/jsonp_timeline.dart... Generating docs for library pusher-js/runtimes/web/http/http.dart from package:pusher_channels_flutter/pusher-js/runtimes/web/http/http.dart... Generating docs for library pusher-js/runtimes/web/http/http_xdomain_request.dart from package:pusher_channels_flutter/pusher-js/runtimes/web/http/http_xdomain_request.dart... [101 more lines] ERR: warning: runtimes.web.net_info has no library level documentation comments from runtimes.web.net_info: (file:///tmp/pana_QWSCZI/lib/pusher-js/runtimes/web/net_info.dart:1:1) warning: runtimes.web.timeline.jsonp_timeline has no library level documentation comments from runtimes.web.timeline.jsonp_timeline: (file:///tmp/pana_QWSCZI/lib/pusher-js/runtimes/web/timeline/jsonp_timeline.dart:1:1) warning: runtimes.web.http.http has no library level documentation comments from runtimes.web.http.http: (file:///tmp/pana_QWSCZI/lib/pusher-js/runtimes/web/http/http.dart:1:1) warning: runtimes.web.http.http_xdomain_request has no library level documentation comments from runtimes.web.http.http_xdomain_request: (file:///tmp/pana_QWSCZI/lib/pusher-js/runtimes/web/http/http_xdomain_request.dart:1:1) warning: runtimes.web.browser has no library level documentation comments from runtimes.web.browser: (file:///tmp/pana_QWSCZI/lib/pusher-js/runtimes/web/browser.dart:1:1) [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.2, Dart 3.10.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: