Repositorio del curso CCOM4030 el semestre B91 del proyecto kilometro0

plugin.xml 9.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements. See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership. The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing,
  12. software distributed under the License is distributed on an
  13. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. KIND, either express or implied. See the License for the
  15. specific language governing permissions and limitations
  16. under the License.
  17. -->
  18. <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
  19. xmlns:rim="http://www.blackberry.com/ns/widgets"
  20. xmlns:android="http://schemas.android.com/apk/res/android"
  21. xmlns:m3="http://schemas.microsoft.com/appx/2014/manifest"
  22. xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
  23. id="cordova-plugin-contacts"
  24. version="3.0.1">
  25. <name>Contacts</name>
  26. <description>Cordova Contacts Plugin</description>
  27. <license>Apache 2.0</license>
  28. <keywords>cordova,contacts</keywords>
  29. <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts.git</repo>
  30. <issue>https://issues.apache.org/jira/browse/CB/component/12320652</issue>
  31. <engines>
  32. <engine name="cordova-android" version=">=6.3.0" />
  33. </engines>
  34. <js-module src="www/contacts.js" name="contacts">
  35. <clobbers target="navigator.contacts" />
  36. </js-module>
  37. <js-module src="www/Contact.js" name="Contact">
  38. <clobbers target="Contact" />
  39. </js-module>
  40. <js-module src="www/convertUtils.js" name="convertUtils">
  41. </js-module>
  42. <js-module src="www/ContactAddress.js" name="ContactAddress">
  43. <clobbers target="ContactAddress" />
  44. </js-module>
  45. <js-module src="www/ContactError.js" name="ContactError">
  46. <clobbers target="ContactError" />
  47. </js-module>
  48. <js-module src="www/ContactField.js" name="ContactField">
  49. <clobbers target="ContactField" />
  50. </js-module>
  51. <js-module src="www/ContactFindOptions.js" name="ContactFindOptions">
  52. <clobbers target="ContactFindOptions" />
  53. </js-module>
  54. <js-module src="www/ContactName.js" name="ContactName">
  55. <clobbers target="ContactName" />
  56. </js-module>
  57. <js-module src="www/ContactOrganization.js" name="ContactOrganization">
  58. <clobbers target="ContactOrganization" />
  59. </js-module>
  60. <js-module src="www/ContactFieldType.js" name="ContactFieldType">
  61. <merges target="" />
  62. </js-module>
  63. <!-- android -->
  64. <platform name="android">
  65. <config-file target="res/xml/config.xml" parent="/*">
  66. <feature name="Contacts">
  67. <param name="android-package" value="org.apache.cordova.contacts.ContactManager"/>
  68. </feature>
  69. </config-file>
  70. <config-file target="AndroidManifest.xml" parent="/*">
  71. <uses-permission android:name="android.permission.READ_CONTACTS" />
  72. <uses-permission android:name="android.permission.WRITE_CONTACTS" />
  73. <uses-permission android:name="android.permission.GET_ACCOUNTS" />
  74. </config-file>
  75. <source-file src="src/android/ContactAccessor.java" target-dir="src/org/apache/cordova/contacts" />
  76. <source-file src="src/android/ContactAccessorSdk5.java" target-dir="src/org/apache/cordova/contacts" />
  77. <source-file src="src/android/ContactManager.java" target-dir="src/org/apache/cordova/contacts" />
  78. <source-file src="src/android/ContactInfoDTO.java" target-dir="src/org/apache/cordova/contacts" />
  79. </platform>
  80. <!-- amazon-fireos -->
  81. <platform name="amazon-fireos">
  82. <config-file target="res/xml/config.xml" parent="/*">
  83. <feature name="Contacts">
  84. <param name="android-package" value="org.apache.cordova.contacts.ContactManager"/>
  85. </feature>
  86. </config-file>
  87. <config-file target="AndroidManifest.xml" parent="/*">
  88. <uses-permission android:name="android.permission.READ_CONTACTS" />
  89. <uses-permission android:name="android.permission.WRITE_CONTACTS" />
  90. <uses-permission android:name="android.permission.GET_ACCOUNTS" />
  91. </config-file>
  92. <source-file src="src/android/ContactAccessor.java" target-dir="src/org/apache/cordova/contacts" />
  93. <source-file src="src/android/ContactAccessorSdk5.java" target-dir="src/org/apache/cordova/contacts" />
  94. <source-file src="src/android/ContactManager.java" target-dir="src/org/apache/cordova/contacts" />
  95. </platform>
  96. <!-- ubuntu -->
  97. <platform name="ubuntu">
  98. <config-file target="config.xml" parent="/*">
  99. <feature name="Contacts">
  100. <param policy_group="contacts" policy_version="1" />
  101. </feature>
  102. </config-file>
  103. <header-file src="src/ubuntu/contacts.h" />
  104. <source-file src="src/ubuntu/contacts.cpp" />
  105. </platform>
  106. <!-- ios -->
  107. <platform name="ios">
  108. <config-file target="config.xml" parent="/*">
  109. <feature name="Contacts">
  110. <param name="ios-package" value="CDVContacts"/>
  111. </feature>
  112. </config-file>
  113. <js-module src="www/ios/contacts.js" name="contacts-ios">
  114. <merges target="navigator.contacts" />
  115. </js-module>
  116. <js-module src="www/ios/Contact.js" name="Contact-iOS">
  117. <merges target="Contact" />
  118. </js-module>
  119. <header-file src="src/ios/CDVContacts.h" />
  120. <source-file src="src/ios/CDVContacts.m" />
  121. <header-file src="src/ios/CDVContact.h" />
  122. <source-file src="src/ios/CDVContact.m" />
  123. <framework src="AddressBook.framework" weak="true" />
  124. <framework src="AddressBookUI.framework" weak="true" />
  125. <framework src="CoreGraphics.framework" />
  126. </platform>
  127. <!-- Browser -->
  128. <platform name="browser">
  129. <js-module src="src/browser/ContactsProxy.js" name="ContactsProxy">
  130. <merges target="navigator.contacts" />
  131. </js-module>
  132. </platform>
  133. <!-- blackberry10 -->
  134. <platform name="blackberry10">
  135. <config-file target="www/config.xml" parent="/widget">
  136. <feature name="Contacts" value="Contacts"/>
  137. </config-file>
  138. <config-file target="www/config.xml" parent="/widget/rim:permissions">
  139. <rim:permit>access_pimdomain_contacts</rim:permit>
  140. </config-file>
  141. <source-file src="src/blackberry10/index.js" target-dir="Contacts"></source-file>
  142. <source-file src="src/blackberry10/ContactActivity.js" target-dir="Contacts"></source-file>
  143. <source-file src="src/blackberry10/ContactAddress.js" target-dir="Contacts"></source-file>
  144. <source-file src="src/blackberry10/contactConsts.js" target-dir="Contacts"></source-file>
  145. <source-file src="src/blackberry10/ContactError.js" target-dir="Contacts"></source-file>
  146. <source-file src="src/blackberry10/ContactField.js" target-dir="Contacts"></source-file>
  147. <source-file src="src/blackberry10/ContactFindOptions.js" target-dir="Contacts"></source-file>
  148. <source-file src="src/blackberry10/ContactName.js" target-dir="Contacts"></source-file>
  149. <source-file src="src/blackberry10/ContactNews.js" target-dir="Contacts"></source-file>
  150. <source-file src="src/blackberry10/ContactOrganization.js" target-dir="Contacts"></source-file>
  151. <source-file src="src/blackberry10/ContactPhoto.js" target-dir="Contacts"></source-file>
  152. <source-file src="src/blackberry10/contactUtils.js" target-dir="Contacts"></source-file>
  153. <dependency id="cordova-plugin-bb-contacts" />
  154. <dependency id="cordova-plugin-bb-pimlib" />
  155. </platform>
  156. <!-- wp8 -->
  157. <platform name="wp8">
  158. <config-file target="config.xml" parent="/*">
  159. <feature name="Contacts">
  160. <param name="wp-package" value="Contacts"/>
  161. </feature>
  162. </config-file>
  163. <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
  164. <Capability Name="ID_CAP_CONTACTS" />
  165. </config-file>
  166. <source-file src="src/wp/Contacts.cs" />
  167. <source-file src="src/wp/ContactsHelper.cs" />
  168. <source-file src="src/wp/ContactPicker.xaml" />
  169. <source-file src="src/wp/ContactPicker.xaml.cs" />
  170. <source-file src="src/wp/ContactPickerTask.cs" />
  171. </platform>
  172. <!-- firefoxos -->
  173. <platform name="firefoxos">
  174. <config-file target="config.xml" parent="/*">
  175. <permission name="contacts" access="readwrite" description="Required for accessing address book."
  176. privileged="true"/>
  177. </config-file>
  178. <js-module src="src/firefoxos/ContactsProxy.js" name="ContactsProxy">
  179. <runs />
  180. </js-module>
  181. </platform>
  182. <!-- Windows 8 -->
  183. <platform name="windows8">
  184. <js-module src="src/windows8/ContactProxy.js" name="ContactProxy">
  185. <runs />
  186. </js-module>
  187. </platform>
  188. <!-- Windows -->
  189. <platform name="windows">
  190. <js-module src="src/windows/ContactProxy.js" name="ContactProxy">
  191. <runs />
  192. </js-module>
  193. <config-file target="package.phone.appxmanifest" parent="/Package/Capabilities">
  194. <m3:Capability Name="contacts" />
  195. </config-file>
  196. <config-file target="package.appxmanifest" parent="/Package/Capabilities" versions=">=10.0.0">
  197. <uap:Capability Name="contacts" />
  198. </config-file>
  199. </platform>
  200. </plugin>