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
0%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

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.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

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.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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.

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
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.2 1.5.2
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.5.2
flutter flutter 0.0.0 0.0.0
flutter_riverpod ^2.3.7 2.6.1 2.6.1
flutter_webrtc ^0.9.36 0.9.47 0.12.1+hotfix.1
hex ^0.2.0 0.2.0 0.2.0
http ^1.1.0 1.2.2 1.2.2
livekit_client ^1.4.3 1.5.6 2.3.0
openpgp ^3.7.0 3.8.3 3.8.3
pointycastle ^3.7.3 3.9.1 3.9.1
riverpod ^2.3.6 2.6.1 2.6.1
socket_io_client ^2.0.2 2.0.3+1 3.0.2
uuid ^3.0.4 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
connectivity_plus - 5.0.2 6.1.0
connectivity_plus_platform_interface - 1.2.4 2.0.1
convert - 3.1.2 3.1.2
dart_webrtc - 1.1.3 1.4.9
dbus - 0.7.10 0.7.10
device_info_plus - 11.1.1 11.1.1
device_info_plus_platform_interface - 7.0.1 7.0.1
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flat_buffers - 2.0.5 23.5.26
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.1
js - 0.6.7 0.7.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.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.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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.0.2 6.0.2
pinenacl - 0.6.0 0.6.0
platform - 3.1.6 3.1.6
platform_detect - 2.1.0 2.1.0
plugin_platform_interface - 2.1.8 2.1.8
protobuf - 3.1.0 3.1.0
pub_semver - 2.1.4 2.1.4
rxdart - 0.27.7 0.28.0
sdp_transform - 0.3.2 0.3.2
sky_engine - 0.0.99 0.0.99
socket_io_common - 2.0.3 3.0.1
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
state_notifier - 1.0.0 1.0.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
webrtc_interface - 1.1.2 1.2.0
win32 - 5.8.0 5.8.0
win32_registry - 1.1.5 2.0.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 4 issues. Showing the first 2:

The constraint `^0.9.36` on flutter_webrtc does not support the stable version `0.10.0`.

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

The constraint `^1.4.3` on livekit_client does not support the stable version `2.0.0`.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

4
likes
120
pub points
0%
popularity

Publisher

unverified uploader

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

Homepage
Repository (GitHub)
View/report issues

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