svara_flutter_sdk 0.1.2 copy "svara_flutter_sdk: ^0.1.2" to clipboard
svara_flutter_sdk: ^0.1.2 copied to clipboard

The provided package, SvaraServices, is a Flutter-based WebRTC (Web Real-Time Communication) service that facilitates real-time audio and video communication over WebSockets.

70/ 160
pub points
122
downloads

We analyzed this package in the last hour, 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.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

7 out of 142 API elements (4.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: svara_flutter_sdk.SvaraChannelType, svara_flutter_sdk.SvaraEventHandler, svara_flutter_sdk.SvaraEventHandler.SvaraEventHandler.new, svara_flutter_sdk.SvaraEventHandler.onError, svara_flutter_sdk.SvaraEventHandler.onNewUserJoined.

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

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:svara_flutter_sdk/svara_flutter_sdk.dart that imports:
  • package:svara_flutter_sdk/src/svara/svara_services.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:svara_flutter_sdk/svara_flutter_sdk.dart that imports:
  • package:svara_flutter_sdk/src/svara/svara_services.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:svara_flutter_sdk/svara_flutter_sdk.dart that imports:
  • package:svara_flutter_sdk/src/svara/svara_user_data.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:svara_flutter_sdk/svara_flutter_sdk.dart that imports:
  • package:svara_flutter_sdk/src/svara/svara_services.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:svara_flutter_sdk/svara_flutter_sdk.dart that imports:
  • package:svara_flutter_sdk/src/svara/svara_services.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
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 148 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'dart:js_util'.

lib/src/svara/play_audio/play_audio_web.dart:1:8

  ╷
1 │ import 'dart:js_util' as js_util;
  │        ^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/svara/play_audio/play_audio_web.dart

INFO: Missing documentation for a public member.

lib/src/svara/play_audio/play_audio_stub.dart:1:6

  ╷
1 │ void playWebAudio([dynamic _]) {
  │      ^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/svara/play_audio/play_audio_stub.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
flutter_webrtc ^0.12.12+hotfix.1 0.12.12+hotfix.1 1.2.1
mediasfu_mediasoup_client ^0.0.7 0.0.7 0.1.1
permission_handler ^12.0.0 12.0.1 12.0.1
wakelock_plus ^1.3.2 1.4.0 1.4.0
web ^1.1.1 1.1.1 1.1.1
web_socket_channel ^3.0.3 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 92.0.0 92.0.0
analyzer - 9.0.0 9.0.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
cli_config - 0.2.0 0.2.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
coverage - 1.15.0 1.15.0
crypto - 3.0.7 3.0.7
dart_webrtc - 1.6.0 1.6.0
dbus - 0.7.11 0.7.11
events2 - 1.0.0 1.0.0
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.3 2.1.3
h264_profile_level_id - 0.2.1 0.2.1
http - 1.6.0 1.6.0
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.2 4.1.2
io - 1.0.5 1.0.5
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
node_preamble - 2.0.2 2.0.2
package_config - 2.2.0 2.2.0
package_info_plus - 9.0.0 9.0.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.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
permission_handler_android - 13.0.1 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pool - 1.5.2 1.5.2
pub_semver - 2.2.0 2.2.0
sdp_transform - 0.3.2 0.3.2
shelf - 1.4.2 1.4.2
shelf_packages_handler - 3.0.2 3.0.2
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 3.0.0 3.0.0
source_map_stack_trace - 2.1.2 2.1.2
source_maps - 0.10.13 0.10.13
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
test - 1.28.0 1.28.0
test_api - 0.7.8 0.7.8
test_core - 0.6.14 0.6.14
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
wakelock_plus_platform_interface - 1.3.0 1.3.0
watcher - 1.2.0 1.2.0
web_socket - 1.0.1 1.0.1
webkit_inspection_protocol - 1.2.1 1.2.1
webrtc_interface - 1.3.0 1.3.0
win32 - 5.15.0 5.15.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

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

The constraint `^0.12.12+hotfix.1` on flutter_webrtc does not support the stable version `0.13.0`.

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

The constraint `^0.0.7` on mediasfu_mediasoup_client does not support the stable version `0.1.0`.

Try running dart pub upgrade --major-versions mediasfu_mediasoup_client 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 1 error:

  • URI_DOES_NOT_EXIST - lib/src/svara/play_audio/play_audio_web.dart:1:8 - Target of URI doesn't exist: 'dart:js_util'.

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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
70
points
122
downloads

Publisher

verified publishersvara.live

Weekly Downloads

The provided package, SvaraServices, is a Flutter-based WebRTC (Web Real-Time Communication) service that facilitates real-time audio and video communication over WebSockets.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_webrtc, mediasfu_mediasoup_client, permission_handler, wakelock_plus, web, web_socket_channel

More

Packages that depend on svara_flutter_sdk