Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

plugin.xml 9.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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:android="http://schemas.android.com/apk/res/android"
  20. id="cordova-plugin-file"
  21. version="6.0.2">
  22. <name>File</name>
  23. <description>Cordova File Plugin</description>
  24. <license>Apache 2.0</license>
  25. <keywords>cordova,file</keywords>
  26. <repo>https://github.com/apache/cordova-plugin-file</repo>
  27. <issue>https://github.com/apache/cordova-plugin-file/issues</issue>
  28. <engines>
  29. <engine name="cordova-android" version=">=6.3.0" />
  30. </engines>
  31. <js-module src="www/DirectoryEntry.js" name="DirectoryEntry">
  32. <clobbers target="window.DirectoryEntry" />
  33. </js-module>
  34. <js-module src="www/DirectoryReader.js" name="DirectoryReader">
  35. <clobbers target="window.DirectoryReader" />
  36. </js-module>
  37. <js-module src="www/Entry.js" name="Entry">
  38. <clobbers target="window.Entry" />
  39. </js-module>
  40. <js-module src="www/File.js" name="File">
  41. <clobbers target="window.File" />
  42. </js-module>
  43. <js-module src="www/FileEntry.js" name="FileEntry">
  44. <clobbers target="window.FileEntry" />
  45. </js-module>
  46. <js-module src="www/FileError.js" name="FileError">
  47. <clobbers target="window.FileError" />
  48. </js-module>
  49. <js-module src="www/FileReader.js" name="FileReader">
  50. <clobbers target="window.FileReader" />
  51. </js-module>
  52. <js-module src="www/FileSystem.js" name="FileSystem">
  53. <clobbers target="window.FileSystem" />
  54. </js-module>
  55. <js-module src="www/FileUploadOptions.js" name="FileUploadOptions">
  56. <clobbers target="window.FileUploadOptions" />
  57. </js-module>
  58. <js-module src="www/FileUploadResult.js" name="FileUploadResult">
  59. <clobbers target="window.FileUploadResult" />
  60. </js-module>
  61. <js-module src="www/FileWriter.js" name="FileWriter">
  62. <clobbers target="window.FileWriter" />
  63. </js-module>
  64. <js-module src="www/Flags.js" name="Flags">
  65. <clobbers target="window.Flags" />
  66. </js-module>
  67. <js-module src="www/LocalFileSystem.js" name="LocalFileSystem">
  68. <!-- Non-standards way -->
  69. <clobbers target="window.LocalFileSystem" />
  70. <!-- Standards-compliant way -->
  71. <merges target="window" />
  72. </js-module>
  73. <js-module src="www/Metadata.js" name="Metadata">
  74. <clobbers target="window.Metadata" />
  75. </js-module>
  76. <js-module src="www/ProgressEvent.js" name="ProgressEvent">
  77. <clobbers target="window.ProgressEvent" />
  78. </js-module>
  79. <js-module src="www/fileSystems.js" name="fileSystems" />
  80. <js-module src="www/requestFileSystem.js" name="requestFileSystem">
  81. <clobbers target="window.requestFileSystem" />
  82. </js-module>
  83. <js-module src="www/resolveLocalFileSystemURI.js" name="resolveLocalFileSystemURI">
  84. <merges target="window" />
  85. </js-module>
  86. <!-- Required for browserify: we always link module below as there is conditional reference
  87. to this module from requestFileSystem and resolveLocalFileSystemURI modules. -->
  88. <js-module src="www/browser/isChrome.js" name="isChrome">
  89. <runs />
  90. </js-module>
  91. <!-- android -->
  92. <platform name="android">
  93. <info>
  94. The Android Persistent storage location now defaults to "Internal". Please check this plugin's README to see if your application needs any changes in its config.xml.
  95. If this is a new application no changes are required.
  96. If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:
  97. "&lt;preference name="AndroidPersistentFileLocation" value="Compatibility" /&gt;"
  98. to config.xml in order for the application to find previously stored files.
  99. </info>
  100. <config-file target="res/xml/config.xml" parent="/*">
  101. <feature name="File" >
  102. <param name="android-package" value="org.apache.cordova.file.FileUtils"/>
  103. <param name="onload" value="true" />
  104. </feature>
  105. <allow-navigation href="cdvfile:*" />
  106. </config-file>
  107. <config-file target="AndroidManifest.xml" parent="/*">
  108. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  109. </config-file>
  110. <source-file src="src/android/EncodingException.java" target-dir="src/org/apache/cordova/file" />
  111. <source-file src="src/android/FileExistsException.java" target-dir="src/org/apache/cordova/file" />
  112. <source-file src="src/android/InvalidModificationException.java" target-dir="src/org/apache/cordova/file" />
  113. <source-file src="src/android/NoModificationAllowedException.java" target-dir="src/org/apache/cordova/file" />
  114. <source-file src="src/android/TypeMismatchException.java" target-dir="src/org/apache/cordova/file" />
  115. <source-file src="src/android/FileUtils.java" target-dir="src/org/apache/cordova/file" />
  116. <source-file src="src/android/DirectoryManager.java" target-dir="src/org/apache/cordova/file" />
  117. <source-file src="src/android/LocalFilesystemURL.java" target-dir="src/org/apache/cordova/file" />
  118. <source-file src="src/android/Filesystem.java" target-dir="src/org/apache/cordova/file" />
  119. <source-file src="src/android/LocalFilesystem.java" target-dir="src/org/apache/cordova/file" />
  120. <source-file src="src/android/ContentFilesystem.java" target-dir="src/org/apache/cordova/file" />
  121. <source-file src="src/android/AssetFilesystem.java" target-dir="src/org/apache/cordova/file" />
  122. <source-file src="src/android/PendingRequests.java" target-dir="src/org/apache/cordova/file" />
  123. <!-- android specific file apis -->
  124. <js-module src="www/android/FileSystem.js" name="androidFileSystem">
  125. <merges target="FileSystem" />
  126. </js-module>
  127. <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
  128. <runs/>
  129. </js-module>
  130. <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
  131. <merges target="cordova" />
  132. <runs/>
  133. </js-module>
  134. </platform>
  135. <!-- ios -->
  136. <platform name="ios">
  137. <config-file target="config.xml" parent="/*">
  138. <feature name="File">
  139. <param name="ios-package" value="CDVFile" />
  140. <param name="onload" value="true" />
  141. </feature>
  142. </config-file>
  143. <header-file src="src/ios/CDVFile.h" />
  144. <source-file src="src/ios/CDVFile.m" />
  145. <header-file src="src/ios/CDVLocalFilesystem.h" />
  146. <source-file src="src/ios/CDVLocalFilesystem.m" />
  147. <header-file src="src/ios/CDVAssetLibraryFilesystem.h" />
  148. <source-file src="src/ios/CDVAssetLibraryFilesystem.m" />
  149. <!-- ios specific file apis -->
  150. <js-module src="www/ios/FileSystem.js" name="iosFileSystem">
  151. <merges target="FileSystem" />
  152. </js-module>
  153. <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
  154. <runs/>
  155. </js-module>
  156. <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
  157. <merges target="cordova" />
  158. <runs/>
  159. </js-module>
  160. <framework src="AssetsLibrary.framework" />
  161. <framework src="MobileCoreServices.framework" />
  162. </platform>
  163. <!-- osx -->
  164. <platform name="osx">
  165. <config-file target="config.xml" parent="/*">
  166. <feature name="File">
  167. <param name="ios-package" value="CDVFile" />
  168. <param name="onload" value="true" />
  169. </feature>
  170. </config-file>
  171. <header-file src="src/osx/CDVFile.h" />
  172. <source-file src="src/osx/CDVFile.m" />
  173. <header-file src="src/osx/CDVLocalFilesystem.h" />
  174. <source-file src="src/osx/CDVLocalFilesystem.m" />
  175. <!-- osx specific file apis -->
  176. <js-module src="www/osx/FileSystem.js" name="osxFileSystem">
  177. <merges target="FileSystem" />
  178. </js-module>
  179. <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
  180. <runs/>
  181. </js-module>
  182. <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
  183. <merges target="cordova" />
  184. <runs/>
  185. </js-module>
  186. </platform>
  187. <!-- windows -->
  188. <platform name="windows">
  189. <js-module src="src/windows/FileProxy.js" name="FileProxy">
  190. <runs />
  191. </js-module>
  192. <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
  193. <merges target="cordova" />
  194. <runs/>
  195. </js-module>
  196. </platform>
  197. <platform name="browser">
  198. <!-- File for Chrome -->
  199. <js-module src="www/browser/Preparing.js" name="Preparing">
  200. <runs />
  201. </js-module>
  202. <js-module src="src/browser/FileProxy.js" name="browserFileProxy">
  203. <runs />
  204. </js-module>
  205. <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
  206. <merges target="cordova" />
  207. <runs />
  208. </js-module>
  209. <js-module src="www/browser/FileSystem.js" name="firefoxFileSystem">
  210. <merges target="window.FileSystem" />
  211. </js-module>
  212. </platform>
  213. </plugin>