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
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