jefflinwood / twilio_client_phonegap

Phonegap plugins for the Twilio Client iOS and Android SDKs
MIT License
59 stars 53 forks source link

When we use this plugin do we really need to separately add ios and android twilio libs? #89

Closed shivanibhanwal closed 5 years ago

shivanibhanwal commented 6 years ago

@jefflinwood I am little confused with the advantage of this plugin. We have used in our project a few years back and I see we are using this plugin, then we are added twilioClient.js separately in out Vendor folder and not just then. We also add on more LIB folder which contains the Ios and android libs e.g. TCConnection.h, TCConnectionDelegate.h, TCDevice.h, TCDeviceDelegate.h, TCPresenceEvent.h, TwilioClient.h, libTwilioClient.a, libcrypto.a , libssl.a

So we really need to have all this? I am really unable to understand the purpose. For background, we have an Ember.js app web/mobile. we use Cordova for mobile with ember-cli-Cordova.

I will really appreciate your quick response on this that will help me decide the right way.

Thanks Shivani

jefflinwood commented 5 years ago

The reason this plugin uses all of these libs is that the Twilio Client JS does not work inside a web view in a mobile app - this could change in the future (and ideally this plugin would go away).

shivanibhanwal commented 5 years ago

Thanks @jefflinwood 👍 got it.