Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i have added the dependency telnyx_webrtc: ^0.0.18 and import the import 'package:telnyx_webrtc/telnyx_webrtc.dart'; in my dart code #67

Open
7 tasks
askai1122 opened this issue Sep 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@askai1122
Copy link

Bug Category

  • [] Credential Login
  • Token Login
  • Local Audio Issue
  • Remote Audio Issue
  • Audio Device Switching
  • Mute / Unmute
  • Hold / Unhold
  • Performance issues
  • [ x] Other

SDK Version
Which version of the SDK have you added from pub.dev? Feel free to add the whole dependency implementation:
eg. telnyx_webrtc: ^0.0.18

Describe the bug
i have added the dependency telnyx_webrtc: ^0.0.18 and import the import 'package:telnyx_webrtc/telnyx_webrtc.dart'; in my dart code and pasted this code TelnyxClient _telnyxClient = TelnyxClient();
_telnyxClient.connect(); but when ever i hit the run it shows me this error
lib/home.dart:121:3: Error: Type 'TelnyxClient' not found.
TelnyxClient _telnyxClient = TelnyxClient();
^^^^^^^^^^^^
lib/home.dart:104:37: Error: Couldn't find constructor '_MyHomePageState'.
_MyHomePageState createState() => _MyHomePageState();
^^^^^^^^^^^^^^^^
lib/home.dart:121:3: Error: 'TelnyxClient' isn't a type.
TelnyxClient _telnyxClient = TelnyxClient();
^^^^^^^^^^^^
lib/home.dart:121:32: Error: Method not found: 'TelnyxClient'.
TelnyxClient _telnyxClient = TelnyxClient();
^^^^^^^^^^^^
i have installed the dependices correclty but still it shows me this error
Expected behaviour
A clear and concise description of what you expected to happen.

To Reproduce
Steps to reproduce the behaviour:

  1. e.g. (Log on with credentials)
  2. e.g. (Socket error then returned)

** Device (please complete the following information):**

  • Emulator: (true/false)
  • Device/Browser: [e.g. Pixel 6, iPhone XR, Chrome]
  • OS Version: [e.g. Android Oreo, iOS 12, Chrome Version 103.0.5060.53]

Logs
Please provide any logs available to you, remember to enable verbose logging within the SDK.

@askai1122 askai1122 added the bug Something isn't working label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant