Comments (10)
This is also an issue for iOS
from react-native-twilio-programmable-voice.
We sometimes encounter problems when our app runs behind:
- Mobile device management
- Custom APN
- Firewalled WiFi
I suppose I'm not the only one who has noticed these limits. The IP-ranges for all regions should be whitelisted by the firewall in order to get it to work.
The list of IPs is huge: https://www.twilio.com/docs/voice/client/regions
Forcing the connection through one region, makes the list of IPs which should be whitelisted smaller. This can be done in the TwilioVoice SDK according to the docs here: https://www.twilio.com/docs/voice/voip-sdk/regions
When the new SDK version lands, it might be interesting to consider implementing setRegion()
.
Let me know what your thoughts are.
from react-native-twilio-programmable-voice.
@jdegger @fabriziomoscon I believe we could have a set of constants referencing each of the new "edges" and allow users to set them using Voice.setEdge("ashburn-ix");
on android and TwilioVoice.edge = "ashburn-ix";
on iOS.
Something like what we have for connection status.
What do you think?
from react-native-twilio-programmable-voice.
Maybe just send the string value to setEdge/setRegion instead of adding the edges as contants, otherwise we would have to update our package for every new edge Twilio adds, right?
from react-native-twilio-programmable-voice.
Yes, that sounds just right. I'll try to send a PR later today with this.
from react-native-twilio-programmable-voice.
@jdegger sorry for my late reply, I've been using setEdge on iOS for a while locally so I moved on to implement it on android.
There's one catch anyway, since Android SDK uses setRegion till version 5.3.0 and setEdge from there on.
Should we implement the deprecated setRegion method or should we upgrade Android SDK to version 5.6.0 (Latest at the time of writing)?
from react-native-twilio-programmable-voice.
@fmonsalvo I think we should wait for @fabriziomoscon to finish his PR maybe? I think he chose 5.0.1 because he is updating step by step from the twilio docs.
I will discuss with him also.
from react-native-twilio-programmable-voice.
ps: thanks for your efforts, highly appreciated!
from react-native-twilio-programmable-voice.
Yes, let's wait for that PR to be merged and then I'll send mine.
I'll look into the other items in the backlog and see which one I can work on.
from react-native-twilio-programmable-voice.
This is superseded by https://www.twilio.com/docs/voice/voip-sdk/android/3x-changelog#530
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.