Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Beginner
43 Views

SIP Plugin Usage

Hello Everyone,

Can someone please help me how to use this plugin? "https://github.com/javray/SIP"

I dont know how to call prototype functions from main page. 

Best Regards.

Tags (2)
0 Kudos
3 Replies
43 Views

According to the plugin.xml file, the APIs will be within the namespace indicated on this line > https://github.com/javray/SIP/blob/master/plugin.xml#L6 < and the API calls are defined in here > https://github.com/javray/SIP/blob/master/www/SIP.js < so that should translate into something like:

cordova.plugins.SIP.isSupported()

etc. ...for example.

0 Kudos
Beginner
43 Views

Thanks for your answer Paul,

But I couldnt understand compleletely. 

i called cordova.plugins.SIP. isSupported() in alert, but I couldnt get any reaction.

0 Kudos
43 Views

You can only debug that plugin in a built app, it will not work in the Simulate tab or in App Preview (via the Test tab). It is a third-party plugin that is not part of the core Cordova plugins. Only the core Cordova plugins are supported in the Simulate and Test tabs. All other plugins can only be used in a built app. See this page for help debugging a built app > https://software.intel.com/en-us/xdk/docs/using-remote-chrome-devtools-to-debug-android-cordova-apps <

0 Kudos