sip_ua 0.5.8 copy "sip_ua: ^0.5.8" to clipboard
sip_ua: ^0.5.8 copied to clipboard

A SIP UA stack for Flutter/Dart, based on flutter-webrtc, support iOS/Android/Destkop/Web.

102
likes
110/ 140
pub points
91%
popularity

We analyzed this package 5 days ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

26 out of 128 API elements (20.3 %) have documentation comments.

Some symbols that are missing documentation: sip_ua.Call, sip_ua.Call.Call, sip_ua.Call.answer, sip_ua.Call.direction, sip_ua.Call.getStats.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:sip_ua/sip_ua.dart that imports:
  • package:sip_ua/src/sip_ua_helper.dart that imports:
  • package:sip_ua/src/ua.dart that imports:
  • package:sip_ua/src/transactions/transactions.dart that imports:
  • package:sip_ua/src/transactions/transaction_base.dart that imports:
  • package:sip_ua/src/event_manager/event_manager.dart that imports:
  • package:sip_ua/src/event_manager/options_events.dart that imports:
  • package:sip_ua/src/options.dart that imports:
  • package:sip_ua/src/request_sender.dart that imports:
  • package:sip_ua/src/transactions/non_invite_client.dart that imports:
  • package:sip_ua/src/event_manager/internal_events.dart that imports:
  • package:sip_ua/src/rtc_session/info.dart that imports:
  • package:sip_ua/src/rtc_session.dart that imports:
  • package:sip_ua/src/rtc_session/dtmf.dart that imports:
  • package:flutter_webrtc/flutter_webrtc.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 1320 issues. Showing the first 2:

WARNING: Unused import: 'socket.dart'.

lib/src/config.dart:7:8

  ╷
7 │ import 'socket.dart' as Socket;
  │        ^^^^^^^^^^^^^
  ╵

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

WARNING: The operand can't be null, so the condition is always 'false'.

lib/src/config.dart:123:22

    ╷
123 │       if (user_agent == null) return;
    │                      ^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
collection ^1.15.0 1.18.0 1.18.0
crypto ^3.0.0 3.0.3 3.0.3
flutter_webrtc ^0.9.25 0.9.48+hotfix.1 0.9.48+hotfix.1
intl ^0.18.0 0.18.1 0.19.0
logger ^1.0.0 1.4.0 2.2.0
parser_error ^0.2.0 0.2.0 0.2.0
path ^1.6.4 1.9.0 1.9.0
random_string ^2.0.0 2.3.1 2.3.1
recase ^4.0.0 4.1.0 4.1.0
sdp_transform ^0.3.2 0.3.2 0.3.2
uuid ^3.0.2 3.0.7 4.3.3
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
dart_webrtc - 1.2.1 1.2.1
ffi - 2.1.2 2.1.2
flutter - 0.0.0 0.0.0
js - 0.6.7 0.7.1
lists - 1.0.1 1.0.1
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
path_provider - 2.1.2 2.1.2
path_provider_android - 2.2.2 2.2.2
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
platform_detect - 2.0.11 2.0.11
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.4 2.1.4
sky_engine - 0.0.99 0.0.99
synchronized - 3.1.0+1 3.1.0+1
text - 0.2.0 0.2.0
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
webrtc_interface - 1.1.2 1.1.2
win32 - 5.3.0 5.3.0
xdg_directories - 1.0.4 1.0.4

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

Found 3 issues. Showing the first 2:

The constraint `^0.18.0` on intl does not support the stable version `0.19.0`.

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

The constraint `^1.0.0` on logger does not support the stable version `2.0.0`.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.2, Dart 3.3.0.

Check the analysis log for details.

102
likes
110
pub points
91%
popularity

Publisher

verified publisherflutter-webrtc.org

A SIP UA stack for Flutter/Dart, based on flutter-webrtc, support iOS/Android/Destkop/Web.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, crypto, flutter_webrtc, intl, logger, parser_error, path, random_string, recase, sdp_transform, uuid

More

Packages that depend on sip_ua