Touchgui/plugins/org.apache.cordova.device/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:rim="http://www.blackberry.com/ns/widgets"
michael@0 23 xmlns:android="http://schemas.android.com/apk/res/android"
michael@0 24 id="org.apache.cordova.device"
michael@0 25 version="0.2.13">
michael@0 26 <name>Device</name>
michael@0 27 <description>Cordova Device Plugin</description>
michael@0 28 <license>Apache 2.0</license>
michael@0 29 <keywords>cordova,device</keywords>
michael@0 30 <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git</repo>
michael@0 31 <issue>https://issues.apache.org/jira/browse/CB/component/12320648</issue>
michael@0 32
michael@0 33 <js-module src="www/device.js" name="device">
michael@0 34 <clobbers target="device" />
michael@0 35 </js-module>
michael@0 36
michael@0 37 <!-- firefoxos -->
michael@0 38 <platform name="firefoxos">
michael@0 39 <config-file target="config.xml" parent="/*">
michael@0 40 <feature name="Device">
michael@0 41 <param name="firefoxos-package" value="Device" />
michael@0 42 </feature>
michael@0 43 </config-file>
michael@0 44
michael@0 45 <js-module src="src/firefoxos/DeviceProxy.js" name="DeviceProxy">
michael@0 46 <runs />
michael@0 47 </js-module>
michael@0 48 </platform>
michael@0 49
michael@0 50 <!-- tizen -->
michael@0 51 <platform name="tizen">
michael@0 52 <js-module src="src/tizen/DeviceProxy.js" name="DeviceProxy">
michael@0 53 <runs />
michael@0 54 </js-module>
michael@0 55 </platform>
michael@0 56
michael@0 57 <!-- android -->
michael@0 58 <platform name="android">
michael@0 59 <config-file target="res/xml/config.xml" parent="/*">
michael@0 60 <feature name="Device" >
michael@0 61 <param name="android-package" value="org.apache.cordova.device.Device"/>
michael@0 62 </feature>
michael@0 63 </config-file>
michael@0 64
michael@0 65 <source-file src="src/android/Device.java" target-dir="src/org/apache/cordova/device" />
michael@0 66 </platform>
michael@0 67
michael@0 68 <!-- amazon-fireos -->
michael@0 69 <platform name="amazon-fireos">
michael@0 70 <config-file target="res/xml/config.xml" parent="/*">
michael@0 71 <feature name="Device" >
michael@0 72 <param name="android-package" value="org.apache.cordova.device.Device"/>
michael@0 73 </feature>
michael@0 74 </config-file>
michael@0 75
michael@0 76 <source-file src="src/android/Device.java" target-dir="src/org/apache/cordova/device" />
michael@0 77 </platform>
michael@0 78
michael@0 79 <!-- ubuntu -->
michael@0 80 <platform name="ubuntu">
michael@0 81 <header-file src="src/ubuntu/device.h" />
michael@0 82 <source-file src="src/ubuntu/device.cpp" />
michael@0 83 <js-module src="src/ubuntu/device.js" name="DeviceProxy">
michael@0 84 <merges target="device" />
michael@0 85 </js-module>
michael@0 86 </platform>
michael@0 87
michael@0 88 <!-- ios -->
michael@0 89 <platform name="ios">
michael@0 90 <config-file target="config.xml" parent="/*">
michael@0 91 <feature name="Device">
michael@0 92 <param name="ios-package" value="CDVDevice"/>
michael@0 93 </feature>
michael@0 94 </config-file>
michael@0 95
michael@0 96 <header-file src="src/ios/CDVDevice.h" />
michael@0 97 <source-file src="src/ios/CDVDevice.m" />
michael@0 98 </platform>
michael@0 99
michael@0 100 <!-- blackberry10 -->
michael@0 101 <platform name="blackberry10">
michael@0 102 <source-file src="src/blackberry10/index.js" target-dir="Device" />
michael@0 103 <config-file target="www/config.xml" parent="/widget">
michael@0 104 <feature name="Device" value="Device"/>
michael@0 105 </config-file>
michael@0 106 <config-file target="www/config.xml" parent="/widget/rim:permissions">
michael@0 107 <rim:permit>read_device_identifying_information</rim:permit>
michael@0 108 </config-file>
michael@0 109 </platform>
michael@0 110
michael@0 111 <!-- wp7 -->
michael@0 112 <platform name="wp7">
michael@0 113 <config-file target="config.xml" parent="/*">
michael@0 114 <feature name="Device">
michael@0 115 <param name="wp-package" value="Device"/>
michael@0 116 </feature>
michael@0 117 </config-file>
michael@0 118
michael@0 119 <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
michael@0 120 <Capability Name="ID_CAP_IDENTITY_DEVICE" />
michael@0 121 </config-file>
michael@0 122
michael@0 123 <source-file src="src/wp/Device.cs" />
michael@0 124 </platform>
michael@0 125
michael@0 126 <!-- wp8 -->
michael@0 127 <platform name="wp8">
michael@0 128 <config-file target="config.xml" parent="/*">
michael@0 129 <feature name="Device">
michael@0 130 <param name="wp-package" value="Device"/>
michael@0 131 </feature>
michael@0 132 </config-file>
michael@0 133
michael@0 134 <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
michael@0 135 <Capability Name="ID_CAP_IDENTITY_DEVICE" />
michael@0 136 </config-file>
michael@0 137
michael@0 138 <source-file src="src/wp/Device.cs" />
michael@0 139 </platform>
michael@0 140
michael@0 141 <!-- windows8 -->
michael@0 142 <platform name="windows8">
michael@0 143 <js-module src="src/windows8/DeviceProxy.js" name="DeviceProxy">
michael@0 144 <merges target="" />
michael@0 145 </js-module>
michael@0 146 </platform>
michael@0 147
michael@0 148 <!-- windows -->
michael@0 149 <platform name="windows">
michael@0 150 <js-module src="src/windows/DeviceProxy.js" name="DeviceProxy">
michael@0 151 <merges target="" />
michael@0 152 </js-module>
michael@0 153 </platform>
michael@0 154
michael@0 155 <!-- browser -->
michael@0 156 <platform name="browser">
michael@0 157 <config-file target="config.xml" parent="/*">
michael@0 158 <feature name="Device">
michael@0 159 <param name="browser-package" value="Device" />
michael@0 160 </feature>
michael@0 161 </config-file>
michael@0 162
michael@0 163 <js-module src="src/browser/DeviceProxy.js" name="DeviceProxy">
michael@0 164 <runs />
michael@0 165 </js-module>
michael@0 166 </platform>
michael@0 167
michael@0 168 </plugin>

mercurial