Skip to content

Commit

Permalink
Merge pull request cordova-rtc#136 from Mobilea/master
Browse files Browse the repository at this point in the history
Moved `<js-module>` to `<platform name="ios">` tag, so the JS module is only loaded and included on iOS and not on all platforms
  • Loading branch information
ibc committed Mar 1, 2016
2 parents 54bf294 + 2f8abc2 commit 1feb1ad
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 1feb1ad

Please sign in to comment.