sarvamconv_ai_sdk 1.0.1
sarvamconv_ai_sdk: ^1.0.1 copied to clipboard
Flutter SDK for Sarvam Conversational AI - Real-time voice and text interactions
We analyzed this package 7 hours ago, and awarded it 105 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/ram-sarvam/sarvam_app_demo was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/ram-sarvam/sarvam_app_demo/issues was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.1").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
87 out of 199 API elements (43.7 %) have documentation comments.
Some symbols that are missing documentation: sarvamconv_ai_sdk, sarvamconv_ai_sdk.AudioEncoding.value, sarvamconv_ai_sdk.AudioInterface.AudioInterface.new, sarvamconv_ai_sdk.ClientAudioChunkMsg.ClientAudioChunkMsg.new, sarvamconv_ai_sdk.ClientAudioChunkMsg.audioBase64.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:sarvamconv_ai_sdk/sarvamconv_ai_sdk.dartthat imports:package:sarvamconv_ai_sdk/src/default_audio_interface.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `macOS`.
Because:
package:sarvamconv_ai_sdk/sarvamconv_ai_sdk.dartthat imports:package:sarvamconv_ai_sdk/src/default_audio_interface.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `Web`.
Because:
package:sarvamconv_ai_sdk/sarvamconv_ai_sdk.dartthat imports:package:sarvamconv_ai_sdk/src/default_audio_interface.dartthat imports:package:flutter_sound/flutter_sound.dartthat imports:package:flutter_sound/public/flutter_sound.dartthat imports:package:flutter_sound/public/flutter_sound_player.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/services.dart'.
lib/src/default_audio_interface.dart:9:8
╷
9 │ import 'dart:typed_data';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/default_audio_interface.dart
INFO: 'feedFromStream' is deprecated and shouldn't be used. Use [feedUint8FromStream()].
lib/src/default_audio_interface.dart:134:25
╷
134 │ await _iosPlayer!.feedFromStream(audio);
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/default_audio_interface.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_sound |
^9.16.3 |
9.30.0 | 9.30.0 | |
http |
^1.2.2 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
permission_handler |
^11.3.1 |
11.4.0 | 12.0.1 | |
record |
^6.1.2 |
6.1.2 | 6.1.2 | |
uuid |
^4.5.1 |
4.5.2 | 4.5.2 | |
web_socket_channel |
^3.0.2 |
3.0.3 | 3.0.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.5 | 2.1.5 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_sound_platform_interface |
- | 9.30.0 | 10.3.8 | |
flutter_sound_web |
- | 9.30.0 | 10.3.8 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logger |
- | 2.6.2 | 2.6.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
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 |
- | 12.1.0 | 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 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
record_android |
- | 1.4.5 | 1.4.5 | |
record_ios |
- | 1.1.5 | 1.1.5 | |
record_linux |
- | 1.2.1 | 1.2.1 | |
record_macos |
- | 1.1.2 | 1.1.2 | |
record_platform_interface |
- | 1.4.0 | 1.4.0 | |
record_web |
- | 1.2.2 | 1.2.2 | |
record_windows |
- | 1.0.7 | 1.0.7 | |
source_span |
- | 1.10.1 | 1.10.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 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^11.3.1` on permission_handler does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions permission_handler 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 1 error:
UNDEFINED_NAMED_PARAMETER-lib/src/default_audio_interface.dart:123:9- The named parameter 'interleaved' isn't defined.
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.