Skip to content

Commit

Permalink
Moved <js-module> to <platform name="ios"> tag, so the JS module …
Browse files Browse the repository at this point in the history
…is only loaded and included on iOS and not on all platforms
  • Loading branch information
mark-veenstra committed Mar 1, 2016
1 parent 54bf294 commit 2f8abc2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
<engine name="cordova-ios" version=">=3.8.0" />
</engines>

<js-module src="dist/cordova-plugin-iosrtc.js" name="Plugin">
<clobbers target="cordova.plugins.iosrtc" />
</js-module>

<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="iosrtcPlugin">
Expand All @@ -30,6 +26,10 @@
</feature>
</config-file>

<js-module src="dist/cordova-plugin-iosrtc.js" name="Plugin">
<clobbers target="cordova.plugins.iosrtc" />
</js-module>

<!-- WebRTC ObjetiveC headers -->
<header-file src="src/webrtc-headers/RTCAVFoundationVideoSource.h" />
<header-file src="src/webrtc-headers/RTCAudioSource.h" />
Expand Down

0 comments on commit 2f8abc2

Please sign in to comment.