Comments (10)
This should work now with v1.8.1 (see #74)
The bug was due to the fact that in its incoming push, Twilio sends a twi_answer_timeout
field as an integer but the module code was expecting a string ... while on the Android side,twi_answer_timeout
is indeed a string 😭
from react-native-twilio-phone.
This is not a good firecracker solution. But it works fine for me. cc: @MrHertal
from react-native-twilio-phone.
Same thing happening with our app.
from react-native-twilio-phone.
Thanks to all of you for reporting this nasty bug.
I am currently working on a fix.
from react-native-twilio-phone.
Same here
from react-native-twilio-phone.
Broke in our app in production, just checked. After digging through the internals, one thing that stands out is that the PKPushPayload includes a number value under a timeout key. By the time it crashes, it's trying to dispatch the received payload from Twilio in our case back to TwilioPhone.
from react-native-twilio-phone.
Same here. App immediately crashes on incoming calls. It seems to be something related to the handling of the Voip Push Notification and serializing the push payload data.
The culprit seems to be related with:
[RNVoipPushNotificationManager didReceiveIncomingPushWithPayload:payload forType:[NSString stringWithFormat:@"%@", type]];
Note: I noticed that the only value in the payload that is of type __NSCFNumber
is the twi_timeout
property.
from react-native-twilio-phone.
Thanks so much for the support. @MrHertal 🏆
from react-native-twilio-phone.
Thanks for the quick update! Much appreciated.
from react-native-twilio-phone.
thank you for quick fix @MrHertal
from react-native-twilio-phone.
Related Issues (20)
- Upgrade ios and android Twilio SDK's to support Umatilla Oregon public edge HOT 1
- Hangup does not work HOT 2
- Video call HOT 1
- two simultaneous calls cause a crash
- Incoming call not working on ios with adhoc profile with voip certificate
- End call listener gets call automatically of RNCallKeep for android when app is in active(foreground and background) both) HOT 2
- The incoming phone call can not connect when app has been killed HOT 1
- incoming call automatic disconnect if android app is in forground.
- Caller is not able to end the call HOT 1
- How to send my own UUID? HOT 2
- Android: Not able to accept the call when call is coming in kill/background state
- can we get call uuid when ringing
- Hide my app name prompt in dialer for outgoing calls
- Official Twilio Voice React Native SDK HOT 2
- When I answer on the incoming call, in the app, I can't join to it. On IOS HOT 2
- In Recents Tab on iOS, my calls show but when I click them, nothing happens HOT 2
- # Warning - 13214 # Dial: Invalid callerId
- [TypeError: null is not an object (evaluating '_reactNativeTwilioPhone.TwilioPhone.register')]
- Android: Not receiving Phone calls When app is in background.
- If I receive an incoming call while the application is open, I do not want to display the notification. 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-phone.