Page 1 of 1

Integrate twilio SDK for VoIP app in iOS 7?

Posted: Mon Nov 04, 2013 3:17 pm
by Göran Svensson

Is it possible to use the twilio SDK to build a iOS 7 VoIP app with appery.io? If it is where can I find examples and the documentation to get started?

Thanks in advance for any feedback!


Integrate twilio SDK for VoIP app in iOS 7?

Posted: Mon Nov 04, 2013 4:04 pm
by maxkatz

You could use their JavaScript API but a better approach in Appery.io is to use the REST services directly. We have a plug-in for Twilio (SMS). It will give you a good idea how to use any Twilio services.


Integrate twilio SDK for VoIP app in iOS 7?

Posted: Mon Nov 04, 2013 7:05 pm
by Göran Svensson

Twilio VoIP is not the same as Twilio SMS. On Android it will work with the Twilio js SDK I think but for iOS the only solution is the native Twilio SDK because the iOS browser does not support WebRTC. A solution could be to wrap a custom browser that has support for WebRTC, if it is possible?

I my have missed something but it is what I have researched so far. I do not want to start coding and then get stuck in a dead end.

Regards,

Göran


Integrate twilio SDK for VoIP app in iOS 7?

Posted: Mon Nov 04, 2013 7:20 pm
by maxkatz

Did you check if Twilio offers plain REST for VoIP?

If they offer a JavaScript SDK, you could use that. If they have a PhoneGap plug-in, then you could use that as well. For PhoneGap plug-in, you would need to export the app source and add the plug-in that way.


Integrate twilio SDK for VoIP app in iOS 7?

Posted: Tue Nov 05, 2013 6:55 am
by Göran Svensson

Yes they offer REST for VoIP and have a JS SDK. But the problem with iOS is that Apple do not support WebRTC and if you use the JS SDK you use the wrapped HTML5 browser, it works with Android but not iOS.

I will first build the Twilio iOS native VoIP example app to see what can be done.

Thanks!