質問

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