cordovaphonegap-pluginschildbrowser

ChildBrowser Plugin Not working on Phonegap 2.9


I've upgraded the plugin to latest commits from GitHub
Just still not able to include it in the project <br/>
Just two questions <br/>
  1. How to add it to config.xml correctly (if below is correct)
<feature name="ChildBrowser">
><param name="ios-package" value="ChildBrowserCommand" />
</feature>
  1. Any other things I should keep in mind.

Solution

  • <feature name="ChildBrowserCommand">
        <param name="ios-package" value="ChildBrowserCommand" />
    </feature>
    

    Do remember to get the latest plugin code , since phonegap has changed the way parameters are passed to native .m file For ex :

    - (void)showWebPage:(CDVInvokedUrlCommand*)command 
    

    and in .h file

    @property (nonatomic, strong) ChildBrowserViewController* childBrowser;
    
    -(void)showWebPage:(CDVInvokedUrlCommand*)command;