onsip / onsip-cordova

Other
48 stars 29 forks source link

Issue with the Get started example #20

Open excendia opened 9 years ago

excendia commented 9 years ago

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