Touchgui/plugins/org.apache.cordova.vibration/plugin.xml

changeset 0
e8ccd40d0ef6
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Touchgui/plugins/org.apache.cordova.vibration/plugin.xml	Thu Jun 04 14:50:33 2015 +0200
     1.3 @@ -0,0 +1,137 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<!--
     1.6 +  Licensed to the Apache Software Foundation (ASF) under one
     1.7 +  or more contributor license agreements.  See the NOTICE file
     1.8 +  distributed with this work for additional information
     1.9 +  regarding copyright ownership.  The ASF licenses this file
    1.10 +  to you under the Apache License, Version 2.0 (the
    1.11 +  "License"); you may not use this file except in compliance
    1.12 +  with the License.  You may obtain a copy of the License at
    1.13 +
    1.14 +    http://www.apache.org/licenses/LICENSE-2.0
    1.15 +
    1.16 +  Unless required by applicable law or agreed to in writing,
    1.17 +  software distributed under the License is distributed on an
    1.18 +  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    1.19 +  KIND, either express or implied.  See the License for the
    1.20 +  specific language governing permissions and limitations
    1.21 +  under the License.
    1.22 +-->
    1.23 +
    1.24 +<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
    1.25 +    xmlns:android="http://schemas.android.com/apk/res/android"
    1.26 +    id="org.apache.cordova.vibration"
    1.27 +    version="0.3.12">
    1.28 +
    1.29 +    <name>Vibration</name>
    1.30 +    <description>Cordova Vibration Plugin</description>
    1.31 +    <license>Apache 2.0</license>
    1.32 +    <keywords>cordova,vibration</keywords>
    1.33 +    <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration.git</repo>
    1.34 +    <issue>https://issues.apache.org/jira/browse/CB/component/12320639</issue>
    1.35 +
    1.36 +    <js-module src="www/vibration.js" name="notification">
    1.37 +        <merges target="navigator.notification" />
    1.38 +        <merges target="navigator" />
    1.39 +    </js-module>
    1.40 +
    1.41 +    <!-- firefoxos -->
    1.42 +    <platform name="firefoxos">
    1.43 +        <config-file target="www/config.xml" parent="/*">
    1.44 +            <feature name="Vibration">
    1.45 +                <param name="firefoxos-package" value="Vibration" />
    1.46 +            </feature>
    1.47 +        </config-file>                                         
    1.48 +        <js-module src="src/firefoxos/VibrationProxy.js" name="VibrationProxy">
    1.49 +            <runs />
    1.50 +        </js-module>
    1.51 +    </platform>
    1.52 +
    1.53 +    <!-- wp7 -->
    1.54 +    <platform name="wp7">
    1.55 +        <config-file target="config.xml" parent="/*">
    1.56 +            <feature name="Vibration">
    1.57 +                <param name="wp-package" value="Vibration"/>
    1.58 +            </feature>
    1.59 +        </config-file>
    1.60 +
    1.61 +        <source-file src="src/wp/Vibration.cs" />
    1.62 +    </platform>
    1.63 +
    1.64 +    <!-- wp8 -->
    1.65 +    <platform name="wp8">
    1.66 +        <config-file target="config.xml" parent="/*">
    1.67 +            <feature name="Vibration">
    1.68 +                <param name="wp-package" value="Vibration"/>
    1.69 +            </feature>
    1.70 +        </config-file>
    1.71 +
    1.72 +        <source-file src="src/wp/Vibration.cs" />
    1.73 +    </platform>
    1.74 +
    1.75 +    <!-- android -->
    1.76 +    <platform name="android">
    1.77 +        <config-file target="res/xml/config.xml" parent="/*">
    1.78 +            <feature name="Vibration">
    1.79 +                <param name="android-package" value="org.apache.cordova.vibration.Vibration"/>
    1.80 +            </feature>
    1.81 +        </config-file>
    1.82 +
    1.83 +        <source-file src="src/android/Vibration.java" target-dir="src/org/apache/cordova/vibration" />
    1.84 +
    1.85 +        <config-file target="AndroidManifest.xml" parent="/manifest">
    1.86 +            <uses-permission android:name="android.permission.VIBRATE"/>
    1.87 +        </config-file>
    1.88 +    </platform>
    1.89 +
    1.90 +    <!-- amazon-fireos -->
    1.91 +    <platform name="amazon-fireos">
    1.92 +        <config-file target="res/xml/config.xml" parent="/*">
    1.93 +            <feature name="Vibration">
    1.94 +                <param name="android-package" value="org.apache.cordova.vibration.Vibration"/>
    1.95 +            </feature>
    1.96 +        </config-file>
    1.97 +
    1.98 +        <source-file src="src/android/Vibration.java" target-dir="src/org/apache/cordova/vibration" />
    1.99 +
   1.100 +        <config-file target="AndroidManifest.xml" parent="/manifest">
   1.101 +            <uses-permission android:name="android.permission.VIBRATE"/>
   1.102 +        </config-file>
   1.103 +    </platform>
   1.104 +    
   1.105 +    <!-- ubuntu -->
   1.106 +    <platform name="ubuntu">
   1.107 +        <header-file src="src/ubuntu/vibration.h" />
   1.108 +        <source-file src="src/ubuntu/vibration.cpp" />
   1.109 +    </platform>
   1.110 +
   1.111 +    <!-- ios -->
   1.112 +    <platform name="ios">
   1.113 +        <config-file target="config.xml" parent="/*">
   1.114 +            <feature name="Vibration">
   1.115 +                <param name="ios-package" value="CDVVibration"/>
   1.116 +            </feature>
   1.117 +        </config-file>
   1.118 +        <header-file src="src/ios/CDVVibration.h" />
   1.119 +	    <source-file src="src/ios/CDVVibration.m" />
   1.120 +
   1.121 +		<framework src="AudioToolbox.framework" weak="true" />
   1.122 +    </platform>
   1.123 +	
   1.124 +    <!-- blackberry10 -->
   1.125 +    <platform name="blackberry10">
   1.126 +        <source-file src="src/blackberry10/index.js" target-dir="Vibration"/>
   1.127 +        <lib-file src="src/blackberry10/native/device/libVibration.so" arch="device" />
   1.128 +        <lib-file src="src/blackberry10/native/simulator/libVibration.so" arch="simulator" />
   1.129 +        <config-file target="www/config.xml" parent="/widget">
   1.130 +            <feature name="Vibration" value="Vibration" />
   1.131 +        </config-file>
   1.132 +    </platform>
   1.133 +
   1.134 +    <!-- tizen -->
   1.135 +    <platform name="tizen">
   1.136 +        <js-module src="src/tizen/VibrationProxy.js" name="VibrationProxy">
   1.137 +            <runs />
   1.138 +        </js-module>
   1.139 +    </platform>
   1.140 +</plugin>

mercurial