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.
有帮助吗?

解决方案 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;

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top