sarvamconv_ai_sdk 1.0.1 copy "sarvamconv_ai_sdk: ^1.0.1" to clipboard
sarvamconv_ai_sdk: ^1.0.1 copied to clipboard

Flutter SDK for Sarvam Conversational AI - Real-time voice and text interactions

105/ 160
pub points
115
downloads

We analyzed this package 7 hours ago, and awarded it 105 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Partially passed check 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.

Passed check 5/5 points: Provide a valid README.md

Failed check 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.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:sarvamconv_ai_sdk/sarvamconv_ai_sdk.dart that imports:
  • package:sarvamconv_ai_sdk/src/default_audio_interface.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:sarvamconv_ai_sdk/sarvamconv_ai_sdk.dart that imports:
  • package:sarvamconv_ai_sdk/src/default_audio_interface.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `Web`.

Because:

  • package:sarvamconv_ai_sdk/sarvamconv_ai_sdk.dart that imports:
  • package:sarvamconv_ai_sdk/src/default_audio_interface.dart that imports:
  • package:flutter_sound/flutter_sound.dart that imports:
  • package:flutter_sound/public/flutter_sound.dart that imports:
  • package:flutter_sound/public/flutter_sound_player.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
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

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

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_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.

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:

  • 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.

Weekly downloads

Display as:
By versions:
0
likes
105
points
115
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter SDK for Sarvam Conversational AI - Real-time voice and text interactions

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_sound, http, json_annotation, permission_handler, record, uuid, web_socket_channel

More

Packages that depend on sarvamconv_ai_sdk