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

Socrits SDK for Flutter - video & voice calls, call invitations (ring/accept), and in-app chat. Drop-in prebuilt UI kit plus a low-level core client.

110/ 160
pub points
69
downloads

We analyzed this package 10 hours ago, and awarded it 110 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

47 out of 77 API elements (61.0 %) have documentation comments.

Some symbols that are missing documentation: socrits.ChatConversation.ChatConversation.fromJson, socrits.ChatConversation.ChatConversation.new, socrits.ChatConversation.id, socrits.ChatConversation.lastText, socrits.ChatConversation.name.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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:socrits/socrits.dart that imports:
  • package:socrits/src/effects.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/types/other.dart that imports:
  • package:livekit_client/src/participant/participant.dart that imports:
  • package:livekit_client/src/utils.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/options.dart that imports:
  • package:livekit_client/src/track/processor_native.dart that imports:
  • package:livekit_client/src/track/processor.dart that imports:
  • package:livekit_client/src/core/room.dart that imports:
  • package:livekit_client/src/core/pending_track_queue.dart that imports:
  • package:livekit_client/src/events.dart that imports:
  • package:livekit_client/src/track/track.dart that imports:
  • package:livekit_client/src/internal/events.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:socrits/socrits.dart that imports:
  • package:socrits/src/effects.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/types/other.dart that imports:
  • package:livekit_client/src/participant/participant.dart that imports:
  • package:livekit_client/src/utils.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/options.dart that imports:
  • package:livekit_client/src/track/processor_native.dart that imports:
  • package:livekit_client/src/track/processor.dart that imports:
  • package:livekit_client/src/core/room.dart that imports:
  • package:livekit_client/src/core/pending_track_queue.dart that imports:
  • package:livekit_client/src/events.dart that imports:
  • package:livekit_client/src/track/track.dart that imports:
  • package:livekit_client/src/internal/events.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:socrits/socrits.dart that imports:
  • package:socrits/src/effects.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/types/other.dart that imports:
  • package:livekit_client/src/participant/participant.dart that imports:
  • package:livekit_client/src/utils.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/options.dart that imports:
  • package:livekit_client/src/track/processor_native.dart that imports:
  • package:livekit_client/src/track/processor.dart that imports:
  • package:livekit_client/src/core/room.dart that imports:
  • package:livekit_client/src/core/pending_track_queue.dart that imports:
  • package:livekit_client/src/events.dart that imports:
  • package:livekit_client/src/track/track.dart that imports:
  • package:livekit_client/src/internal/events.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 `Linux`.

Because:

  • package:socrits/socrits.dart that imports:
  • package:socrits/src/effects.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/types/other.dart that imports:
  • package:livekit_client/src/participant/participant.dart that imports:
  • package:livekit_client/src/utils.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:socrits/socrits.dart that imports:
  • package:socrits/src/effects.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/types/other.dart that imports:
  • package:livekit_client/src/participant/participant.dart that imports:
  • package:livekit_client/src/utils.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/options.dart that imports:
  • package:livekit_client/src/track/processor_native.dart that imports:
  • package:livekit_client/src/track/processor.dart that imports:
  • package:livekit_client/src/core/room.dart that imports:
  • package:livekit_client/src/core/pending_track_queue.dart that imports:
  • package:livekit_client/src/events.dart that imports:
  • package:livekit_client/src/track/track.dart that imports:
  • package:livekit_client/src/internal/events.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 `Web`.

