telnyx_common 0.0.1-beta copy "telnyx_common: ^0.0.1-beta" to clipboard
telnyx_common: ^0.0.1-beta copied to clipboard

A high-level, state-agnostic, drop-in module for the Telnyx Flutter SDK that simplifies WebRTC integration.

130/ 160
pub points
45
downloads

We analyzed this package 26 hours ago, and awarded it 130 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

149 out of 173 API elements (86.1 %) have documentation comments.

Some symbols that are missing documentation: iterable_extensions, iterable_extensions.IterableExtension.firstOrNull, telnyx_common.BackgroundDetector, telnyx_common.BackgroundDetector.BackgroundDetector.new, telnyx_common.BackgroundDetector.child.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:telnyx_common/telnyx_common.dart that imports:
  • package:telnyx_common/src/internal/push/default_push_token_provider.dart that imports:
  • package:telnyx_common/src/internal/push/ios_push_token_provider.dart that imports:
  • package:flutter_callkit_incoming/flutter_callkit_incoming.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:telnyx_common/telnyx_common.dart that imports:
  • package:telnyx_common/src/internal/push/default_push_token_provider.dart that imports:
  • package:telnyx_common/src/internal/push/ios_push_token_provider.dart that imports:
  • package:flutter_callkit_incoming/flutter_callkit_incoming.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:telnyx_common/telnyx_common.dart that imports:
  • package:telnyx_common/src/internal/push/default_push_token_provider.dart that imports:
  • package:telnyx_common/src/internal/push/ios_push_token_provider.dart that imports:
  • package:flutter_callkit_incoming/flutter_callkit_incoming.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:telnyx_common/telnyx_common.dart that imports:
  • package:telnyx_common/src/internal/push/default_push_token_provider.dart that imports:
  • package:telnyx_common/src/internal/push/ios_push_token_provider.dart that imports:
  • package:flutter_callkit_incoming/flutter_callkit_incoming.dart that declares support for platforms: Android, iOS.

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:telnyx_common/telnyx_common.dart that imports:
  • package:telnyx_common/src/internal/push/notification_display_service.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_windows/flutter_local_notifications_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:telnyx_common/telnyx_common.dart that imports:
  • package:telnyx_common/src/internal/push/notification_display_service.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_windows/flutter_local_notifications_windows.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:telnyx_common/telnyx_common.dart that imports:
  • package:telnyx_common/src/internal/push/default_push_token_provider.dart that imports:
  • package:telnyx_common/src/internal/push/ios_push_token_provider.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 16 issues. Showing the first 2:

WARNING: The value of the local variable 'telnyxCall' isn't used.

lib/src/internal/calls/call_state_controller.dart:771:11

    ╷
771 │     final telnyxCall = _telnyxCalls.remove(callId);
    │           ^^^^^^^^^^
    ╵

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

WARNING: The value of the field '_storedConfig' isn't used.

lib/src/telnyx_voip_client.dart:37:11

   ╷
37 │   Config? _storedConfig;
   │           ^^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
firebase_core ^4.0.0 4.1.1 4.1.1
firebase_messaging ^16.0.0 16.0.2 16.0.2
flutter_callkit_incoming ^2.5.8 2.5.8 3.0.0
flutter_local_notifications ^19.3.0 19.4.2 19.4.2
shared_preferences ^2.4.0 2.5.3 2.5.3
telnyx_webrtc ^2.0.1 2.0.1 3.0.0
uuid ^4.0.0 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.62 1.3.62
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
audio_session - 0.1.25 0.2.2
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus - 6.1.5 7.0.0
connectivity_plus_platform_interface - 2.0.1 2.0.1
crypto - 3.0.6 3.0.6
dart_webrtc - 1.6.0 1.6.0
dbus - 0.7.11 0.7.11
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
firebase_core_platform_interface - 6.0.1 6.0.1
firebase_core_web - 3.1.1 3.1.1
firebase_messaging_platform_interface - 4.7.2 4.7.2
firebase_messaging_web - 4.0.2 4.0.2
fixnum - 1.1.1 1.1.1
flutter_local_notifications_linux - 6.0.0 6.0.0
flutter_local_notifications_platform_interface - 9.1.0 9.1.0
flutter_local_notifications_windows - 1.0.3 1.0.3
flutter_webrtc - 0.13.1+hotfix.1 1.2.0
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
just_audio - 0.9.46 0.10.5
just_audio_platform_interface - 4.6.0 4.6.0
just_audio_web - 0.4.16 0.4.16
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.28.0 0.28.0
shared_preferences_android - 2.4.14 2.4.14
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.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
test_api - 0.7.6 0.7.7
timezone - 0.10.1 0.10.1
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1
webrtc_interface - 1.3.0 1.3.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

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

The constraint `^2.5.8` on flutter_callkit_incoming does not support the stable version `3.0.0`, that was published 28 days ago.

When flutter_callkit_incoming is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^2.0.1` on telnyx_webrtc does not support the stable version `3.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

A high-level, state-agnostic, drop-in module for the Telnyx Flutter SDK that simplifies WebRTC integration.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

firebase_core, firebase_messaging, flutter, flutter_callkit_incoming, flutter_local_notifications, shared_preferences, telnyx_webrtc, uuid

More

Packages that depend on telnyx_common