document.addEventListener("deviceready", itsnowready, false);
if i hit home button and then tap app icon again to return to the app, the app proceeds normally from there and executes fine. i have a button in the app that send control to the phone's camera; i get same behavior there, where the app hangs on iphone and requires hitting home button and then app button again, which resolves the issue. so the issue is that the deviceready event isn't firing on the iphone with the app installed, though it is working fine on android and on iphone via phonegap developer.
can someone please advise? thanks.
i tracked down the answer to my problem, which was related to content-security-policy. this page solved a problem i spent two days working to resolve:
You are missing gap: in your Content-Security-Policy meta tag.
If you post your current Content-Security-Policy meta tag I can edit it to add the gap: if you don't know how to do it