Note that there are some explanatory texts on larger screens.

plurals
  1. POPhoneGap saying ChildBrowser Plugin doesn't exist
    primarykey
    data
    text
    <p>I'm developing an app for iPhone using Xcode and PhoneGap and HTML, and ChildBrowser. I'm trying to display a PDF that is being retrieved from Dropbox (the site has been added to the External Array list in Cordova.plist) but the error <strong>Plugin 'ChildBrowserCommand' not found, or is not a CDVPlugin. Check your plugin mapping in Cordova.plist</strong> comes up in the <code>console</code> and i don't understand what's wrong. in Cordova.plist, i added to the Plugin Dictionary;</p> <p><img src="https://i.stack.imgur.com/aR0PT.png" alt="enter image description here"></p> <p>The JavaScript is;</p> <pre><code>childbrowser = ChildBrowser.install(); function viewOnline(site) { cordova.exec("ChildBrowserCommand.showWebPage", encodeURI(site)); } </code></pre> <p>and the HTML is;</p> <pre><code>&lt;button onclick="viewOnline('http://dl.dropbox.com/u/97184921/Internship%20Stuff/Holidays.pdf');"&gt;View Online&lt;/button&gt;&lt;/li&gt; </code></pre> <p>I'm fairly new to ChildBrowser and don't really understand what's wrong; how do i fix the code?</p> <p><strong>EDIT</strong></p> <p>this is the full error that comes up in the console if it helps;</p> <p><em>2013-03-11 16:05:00.327 TestApp1[62039:15b03] ERROR: Plugin 'ChildBrowser' not found, or is not a CDVPlugin. Check your plugin mapping in Cordova.plist.</em></p> <p><em>2013-03-11 16:05:00.328 TestApp1[62039:15b03] -[CDVCommandQueue executePending] [Line 102] FAILED pluginJSON = [null,"ChildBrowser","showWebPage",["<a href="http://dl.dropbox.com/u/97184921/Internship%2520Stuff/Holidays.pdf" rel="nofollow noreferrer">http://dl.dropbox.com/u/97184921/Internship%2520Stuff/Holidays.pdf</a>"]]</em></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.
    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