twiliodeved / conversations-demo Goto Github PK
View Code? Open in Web Editor NEWDemo chat app for use in Conversations Quickstart, with updated UI.
Demo chat app for use in Conversations Quickstart, with updated UI.
Hi Team,
I am trying to run the Package "@twilio-conversations" in react-typescript. It fails to compile with following error:
Declaring the module in definition file: @types/alltypes.d.ts
[declare module "@twilio-conversations"
] does not help.
Can anyone let me know, if they are facing similar issue?
Thanks,
Deepak
When a new SMS comes into the Twilio #, the Add Participant(me) webhook function does not add me into a chat upon new sms
After a new text comes in, if I manually bind my ident to the twilio # via Twilio-CLI in my terminal, then I pop up in the chat with the user instantly - but until then nothing.
Is there any chance of updating this repo with the latest version of "@twilio/conversations": "^2.1.0" ?
With older version 1, this is working fine but with updated version event listeners are not working, like
this.conversationsClient.on("connectionStateChanged"....
index.js:70
*** need to add this as option
var ngrokOptions = {
proto: 'http',
addr: config.port,
*** configPath: 'PATH TO NGROK.YML'
};
This app is not working and gives following error.
$ npm run start
[email protected] start D:\mydocuments\prohaat\twilio_conversations\app
concurrently "react-scripts start" "node index.js"
[1] Application started at localhost:3002
[0] D:\mydocuments\prohaat\twilio_conversations\app\node_modules\terser-webpack-plugin\node_modules\p-limit\index.js:29
[0] } catch {}
[0] ^
[0]
[0] SyntaxError: Unexpected token {
[0] at createScript (vm.js:80:10)
[0] at Object.runInThisContext (vm.js:139:10)
[0] at Module._compile (module.js:616:28)
[0] at Object.Module._extensions..js (module.js:663:10)
[0] at Module.load (module.js:565:32)
[0] at tryModuleLoad (module.js:505:12)
[0] at Function.Module._load (module.js:497:3)
[0] at Module.require (module.js:596:17)
[0] at require (internal/module.js:11:18)
[0] at Object. (D:\mydocuments\prohaat\twilio_conversations\app\node_modules\terser-webpack-plugin\dist\index.js:24:38)
[0] react-scripts start exited with code 1
[1] { error_code: 103,
[1] status_code: 502,
[1] msg: 'failed to start tunnel',
[1] details:
[1] { err: 'Only paid plans may bind custom subdomains.\nFailed to bind the custom subdomain 'ajtack' for an unauthenticated client.\nSign up at: https://dashboard.ngrok.com/signup\n\nIf you have already signed up, make sure your authtoken is installed.\nYour authtoken is available on your dashboard: https://dashboard.ngrok.com/get-started/your-authtoken\r\n\r\nERR_NGROK_305\r\n' } }
I place my key in the app, and the 'open conversations' box just spins.
What is this app supposed to do exactly?
Hi there, is there a plan to release a demo of conversations that uses react hooks? I think a lot more people would be interested in using the api then.
We are currently using the Conversation javascript SDK (@twilio/[email protected]) on our desktop (electron) app.
The problem is that we get many uncaught errors originating from 'twilsock' when a laptop is resumed after a period of sleep.
We want to be able to catch these errors or we want the SDK to log them rather than throwing/rejecting in a way that we cannot catch. Could you please advise on how to handle these errors? It's currently flooding our error monitoring system.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.