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

Platformweb

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

0
likes
120/ 160
pub points
779
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/pusher/push-notifications-flutter/issues?q=is%3Aissue+is%3Aopen+label%3Aweb was unreachable. Make sure that the website is reachable via HEAD requests.

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.

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

Package not compatible with runtime wasm

Because:

  • package:pusher_beams_web/pusher_beams_web.dart that imports:
  • package:pusher_beams_web/pusher_beams.dart that imports:
  • package:js/js.dart that imports:
  • dart:js

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 3 issues. Showing the first 2:

WARNING: Unused import: 'dart:html'.

lib/pusher_beams_web.dart:2:8

  ╷
2 │ import 'dart:html' as html;
  │        ^^^^^^^^^^^
  ╵

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

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

lib/pusher_beams.dart:4:1

  ╷
4 │ import 'dart:html';
  │ ^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/pusher_beams.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.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.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
plugin_platform_interface - 2.1.8 2.1.8
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5

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

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:
0
likes
120
points
779
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