سؤال

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