pusher_beams_web 1.1.1 copy "pusher_beams_web: ^1.1.1" to clipboard
pusher_beams_web: ^1.1.1 copied to clipboard

The Web implementation from Pusher Beams for Flutter, intended to be a platform-specific package.

70/ 160
pub points
1.07k
downloads

We analyzed this package 15 days ago, and awarded it 70 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: MIT.

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

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

12 out of 42 API elements (28.6 %) have documentation comments.

Some symbols that are missing documentation: pusher_beams, pusher_beams.PusherBeamsClient, pusher_beams.PusherBeamsClient.PusherBeamsClient.new, pusher_beams.PusherBeamsClient.addDeviceInterest, pusher_beams.PusherBeamsClient.clearAllState.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:pusher_beams_web/pusher_beams_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:pusher_beams_web/pusher_beams_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:pusher_beams_web/pusher_beams_web.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:pusher_beams_web/pusher_beams_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:pusher_beams_web/pusher_beams_web.dart that declares support for platforms: 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 13 issues. Showing the first 2:

ERROR: The method 'promiseToFuture' isn't defined for the type 'PusherBeams'.

lib/pusher_beams_web.dart:33:11

   ╷
33 │     await promiseToFuture(_beamsClient!.addDeviceInterest(interest));
   │           ^^^^^^^^^^^^^^^
   ╵

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

ERROR: The method 'promiseToFuture' isn't defined for the type 'PusherBeams'.

lib/pusher_beams_web.dart:40:11

   ╷
40 │     await promiseToFuture(_beamsClient!.clearAllState());
   │           ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/pusher_beams_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.6.3 0.6.7 0.7.2 Discontinued
pusher_beams_platform_interface ^1.1.1 1.1.1 1.1.1
uuid ^3.0.5 3.0.7 4.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
plugin_platform_interface - 2.1.8 2.1.8
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.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 `^0.6.3` on js does not support the stable version `0.7.0`.

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

The constraint `^3.0.5` on uuid does not support the stable version `4.0.0`.

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

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 9 errors:

  • UNDEFINED_METHOD - lib/pusher_beams_web.dart:33:11 - The method 'promiseToFuture' isn't defined for the type 'PusherBeams'.
  • UNDEFINED_METHOD - lib/pusher_beams_web.dart:40:11 - The method 'promiseToFuture' isn't defined for the type 'PusherBeams'.
  • UNDEFINED_METHOD - lib/pusher_beams_web.dart:47:11 - The method 'promiseToFuture' isn't defined for the type 'PusherBeams'.

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:
1
likes
70
points
1.07k
downloads

Publisher

verified publisherpusher.com

Weekly Downloads

The Web implementation from Pusher Beams for Flutter, intended to be a platform-specific package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, js, pusher_beams_platform_interface, uuid

More

Packages that depend on pusher_beams_web

Packages that implement pusher_beams_web