plugin.xml 1.41 KB
Newer Older
Jennie Shi's avatar
Jennie Shi committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-hls-cloudroom" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0">
    <!-- metadata -->
    <name>cordova-plugin-hls-cloudroom</name>
    <description>视频面签Cordova plugin定制化</description>
    <license>Apache 2.0</license>
    <!-- javascript -->
    <js-module name="CloudRoomService" src="www/hls.cordova.cloudroom.CloudRoomService.js">
        <clobbers target="hls.cordova.cloudroom.CloudRoomService" />
    </js-module>
      <!-- android -->
      <platform name="android">
        <!-- config -->
        <config-file target="res/xml/config.xml" parent="/*">
          <feature name="CloudRoomService">
            <param name="android-package" value="com.hls.cordova.cloudroom.CloudRoomService"/>
          </feature>
        </config-file>
        <!-- source -->
        <source-file src="src/android/CloudRoomService.java" target-dir="src/com/hls/cordova/cloudroom" />
      </platform>
    
      <!-- ios -->
      <platform name="ios">
        <!-- config -->
        <config-file target="config.xml" parent="/*">
          <feature name="CloudRoomService">
            <param name="ios-package" value="CloudRoomService"/>
          </feature>
        </config-file>
        <!-- source -->
        <header-file src="src/ios/CloudRoomService.h" />
        <source-file src="src/ios/CloudRoomService.m" />
      </platform>

</plugin>