Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
Fix engine range restriction
Browse files Browse the repository at this point in the history
* Plugman respects only the first specification with the same engine key
* Be more specific and set the restriction for `cordova-ios` instead of `cordova`
  • Loading branch information
Martin Bektchiev committed Mar 16, 2017
1 parent 427778f commit 784bba9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
<preference name="WKWEBVIEW_SERVER_PORT" default="12344" />

<engines>
<engine name="cordova" version=">=3.0.0"/>
<engine name="cordova" version="<4.0.0" />
<engine name="cordova-ios" version=">=3.0.0 <4.0.0"/>
</engines>

<!-- ios -->
Expand Down Expand Up @@ -72,7 +71,7 @@
<source-file src="src/ios/CDVWebViewOperationsDelegate.m"/>
<header-file src="src/ios/CDVWebViewUIDelegate.h"/>
<source-file src="src/ios/CDVWebViewUIDelegate.m"/>

<dependency id="cordova-plugin-webserver" />

</platform>
Expand Down

0 comments on commit 784bba9

Please sign in to comment.