onsip-cordova icon indicating copy to clipboard operation
onsip-cordova copied to clipboard

Issue with the Get started example

Open excendia opened this issue 9 years ago • 0 comments

I followed the instructions of the file README.md to deploy the example on iphone and ipad and it doesn’t work. I try to debug the javascript by adding alert messages and here what I see: The event deviceready is not called. I comment the two lines : First line: document.addEventListener("deviceready", function() { Last line });

And displaying a message after the line var SIP = cordova.require("com.onsip.cordova.Sipjs"); but it doesn’t display.

Also there is a problem with var listeningElement = parentElement.querySelector('.listening'); of the file index.js

excendia avatar Jul 15 '15 19:07 excendia