-
Notifications
You must be signed in to change notification settings - Fork 55
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
Issues while using @twilio/voice-sdk in chrome extension #102
Comments
@BishalSahoo-Pocketpills Uncaught ReferenceError: XMLHttpRequest is not defined |
Bumping the issue, hoping it gets Twilio's attention |
Bumping the issue |
Service workers have limitations which will prevent the voice sdk to function properly. It is not intended to work in this kind of environment. May I know the context why are you migrating to service workers? |
Hey @BishalSahoo-Pocketpills just following up on this. May I know the context why are you migrating to service workers? Google has postponed their original phase out plan, and is actively pursuing solutions to the limitations. At this moment, there is no further action that we can take so I'll close this now. Please feel free to follow up and we'll reopen the ticket if necessary. Meanwhile, we'll continue to monitor manifest v3 related news for chrome extensions. |
Hello @charliesantos,
Thank you. |
Related issue: #247 |
Can we use twilio conversation sdk and voice sdk both at the same time ? We have out extension that is using both at the same time. Since the service worker should create offscreen documents to run the SDK and only 1 offscreen document can be open at one time. Is it possible? |
Hello,
I am reaching out regarding issues that we are facing while using @twilio/voice-sdk, as recommended by Twilio's customer support. To ensure continued voice service in our application we are trying to upgrade from Twilio Client SDK V1 to the latest version as recommended In the docs and Twilio Voice. But we are facing several issues in the process.
Brief overview:
We have a chrome extension that provides voice and conversation functionalities to our customers. While upgrading to the latest version of the @twilio/voice-sdk we are getting Error 1 which seems to be due to this issue.
We tried to use the alternative mentioned in the thread
But, as we are intending to keep the functionality in the service workers, dynamic imports are not supported Error 2.
Then we still tried other methods of importing but we got this error Error 3.
We also tried importing it in content scripts but got Error 4.
Please can we get some solution for this? TIA
Error 1
Error 2
Error 3
Error 4
The text was updated successfully, but these errors were encountered: