Note that there are some explanatory texts on larger screens.

plurals
  1. POChildbrowser with Cordova 1.7 iPhone issue
    primarykey
    data
    text
    <p>Can any expert here please point me to some valid walkthrough on how to make the ChildBrowser work with Cordova 1.7 in iPhone? I have found lots of documents and blogs out there that tell you how to do it, but none of them have worked for me. It is not a whitelist issue for sure, as for the time being I have set it to the wildcard *, so whitelisting problems can be safely ruled out I guess. In some cases, ChildBrowser was successfully installed, but when I called the <code>showwebpage</code> function, it just would not show up (there wouldn't be any errors either!). Other times, it just won't even install. I have already spent 2 days on it, and am still clueless. Just hoping if you could help me out. Any help would be appreciated.</p> <hr> <p>I could finally get the ChildBrowser to open up following what Dhawal has suggested below. But the <code>onLocationChange</code> event never seems to fire. Again, this seems to be a common problem with Cordova 1.7. Any workarounds apart from rolling back to some older Cordova version? Any help would be appreciated.</p> <p>Here's what I am trying to do:</p> <pre><code>window.plugins.childBrowser.showWebPage(url, { showLocationBar: true }); window.plugins.childBrowser.onLocationChange = function(loc){ alert("In index.html new loc = " + loc); }; </code></pre> <hr> <p>Ok, got it to work. Seems like ChildBrowser is still compatible with older versions of Cordova only. Had to delve into Objective-C and make changes in the plugin to make it work.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload