Comments (10)
Looks like this resolved the issue, thanks!
from react-native-twilio-programmable-voice.
Getting the same errors with RN 46.1 running on iPhone
from react-native-twilio-programmable-voice.
The crash was due to a connection error (unauthorized in my case)
Commenting this line fixes it.
https://github.com/hoxfon/react-native-twilio-programmable-voice/blob/master/ios/RNTwilioVoice/RNTwilioVoice.m#L304
from react-native-twilio-programmable-voice.
The root of my problem was that I was putting whitespace in my access token identity server side.
from react-native-twilio-programmable-voice.
I don't think this should be closed, since the error handler is handling thing improperly making the app crash.
from react-native-twilio-programmable-voice.
@nkarman could this issue be related to you trying to use a newer version of the Twilio SDK in your podfile?
As of version 2.5.0
I have integrated the callSid changes make in the SDK so you can use beta13 in your podfile.
Please let me know if that fixed the issue for you.
callSid changes:
https://www.twilio.com/docs/api/voice-sdk/ios/changelog#200-beta12-july-11-2017
from react-native-twilio-programmable-voice.
I'm getting Error handling FCM messagecom.twilio.voice.MessageException: No CallInvite with this CallSid
even though the call had worked.
{
call_to: 'client:User_1',
call_from: '908908',
call_state: 'DISCONNECTED',
call_sid: 'CA...'
}
Shouldn't call_from
have the client:User_2
instead those numbers?
Could I be missing something?
from react-native-twilio-programmable-voice.
Hi @rochapablo, are you sure you're issue is related to this one?
To me it sounds quite different. Anyway I really think we need more context around this issue.
Please open a new one and try to provide us with more information and step to reproduce.
Sorry for the inconvenience
from react-native-twilio-programmable-voice.
We're on the team from @nkarman's original post and this is still happening for us
React-Native 0.49.0
React-Native-Twilio-Programmable-Voice 3.2.0
Twilio Voice 2.0.0-beta13 & 2.0.0-beta15
iPhone 6 running iOS 11.1.1
App in foreground
Pod version 1.3.0
The issues happens in the connectionDidConnect
delegate method, so I have a feeling this may be something more related to the Twilio SDK or possibly connection errors as mentioned before.
We've been able to reproduce it where the first call succeeds and then every call after that fails with the same null sid error.
Do you have any insights?
from react-native-twilio-programmable-voice.
I would compile the example app from Twilio:
https://github.com/twilio/voice-quickstart-objc/tree/master/ObjCVoiceCallKitQuickstart
and run it with no significant changes to your backend.
If the crash persists, the problem lies with either your configuration of the server of Twilio SDK.
The crash originally reported means that call
is nil
#pragma mark - TVOCallDelegate
- (void)callDidConnect:(TVOCall *)call {
[...]
NSMutableDictionary *callParams = [[NSMutableDictionary alloc] init];
[callParams setObject:call.sid forKey:@"call_sid"];
[...]
[self sendEventWithName:@"connectionDidConnect" body:callParams];
}
I can't see how the TVOCallDelegate
would pass a nil
call.
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.