socrits 0.1.2
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.
We analyzed this package 10 hours ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: MIT.
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.
10/10 points: Package has an example
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.dartthat imports:package:socrits/src/effects.dartthat imports:package:livekit_client/livekit_client.dartthat imports:package:livekit_client/src/widgets/video_track_renderer.dartthat imports:package:livekit_client/src/types/other.dartthat imports:package:livekit_client/src/participant/participant.dartthat imports:package:livekit_client/src/utils.dartthat imports:package:livekit_client/src/track/local/video.dartthat imports:package:livekit_client/src/track/local/local.dartthat imports:package:livekit_client/src/track/local/audio.dartthat imports:package:livekit_client/src/track/options.dartthat imports:package:livekit_client/src/track/processor_native.dartthat imports:package:livekit_client/src/track/processor.dartthat imports:package:livekit_client/src/core/room.dartthat imports:package:livekit_client/src/core/pending_track_queue.dartthat imports:package:livekit_client/src/events.dartthat imports:package:livekit_client/src/track/track.dartthat imports:package:livekit_client/src/internal/events.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:socrits/socrits.dartthat imports:package:socrits/src/effects.dartthat imports:package:livekit_client/livekit_client.dartthat imports:package:livekit_client/src/widgets/video_track_renderer.dartthat imports:package:livekit_client/src/types/other.dartthat imports:package:livekit_client/src/participant/participant.dartthat imports:package:livekit_client/src/utils.dartthat imports:package:livekit_client/src/track/local/video.dartthat imports:package:livekit_client/src/track/local/local.dartthat imports:package:livekit_client/src/track/local/audio.dartthat imports:package:livekit_client/src/track/options.dartthat imports:package:livekit_client/src/track/processor_native.dartthat imports:package:livekit_client/src/track/processor.dartthat imports:package:livekit_client/src/core/room.dartthat imports:package:livekit_client/src/core/pending_track_queue.dartthat imports:package:livekit_client/src/events.dartthat imports:package:livekit_client/src/track/track.dartthat imports:package:livekit_client/src/internal/events.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `Windows`.
Because:
package:socrits/socrits.dartthat imports:package:socrits/src/effects.dartthat imports:package:livekit_client/livekit_client.dartthat imports:package:livekit_client/src/widgets/video_track_renderer.dartthat imports:package:livekit_client/src/types/other.dartthat imports:package:livekit_client/src/participant/participant.dartthat imports:package:livekit_client/src/utils.dartthat imports:package:livekit_client/src/track/local/video.dartthat imports:package:livekit_client/src/track/local/local.dartthat imports:package:livekit_client/src/track/local/audio.dartthat imports:package:livekit_client/src/track/options.dartthat imports:package:livekit_client/src/track/processor_native.dartthat imports:package:livekit_client/src/track/processor.dartthat imports:package:livekit_client/src/core/room.dartthat imports:package:livekit_client/src/core/pending_track_queue.dartthat imports:package:livekit_client/src/events.dartthat imports:package:livekit_client/src/track/track.dartthat imports:package:livekit_client/src/internal/events.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `Linux`.
Because:
package:socrits/socrits.dartthat imports:package:socrits/src/effects.dartthat imports:package:livekit_client/livekit_client.dartthat imports:package:livekit_client/src/widgets/video_track_renderer.dartthat imports:package:livekit_client/src/types/other.dartthat imports:package:livekit_client/src/participant/participant.dartthat imports:package:livekit_client/src/utils.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:socrits/socrits.dartthat imports:package:socrits/src/effects.dartthat imports:package:livekit_client/livekit_client.dartthat imports:package:livekit_client/src/widgets/video_track_renderer.dartthat imports:package:livekit_client/src/types/other.dartthat imports:package:livekit_client/src/participant/participant.dartthat imports:package:livekit_client/src/utils.dartthat imports:package:livekit_client/src/track/local/video.dartthat imports:package:livekit_client/src/track/local/local.dartthat imports:package:livekit_client/src/track/local/audio.dartthat imports:package:livekit_client/src/track/options.dartthat imports:package:livekit_client/src/track/processor_native.dartthat imports:package:livekit_client/src/track/processor.dartthat imports:package:livekit_client/src/core/room.dartthat imports:package:livekit_client/src/core/pending_track_queue.dartthat imports:package:livekit_client/src/events.dartthat imports:package:livekit_client/src/track/track.dartthat imports:package:livekit_client/src/internal/events.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `Web`.
Because:
package:socrits/socrits.dartthat imports:package:socrits/src/effects.dartthat imports:package:livekit_client/livekit_client.dartthat imports:package:livekit_client/src/widgets/video_track_renderer.dartthat imports:package:livekit_client/src/types/other.dartthat imports:package:livekit_client/src/participant/participant.dartthat imports:package:livekit_client/src/utils.dartthat imports:package:livekit_client/src/types/video_parameters.dartthat imports:package:livekit_client/src/types/video_encoding.dartthat imports:package:livekit_client/src/types/priority.dartthat imports:package:flutter_webrtc/flutter_webrtc.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:socrits/socrits.dartthat imports:package:socrits/src/effects.dartthat imports:package:livekit_client/livekit_client.dartthat imports:package:livekit_client/src/widgets/video_track_renderer.dartthat imports:package:livekit_client/src/types/other.dartthat imports:package:livekit_client/src/participant/participant.dartthat imports:package:livekit_client/src/utils.dartthat imports:package:livekit_client/src/types/video_parameters.dartthat imports:package:livekit_client/src/types/video_encoding.dartthat imports:package:livekit_client/src/types/priority.dartthat imports:package:flutter_webrtc/flutter_webrtc.dartthat imports:package:flutter_webrtc/src/native/rtc_video_platform_view.dartthat imports:package:flutter_webrtc/src/native/rtc_video_platform_view_controller.dartthat imports:package:flutter_webrtc/src/native/utils.dartthat imports:package:flutter_webrtc/src/native_logs_listener.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat 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.
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
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.