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

Thu, 04 Jun 2015 14:50:33 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Jun 2015 14:50:33 +0200
changeset 0
e8ccd40d0ef6
permissions
-rw-r--r--

Genesis of lecture sources for Droidcon Berlin 2015 in Postbahnhof.

michael@0 1 <?xml version="1.0" encoding="UTF-8"?>
michael@0 2 <!--
michael@0 3 Licensed to the Apache Software Foundation (ASF) under one
michael@0 4 or more contributor license agreements. See the NOTICE file
michael@0 5 distributed with this work for additional information
michael@0 6 regarding copyright ownership. The ASF licenses this file
michael@0 7 to you under the Apache License, Version 2.0 (the
michael@0 8 "License"); you may not use this file except in compliance
michael@0 9 with the License. You may obtain a copy of the License at
michael@0 10
michael@0 11 http://www.apache.org/licenses/LICENSE-2.0
michael@0 12
michael@0 13 Unless required by applicable law or agreed to in writing,
michael@0 14 software distributed under the License is distributed on an
michael@0 15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
michael@0 16 KIND, either express or implied. See the License for the
michael@0 17 specific language governing permissions and limitations
michael@0 18 under the License.
michael@0 19 -->
michael@0 20
michael@0 21 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
michael@0 22 xmlns:android="http://schemas.android.com/apk/res/android"
michael@0 23 id="org.apache.cordova.vibration"
michael@0 24 version="0.3.12">
michael@0 25
michael@0 26 <name>Vibration</name>
michael@0 27 <description>Cordova Vibration Plugin</description>
michael@0 28 <license>Apache 2.0</license>
michael@0 29 <keywords>cordova,vibration</keywords>
michael@0 30 <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration.git</repo>
michael@0 31 <issue>https://issues.apache.org/jira/browse/CB/component/12320639</issue>
michael@0 32
michael@0 33 <js-module src="www/vibration.js" name="notification">
michael@0 34 <merges target="navigator.notification" />
michael@0 35 <merges target="navigator" />
michael@0 36 </js-module>
michael@0 37
michael@0 38 <!-- firefoxos -->
michael@0 39 <platform name="firefoxos">
michael@0 40 <config-file target="www/config.xml" parent="/*">
michael@0 41 <feature name="Vibration">
michael@0 42 <param name="firefoxos-package" value="Vibration" />
michael@0 43 </feature>
michael@0 44 </config-file>
michael@0 45 <js-module src="src/firefoxos/VibrationProxy.js" name="VibrationProxy">
michael@0 46 <runs />
michael@0 47 </js-module>
michael@0 48 </platform>
michael@0 49
michael@0 50 <!-- wp7 -->
michael@0 51 <platform name="wp7">
michael@0 52 <config-file target="config.xml" parent="/*">
michael@0 53 <feature name="Vibration">
michael@0 54 <param name="wp-package" value="Vibration"/>
michael@0 55 </feature>
michael@0 56 </config-file>
michael@0 57
michael@0 58 <source-file src="src/wp/Vibration.cs" />
michael@0 59 </platform>
michael@0 60
michael@0 61 <!-- wp8 -->
michael@0 62 <platform name="wp8">
michael@0 63 <config-file target="config.xml" parent="/*">
michael@0 64 <feature name="Vibration">
michael@0 65 <param name="wp-package" value="Vibration"/>
michael@0 66 </feature>
michael@0 67 </config-file>
michael@0 68
michael@0 69 <source-file src="src/wp/Vibration.cs" />
michael@0 70 </platform>
michael@0 71
michael@0 72 <!-- android -->
michael@0 73 <platform name="android">
michael@0 74 <config-file target="res/xml/config.xml" parent="/*">
michael@0 75 <feature name="Vibration">
michael@0 76 <param name="android-package" value="org.apache.cordova.vibration.Vibration"/>
michael@0 77 </feature>
michael@0 78 </config-file>
michael@0 79
michael@0 80 <source-file src="src/android/Vibration.java" target-dir="src/org/apache/cordova/vibration" />
michael@0 81
michael@0 82 <config-file target="AndroidManifest.xml" parent="/manifest">
michael@0 83 <uses-permission android:name="android.permission.VIBRATE"/>
michael@0 84 </config-file>
michael@0 85 </platform>
michael@0 86
michael@0 87 <!-- amazon-fireos -->
michael@0 88 <platform name="amazon-fireos">
michael@0 89 <config-file target="res/xml/config.xml" parent="/*">
michael@0 90 <feature name="Vibration">
michael@0 91 <param name="android-package" value="org.apache.cordova.vibration.Vibration"/>
michael@0 92 </feature>
michael@0 93 </config-file>
michael@0 94
michael@0 95 <source-file src="src/android/Vibration.java" target-dir="src/org/apache/cordova/vibration" />
michael@0 96
michael@0 97 <config-file target="AndroidManifest.xml" parent="/manifest">
michael@0 98 <uses-permission android:name="android.permission.VIBRATE"/>
michael@0 99 </config-file>
michael@0 100 </platform>
michael@0 101
michael@0 102 <!-- ubuntu -->
michael@0 103 <platform name="ubuntu">
michael@0 104 <header-file src="src/ubuntu/vibration.h" />
michael@0 105 <source-file src="src/ubuntu/vibration.cpp" />
michael@0 106 </platform>
michael@0 107
michael@0 108 <!-- ios -->
michael@0 109 <platform name="ios">
michael@0 110 <config-file target="config.xml" parent="/*">
michael@0 111 <feature name="Vibration">
michael@0 112 <param name="ios-package" value="CDVVibration"/>
michael@0 113 </feature>
michael@0 114 </config-file>
michael@0 115 <header-file src="src/ios/CDVVibration.h" />
michael@0 116 <source-file src="src/ios/CDVVibration.m" />
michael@0 117
michael@0 118 <framework src="AudioToolbox.framework" weak="true" />
michael@0 119 </platform>
michael@0 120
michael@0 121 <!-- blackberry10 -->
michael@0 122 <platform name="blackberry10">
michael@0 123 <source-file src="src/blackberry10/index.js" target-dir="Vibration"/>
michael@0 124 <lib-file src="src/blackberry10/native/device/libVibration.so" arch="device" />
michael@0 125 <lib-file src="src/blackberry10/native/simulator/libVibration.so" arch="simulator" />
michael@0 126 <config-file target="www/config.xml" parent="/widget">
michael@0 127 <feature name="Vibration" value="Vibration" />
michael@0 128 </config-file>
michael@0 129 </platform>
michael@0 130
michael@0 131 <!-- tizen -->
michael@0 132 <platform name="tizen">
michael@0 133 <js-module src="src/tizen/VibrationProxy.js" name="VibrationProxy">
michael@0 134 <runs />
michael@0 135 </js-module>
michael@0 136 </platform>
michael@0 137 </plugin>

mercurial