Comments (7)
@hoxfon @jrperson Have either of you experienced this issue? Thanks!
from react-native-twilio-programmable-voice.
@nkarman is there any chance that you are passing to the listener an undefined reference?
In my JS app I have something like this:
//...
TwilioVoice.addEventListener('deviceReady', _deviceReady)
if (Platform.OS !== 'ios') {
TwilioVoice.addEventListener('deviceNotReady', _deviceNotReady)
}
//...
if (Platform.OS !== 'ios') {
TwilioVoice.addEventListener('deviceDidReceiveIncoming', _deviceDidReceiveIncoming)
}
if (Platform.OS === 'ios') {
TwilioVoice.addEventListener('callRejected', _deviceCallRejected)
}
TwilioVoice.addEventListener('connectionDidConnect', _connectionDidConnect)
TwilioVoice.addEventListener('connectionDidDisconnect', _connectionDidDisconnect)
let me know if that helps
from react-native-twilio-programmable-voice.
@fabriziomoscon I have something very similar. Do you think you could possibly provide an example of where the listeners are defined? such as _deviceReady or _connectionDidConnect? In my code, I have them defined as such
_connectionDidConnect (args) {
console.tron.log('connectionDidConnect', args)
}
_connectionDidDisconnectHandler (error) {
console.log('connectionDidDisconnectHandler', error)
}
from react-native-twilio-programmable-voice.
I am also getting this issue.
from react-native-twilio-programmable-voice.
Please paste your file, there is really nothing special in my _ handlers
from react-native-twilio-programmable-voice.
Hey @fabriziomoscon, thanks for replying. I actually figured it out shortly after posting, should of deleted it. Thank you very much for writing this module!
from react-native-twilio-programmable-voice.
My pleasure, maybe you could post your solution anyway for others.
from react-native-twilio-programmable-voice.
Related Issues (20)
- Push notifications for missed calls and voicemail HOT 1
- How to handle conference calls HOT 1
- Failed to run the deviceDidReceiveIncoming method HOT 2
- Storing Device Token in Local Storage Causes Issues on Multiple Devices HOT 1
- App is not run on android simulator HOT 1
- Call Extension for contact
- Distinguish between ringing and answered? HOT 1
- Android 12 support HOT 5
- Voip call is not received in iOS HOT 1
- Phone Number showing in status bar while call is in progress HOT 1
- React Native android build failed while running app after install - npm install react-native-twilio-programmable-voice --save HOT 2
- incoming call failed in android
- CallKit error com.apple.CallKit.error.requesttransaction error 7
- Any listener like 'TwilioVoice.addEventListener('deviceReady') not working in IOS HOT 6
- How can I implement the call rejection function when the line is busy?
- How can I get call_state when I accepted a call? HOT 3
- Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. HOT 1
- android 12 error HOT 1
- Twilio Official Voice React Native SDK HOT 1
- Invalid Parametrs error on connect outgoing call HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-twilio-programmable-voice.