Question

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.
Was it helpful?

Solution 2

<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;

OTHER TIPS

I got ChildBrowser plugin to work with Phonegap 2.9 by following steps according to this thread. ios phonegap Child Browser plugin setup.

PS. Your "feature" setup in the config.xml is correct.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top