Because:

  • package:socrits/socrits.dart that imports:
  • package:socrits/src/effects.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/types/other.dart that imports:
  • package:livekit_client/src/participant/participant.dart that imports:
  • package:livekit_client/src/utils.dart that imports:
  • package:livekit_client/src/types/video_parameters.dart that imports:
  • package:livekit_client/src/types/video_encoding.dart that imports:
  • package:livekit_client/src/types/priority.dart that imports:
  • package:flutter_webrtc/flutter_webrtc.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:socrits/socrits.dart that imports:
  • package:socrits/src/effects.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/types/other.dart that imports:
  • package:livekit_client/src/participant/participant.dart that imports:
  • package:livekit_client/src/utils.dart that imports:
  • package:livekit_client/src/types/video_parameters.dart that imports:
  • package:livekit_client/src/types/video_encoding.dart that imports:
  • package:livekit_client/src/types/priority.dart that imports:
  • package:flutter_webrtc/flutter_webrtc.dart that imports:
  • package:flutter_webrtc/src/native/rtc_video_platform_view.dart that imports:
  • package:flutter_webrtc/src/native/rtc_video_platform_view_controller.dart that imports:
  • package:flutter_webrtc/src/native/utils.dart that imports:
  • package:flutter_webrtc/src/native_logs_listener.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.cn/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 9 issues. Showing the first 2:

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/socrits_call_view.dart:290:37

    ╷
290 │               colors: [Colors.black.withOpacity(0.55), Colors.transparent],
    │                                     ^^^^^^^^^^^
    ╵

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

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/socrits_call_view.dart:305:45

    ╷
305 │               BoxShadow(color: Colors.black.withOpacity(0.4), blurRadius: 12, offset: const Offset(0, 4)),
    │                                             ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/socrits_call_view.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
http ^1.6.0 1.6.0 1.6.0
livekit_client >=2.4.0 <2.7.0 2.6.5 2.13.0
socket_io_client ^3.1.4 3.1.6 3.1.6
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
code_assets - 2.1.0 2.1.0
collection - 1.19.1 1.19.1
connectivity_plus - 7.3.1 7.3.1
connectivity_plus_platform_interface - 2.1.0 2.1.0
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_jsonwebtoken - 3.4.1 3.4.1
dart_webrtc - 1.8.2 1.8.2
dbus - 0.7.15 0.8.0
device_info_plus - 12.4.0 13.2.0
device_info_plus_platform_interface - 7.0.3 8.1.0
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_webrtc - 1.3.0 1.6.2+hotfix.3
hooks - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
jni - 1.0.3 1.0.3
jni_flutter - 1.0.3 1.0.3
jni_util - 1.0.0 1.0.0
json_annotation - 4.12.0 4.12.0
logger - 2.8.0 2.8.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime_type - 1.0.1 1.0.1
nm - 0.5.0 0.6.0
objective_c - 9.6.0 9.6.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.6 2.1.6
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.1.0 7.1.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 4.0.0 4.0.0
protobuf - 6.1.0 6.1.0
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
sdp_transform - 0.3.2 0.3.2
socket_io_common - 3.1.1 3.1.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.2 3.4.2
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.6.0 4.6.0
vector_math - 2.4.3 2.4.3
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
webrtc_interface - 1.5.1 1.5.1
win32 - 5.15.0 6.4.0
win32_registry - 2.1.0 3.0.3
xdg_directories - 1.1.0 1.1.0
xml - 7.1.0 7.1.0
yaml - 3.1.4 3.1.4

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

The constraint `>=2.4.0 <2.7.0` on livekit_client does not support the stable version `2.7.0`.

Try running dart pub upgrade --major-versions livekit_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 2 errors:

  • UNDEFINED_PREFIXED_NAME - lib/src/socrits_call_view.dart:241:25 - The name 'VideoViewFit' is being referenced through the prefix 'lk', but it isn't defined in any of the libraries imported using that prefix.
  • UNDEFINED_PREFIXED_NAME - lib/src/socrits_call_view.dart:308:55 - The name 'VideoViewFit' is being referenced through the prefix 'lk', but it isn't defined in any of the libraries imported using that prefix.

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.19, Flutter 3.47.4, Dart 3.13.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
110
points
69
downloads

Documentation

Documentation
API reference

Publisher

verified publishersocrits.com

Weekly Downloads

Socrits SDK for Flutter - video & voice calls, call invitations (ring/accept), and in-app chat. Drop-in prebuilt UI kit plus a low-level core client.

Homepage

Topics

#video #voip #webrtc #chat #calling

License

MIT (license)

Dependencies

flutter, http, livekit_client, socket_io_client

More

Packages that depend on socrits