Using websdk on Andoid

Ivanskylight

New Member
Hello good people,
we are building Android app on Ionic framework. And on voice calling, we want to use flahsphoner Websdk because this one works on javascript instead of Andoid SDK that works on Java.
How should we manage and validate browser, domain, ssl verification in this case ? this are requested on websdk.

thank you very much
 

Max

Administrator
Staff member
Hello
Web SDK is a set of HTML and JavaScript files.
So let's say you have 1 html and 1 JavaScript file.

We never tested Ionic framework and I can't say how it works.
validate browser
For example, if it works as a browser, it will run html+js in a built-in browser(i.e. Chrome), and will send Chrome User-Agent headers.

You don't need to use domain for authentication.
You can use a string token instead.

ssl verification
If your runtime works like a browser, it should support HTTPS / Websocket natively.

So your runtime should work as a browser (Chrome) and should support
  • Websockets
  • WebRTC
As I know, Web View framework supports this and allows to create JavaScript based apps for Android.
I'm not sure about Ionic
 
Top