push_restapi_dart 0.3.1-alpha copy "push_restapi_dart: ^0.3.1-alpha" to clipboard
push_restapi_dart: ^0.3.1-alpha copied to clipboard

Push SDK provides an abstraction layer to integrate Push protocol features with your Frontend as well as Backend.

4
likes
120/ 160
pub points
63
downloads

We analyzed this package 40 hours 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

Homepage URL doesn't exist.

At the time of the analysis https://docs.push.org/developers 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: BSD-3-Clause.

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

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

93 out of 1565 API elements (5.9 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: push_api_dart, push_api_dart.ADDITIONAL_META_TYPE, push_api_dart.AESGCMNonceSize, push_api_dart.ALIAS_CHAIN_ID, push_api_dart.AccountEnvOptionsType.

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:push_restapi_dart/push_restapi_dart.dart that imports:
  • package:push_restapi_dart/src/spaces/space.dart that imports:
  • package:push_restapi_dart/src/spaces/src/space.dart that imports:
  • package:push_restapi_dart/src/spaces/src/stop.dart that imports:
  • package:push_restapi_dart/src/spaces/src/helpers/live_peer.dart that imports:
  • package:livekit_client/livekit_client.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `Web`.

Because:

  • package:push_restapi_dart/push_restapi_dart.dart that imports:
  • package:push_restapi_dart/src/video/video.dart that imports:
  • package:push_restapi_dart/src/video/src/model/video_model.dart that imports:
  • package:flutter_webrtc/flutter_webrtc.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:push_restapi_dart/push_restapi_dart.dart that imports:
  • package:push_restapi_dart/src/spaces/space.dart that imports:
  • package:push_restapi_dart/src/spaces/src/space.dart that imports:
  • package:push_restapi_dart/src/spaces/src/stop.dart that imports:
  • package:push_restapi_dart/src/spaces/src/helpers/live_peer.dart that imports:
  • package:livekit_client/livekit_client.dart that imports:
  • package:livekit_client/src/widgets/video_track_renderer.dart that imports:
  • package:livekit_client/src/track/options.dart that imports:
  • package:livekit_client/src/track/local/video.dart that imports:
  • package:livekit_client/src/track/local/local.dart that imports:
  • package:livekit_client/src/track/local/audio.dart that imports:
  • package:livekit_client/src/track/audio_management.dart that imports:
  • package:livekit_client/src/track/remote/remote.dart that imports:
  • package:livekit_client/src/track/track.dart that imports:
  • package:livekit_client/src/internal/events.dart that imports:
  • package:livekit_client/src/events.dart that imports:
  • package:livekit_client/src/publication/track_publication.dart that imports:
  • package:livekit_client/src/core/signal_client.dart that imports:
  • package:livekit_client/src/utils.dart that imports:
  • package:livekit_client/src/livekit.dart that imports:
  • package:livekit_client/src/core/room.dart that imports:
  • package:livekit_client/src/core/engine.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:push_restapi_dart/push_restapi_dart.dart that imports:
  • package:push_restapi_dart/src/spaces/space.dart that imports:
  • package:push_restapi_dart/src/spaces/src/space.dart that imports:
  • package:push_restapi_dart/src/spaces/src/stop.dart that imports:
  • package:push_restapi_dart/src/spaces/src/helpers/live_peer.dart that imports:
  • package:livekit_client/livekit_client.dart that imports:
  • package:livekit_client/src/widgets/video_track_renderer.dart that imports:
  • package:livekit_client/src/track/options.dart that imports:
  • package:livekit_client/src/track/local/video.dart that imports:
  • package:livekit_client/src/track/local/local.dart that imports:
  • package:livekit_client/src/track/local/audio.dart that imports:
  • package:livekit_client/src/track/audio_management.dart that imports:
  • package:livekit_client/src/track/remote/remote.dart that imports:
  • package:livekit_client/src/track/track.dart that imports:
  • package:livekit_client/src/internal/events.dart that imports:
  • package:livekit_client/src/events.dart that imports:
  • package:livekit_client/src/publication/track_publication.dart that imports:
  • package:livekit_client/src/core/signal_client.dart that imports:
  • package:livekit_client/src/utils.dart that imports:
  • package:livekit_client/src/livekit.dart that imports:
  • package:livekit_client/src/core/room.dart that imports:
  • package:livekit_client/src/core/engine.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:push_restapi_dart/push_restapi_dart.dart that imports:
  • package:push_restapi_dart/src/spaces/space.dart that imports:
  • package:push_restapi_dart/src/spaces/src/space.dart that imports:
  • package:push_restapi_dart/src/spaces/src/stop.dart that imports:
  • package:push_restapi_dart/src/spaces/src/helpers/live_peer.dart that imports:
  • package:livekit_client/livekit_client.dart that imports:
  • package:livekit_client/src/widgets/video_track_renderer.dart that imports:
  • package:livekit_client/src/track/options.dart that imports:
  • package:livekit_client/src/track/local/video.dart that imports:
  • package:livekit_client/src/track/local/local.dart that imports:
  • package:livekit_client/src/track/local/audio.dart that imports:
  • package:livekit_client/src/track/audio_management.dart that imports:
  • package:livekit_client/src/track/remote/remote.dart that imports:
  • package:livekit_client/src/track/track.dart that imports:
  • package:livekit_client/src/internal/events.dart that imports:
  • package:livekit_client/src/events.dart that imports:
  • package:livekit_client/src/publication/track_publication.dart that imports:
  • package:livekit_client/src/core/signal_client.dart that imports:
  • package:livekit_client/src/utils.dart that imports:
  • package:livekit_client/src/livekit.dart that imports:
  • package:livekit_client/src/core/room.dart that imports:
  • package:livekit_client/src/core/engine.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:push_restapi_dart/push_restapi_dart.dart that imports:
  • package:push_restapi_dart/src/spaces/space.dart that imports:
  • package:push_restapi_dart/src/spaces/src/space.dart that imports:
  • package:push_restapi_dart/src/spaces/src/stop.dart that imports:
  • package:push_restapi_dart/src/spaces/src/helpers/live_peer.dart that imports:
  • package:livekit_client/livekit_client.dart that imports:
  • package:livekit_client/src/widgets/video_track_renderer.dart that imports:
  • package:livekit_client/src/track/options.dart that imports:
  • package:livekit_client/src/track/local/video.dart that imports:
  • package:livekit_client/src/track/local/local.dart that imports:
  • package:livekit_client/src/track/local/audio.dart that imports:
  • package:livekit_client/src/track/audio_management.dart that imports:
  • package:livekit_client/src/track/remote/remote.dart that imports:
  • package:livekit_client/src/track/track.dart that imports:
  • package:livekit_client/src/internal/events.dart that imports:
  • package:livekit_client/src/events.dart that imports:
  • package:livekit_client/src/publication/track_publication.dart that imports:
  • package:livekit_client/src/core/signal_client.dart that imports:
  • package:livekit_client/src/utils.dart that imports:
  • package:livekit_client/src/livekit.dart that imports:
  • package:livekit_client/src/core/room.dart that imports:
  • package:livekit_client/src/core/engine.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:push_restapi_dart/push_restapi_dart.dart that imports:
  • package:push_restapi_dart/src/video/video.dart that imports:
  • package:push_restapi_dart/src/video/src/model/video_model.dart that imports:
  • package:flutter_webrtc/flutter_webrtc.dart that imports:
  • package:flutter_webrtc/src/native/ios/audio_configuration.dart that imports:
  • package:flutter_webrtc/src/native/utils.dart that imports:
  • dart:io

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.

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

INFO: 'StateNotifierProviderRef' is deprecated and shouldn't be used. will be removed in 3.0.0. Use Ref instead.

lib/src/providers/src/user_provider.dart:12:3

   ╷
12 │   StateNotifierProviderRef ref;
   │   ^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: 'StateNotifierProviderRef' is deprecated and shouldn't be used. will be removed in 3.0.0. Use Ref instead.

lib/src/providers/src/user_provider.dart:25:3

   ╷
25 │   StateNotifierProviderRef ref;
   │   ^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/providers/src/user_provider.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
crypto ^3.0.3 3.0.6 3.0.6
cryptography ^2.5.0 2.7.0 2.7.0
dart_pg ^1.1.5 1.5.5 2.1.0
encrypt ^5.0.1 5.0.3 5.0.3
ethereum_addresses ^1.0.2 1.0.2 1.0.2
events_emitter ^0.5.2 0.5.2 0.6.0
flutter_riverpod ^2.3.7 2.6.1 2.6.1
flutter_webrtc ^0.9.36 0.9.47 0.14.1
hex ^0.2.0 0.2.0 0.2.0
http ^1.1.0 1.4.0 1.4.0
livekit_client ^1.4.3 1.5.6 2.4.8
openpgp ^3.7.0 3.10.5 3.10.5
pointycastle ^3.7.3 3.9.1 4.0.0
riverpod ^2.3.6 2.6.1 2.6.1
socket_io_client ^2.0.2 2.0.3+1 3.1.2
uuid ^3.0.4 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus - 5.0.2 6.1.4
connectivity_plus_platform_interface - 1.2.4 2.0.1
convert - 3.1.2 3.1.2
dart_webrtc - 1.1.3 1.5.3+hotfix.2
dbus - 0.7.11 0.7.11
device_info_plus - 11.5.0 11.5.0
device_info_plus_platform_interface - 7.0.3 7.0.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flat_buffers - 23.5.26 23.5.26
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.1.0 7.0.0
pinenacl - 0.6.0 0.6.0
platform - 3.1.6 3.1.6
platform_detect - 2.1.5 2.1.5
plugin_platform_interface - 2.1.8 2.1.8
protobuf - 3.1.0 4.1.0
pub_semver - 2.2.0 2.2.0
rxdart - 0.27.7 0.28.0
sdp_transform - 0.3.2 0.3.2
socket_io_common - 2.0.3 3.1.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
state_notifier - 1.0.0 1.0.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1
webrtc_interface - 1.1.2 1.2.2+hotfix.2
win32 - 5.14.0 5.14.0
win32_registry - 2.1.0 2.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.6.0

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

Found 7 issues. Showing the first 2:

The constraint `^1.1.5` on dart_pg does not support the stable version `2.0.0`.

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

The constraint `^0.5.2` on events_emitter does not support the stable version `0.6.0`.

Try running dart pub upgrade --major-versions events_emitter 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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
120
points
63
downloads

Publisher

unverified uploader

Weekly Downloads

Push SDK provides an abstraction layer to integrate Push protocol features with your Frontend as well as Backend.

Homepage
Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

crypto, cryptography, dart_pg, encrypt, ethereum_addresses, events_emitter, flutter, flutter_riverpod, flutter_webrtc, hex, http, livekit_client, openpgp, pointycastle, riverpod, socket_io_client, uuid

More

Packages that depend on push_restapi_dart