1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Touchgui/plugins/org.apache.cordova.device/plugin.xml Thu Jun 04 14:50:33 2015 +0200 1.3 @@ -0,0 +1,168 @@ 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:rim="http://www.blackberry.com/ns/widgets" 1.26 + xmlns:android="http://schemas.android.com/apk/res/android" 1.27 + id="org.apache.cordova.device" 1.28 + version="0.2.13"> 1.29 + <name>Device</name> 1.30 + <description>Cordova Device Plugin</description> 1.31 + <license>Apache 2.0</license> 1.32 + <keywords>cordova,device</keywords> 1.33 + <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git</repo> 1.34 + <issue>https://issues.apache.org/jira/browse/CB/component/12320648</issue> 1.35 + 1.36 + <js-module src="www/device.js" name="device"> 1.37 + <clobbers target="device" /> 1.38 + </js-module> 1.39 + 1.40 + <!-- firefoxos --> 1.41 + <platform name="firefoxos"> 1.42 + <config-file target="config.xml" parent="/*"> 1.43 + <feature name="Device"> 1.44 + <param name="firefoxos-package" value="Device" /> 1.45 + </feature> 1.46 + </config-file> 1.47 + 1.48 + <js-module src="src/firefoxos/DeviceProxy.js" name="DeviceProxy"> 1.49 + <runs /> 1.50 + </js-module> 1.51 + </platform> 1.52 + 1.53 + <!-- tizen --> 1.54 + <platform name="tizen"> 1.55 + <js-module src="src/tizen/DeviceProxy.js" name="DeviceProxy"> 1.56 + <runs /> 1.57 + </js-module> 1.58 + </platform> 1.59 + 1.60 + <!-- android --> 1.61 + <platform name="android"> 1.62 + <config-file target="res/xml/config.xml" parent="/*"> 1.63 + <feature name="Device" > 1.64 + <param name="android-package" value="org.apache.cordova.device.Device"/> 1.65 + </feature> 1.66 + </config-file> 1.67 + 1.68 + <source-file src="src/android/Device.java" target-dir="src/org/apache/cordova/device" /> 1.69 + </platform> 1.70 + 1.71 + <!-- amazon-fireos --> 1.72 + <platform name="amazon-fireos"> 1.73 + <config-file target="res/xml/config.xml" parent="/*"> 1.74 + <feature name="Device" > 1.75 + <param name="android-package" value="org.apache.cordova.device.Device"/> 1.76 + </feature> 1.77 + </config-file> 1.78 + 1.79 + <source-file src="src/android/Device.java" target-dir="src/org/apache/cordova/device" /> 1.80 + </platform> 1.81 + 1.82 + <!-- ubuntu --> 1.83 + <platform name="ubuntu"> 1.84 + <header-file src="src/ubuntu/device.h" /> 1.85 + <source-file src="src/ubuntu/device.cpp" /> 1.86 + <js-module src="src/ubuntu/device.js" name="DeviceProxy"> 1.87 + <merges target="device" /> 1.88 + </js-module> 1.89 + </platform> 1.90 + 1.91 + <!-- ios --> 1.92 + <platform name="ios"> 1.93 + <config-file target="config.xml" parent="/*"> 1.94 + <feature name="Device"> 1.95 + <param name="ios-package" value="CDVDevice"/> 1.96 + </feature> 1.97 + </config-file> 1.98 + 1.99 + <header-file src="src/ios/CDVDevice.h" /> 1.100 + <source-file src="src/ios/CDVDevice.m" /> 1.101 + </platform> 1.102 + 1.103 + <!-- blackberry10 --> 1.104 + <platform name="blackberry10"> 1.105 + <source-file src="src/blackberry10/index.js" target-dir="Device" /> 1.106 + <config-file target="www/config.xml" parent="/widget"> 1.107 + <feature name="Device" value="Device"/> 1.108 + </config-file> 1.109 + <config-file target="www/config.xml" parent="/widget/rim:permissions"> 1.110 + <rim:permit>read_device_identifying_information</rim:permit> 1.111 + </config-file> 1.112 + </platform> 1.113 + 1.114 + <!-- wp7 --> 1.115 + <platform name="wp7"> 1.116 + <config-file target="config.xml" parent="/*"> 1.117 + <feature name="Device"> 1.118 + <param name="wp-package" value="Device"/> 1.119 + </feature> 1.120 + </config-file> 1.121 + 1.122 + <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities"> 1.123 + <Capability Name="ID_CAP_IDENTITY_DEVICE" /> 1.124 + </config-file> 1.125 + 1.126 + <source-file src="src/wp/Device.cs" /> 1.127 + </platform> 1.128 + 1.129 + <!-- wp8 --> 1.130 + <platform name="wp8"> 1.131 + <config-file target="config.xml" parent="/*"> 1.132 + <feature name="Device"> 1.133 + <param name="wp-package" value="Device"/> 1.134 + </feature> 1.135 + </config-file> 1.136 + 1.137 + <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities"> 1.138 + <Capability Name="ID_CAP_IDENTITY_DEVICE" /> 1.139 + </config-file> 1.140 + 1.141 + <source-file src="src/wp/Device.cs" /> 1.142 + </platform> 1.143 + 1.144 + <!-- windows8 --> 1.145 + <platform name="windows8"> 1.146 + <js-module src="src/windows8/DeviceProxy.js" name="DeviceProxy"> 1.147 + <merges target="" /> 1.148 + </js-module> 1.149 + </platform> 1.150 + 1.151 + <!-- windows --> 1.152 + <platform name="windows"> 1.153 + <js-module src="src/windows/DeviceProxy.js" name="DeviceProxy"> 1.154 + <merges target="" /> 1.155 + </js-module> 1.156 + </platform> 1.157 + 1.158 + <!-- browser --> 1.159 + <platform name="browser"> 1.160 + <config-file target="config.xml" parent="/*"> 1.161 + <feature name="Device"> 1.162 + <param name="browser-package" value="Device" /> 1.163 + </feature> 1.164 + </config-file> 1.165 + 1.166 + <js-module src="src/browser/DeviceProxy.js" name="DeviceProxy"> 1.167 + <runs /> 1.168 + </js-module> 1.169 + </platform> 1.170 + 1.171 +</plugin>