2013-04-03 06:42:06 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2014-04-17 04:17:53 +08:00
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
or more contributor license agreements. See the NOTICE file
|
|
|
|
distributed with this work for additional information
|
|
|
|
regarding copyright ownership. The ASF licenses this file
|
|
|
|
to you under the Apache License, Version 2.0 (the
|
|
|
|
"License"); you may not use this file except in compliance
|
|
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
|
|
software distributed under the License is distributed on an
|
|
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
KIND, either express or implied. See the License for the
|
|
|
|
specific language governing permissions and limitations
|
|
|
|
under the License.
|
|
|
|
-->
|
|
|
|
|
2013-07-25 05:37:20 +08:00
|
|
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2013-09-21 18:25:10 +08:00
|
|
|
id="org.apache.cordova.file-transfer"
|
2014-04-17 22:53:20 +08:00
|
|
|
version="0.4.3">
|
2013-04-03 06:42:06 +08:00
|
|
|
<name>File Transfer</name>
|
2013-07-31 06:32:15 +08:00
|
|
|
<description>Cordova File Transfer Plugin</description>
|
2013-08-07 05:52:52 +08:00
|
|
|
<license>Apache 2.0</license>
|
2013-07-31 06:32:15 +08:00
|
|
|
<keywords>cordova,file,transfer</keywords>
|
2013-10-22 07:47:46 +08:00
|
|
|
<repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git</repo>
|
|
|
|
<issue>https://issues.apache.org/jira/browse/CB/component/12320650</issue>
|
2013-04-03 06:42:06 +08:00
|
|
|
|
2013-12-14 00:42:34 +08:00
|
|
|
<!-- dependency id="org.apache.cordova.file@1" /-->
|
2014-02-19 04:25:01 +08:00
|
|
|
<dependency id="org.apache.cordova.file" version="1.0.1" />
|
2013-06-15 03:03:10 +08:00
|
|
|
|
2013-06-15 02:19:03 +08:00
|
|
|
<js-module src="www/FileTransferError.js" name="FileTransferError">
|
|
|
|
<clobbers target="window.FileTransferError" />
|
|
|
|
</js-module>
|
|
|
|
|
|
|
|
<js-module src="www/FileTransfer.js" name="FileTransfer">
|
|
|
|
<clobbers target="window.FileTransfer" />
|
|
|
|
</js-module>
|
2013-06-28 23:51:38 +08:00
|
|
|
|
2013-04-03 06:42:06 +08:00
|
|
|
<!-- android -->
|
|
|
|
<platform name="android">
|
2013-06-21 04:47:49 +08:00
|
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
|
|
<feature name="FileTransfer" >
|
2013-08-01 07:57:24 +08:00
|
|
|
<param name="android-package" value="org.apache.cordova.filetransfer.FileTransfer"/>
|
2013-06-21 04:47:49 +08:00
|
|
|
</feature>
|
2013-04-03 06:42:06 +08:00
|
|
|
</config-file>
|
|
|
|
|
2013-06-15 02:25:03 +08:00
|
|
|
<config-file target="AndroidManifest.xml" parent="/*">
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
</config-file>
|
2013-06-28 23:51:38 +08:00
|
|
|
|
2013-08-01 07:57:24 +08:00
|
|
|
<source-file src="src/android/FileTransfer.java" target-dir="src/org/apache/cordova/filetransfer" />
|
|
|
|
<source-file src="src/android/FileProgressResult.java" target-dir="src/org/apache/cordova/filetransfer" />
|
|
|
|
<source-file src="src/android/FileUploadResult.java" target-dir="src/org/apache/cordova/filetransfer" />
|
2013-04-03 06:42:06 +08:00
|
|
|
</platform>
|
2013-06-28 23:51:38 +08:00
|
|
|
|
2013-10-19 05:44:05 +08:00
|
|
|
<!-- amamzon-fireos -->
|
|
|
|
<platform name="amazon-fireos">
|
|
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
|
|
<feature name="FileTransfer" >
|
|
|
|
<param name="android-package" value="org.apache.cordova.filetransfer.FileTransfer"/>
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
|
|
|
|
<config-file target="AndroidManifest.xml" parent="/*">
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
</config-file>
|
|
|
|
|
|
|
|
<source-file src="src/amazon/FileTransfer.java" target-dir="src/org/apache/cordova/filetransfer" />
|
|
|
|
<source-file src="src/android/FileProgressResult.java" target-dir="src/org/apache/cordova/filetransfer" />
|
|
|
|
<source-file src="src/android/FileUploadResult.java" target-dir="src/org/apache/cordova/filetransfer" />
|
|
|
|
</platform>
|
|
|
|
|
2013-11-13 13:54:59 +08:00
|
|
|
<!-- ubuntu -->
|
|
|
|
<platform name="ubuntu">
|
|
|
|
<header-file src="src/ubuntu/file-transfer.h" />
|
|
|
|
<source-file src="src/ubuntu/file-transfer.cpp" />
|
|
|
|
</platform>
|
|
|
|
|
2013-06-28 23:51:38 +08:00
|
|
|
<platform name="blackberry10">
|
|
|
|
<config-file target="www/config.xml" parent="/widget">
|
|
|
|
<feature name="FileTransfer" value="FileTransfer"></feature>
|
|
|
|
</config-file>
|
|
|
|
<js-module src="www/blackberry10/FileTransfer.js" name="BB10FileTransfer">
|
|
|
|
<clobbers target="window.FileTransfer"></clobbers>
|
|
|
|
</js-module>
|
|
|
|
<js-module src="www/blackberry10/XHRImplementation.js" name="BB10XHRImplementation"></js-module>
|
|
|
|
</platform>
|
|
|
|
|
2013-06-15 02:17:18 +08:00
|
|
|
<!-- ios -->
|
2013-06-28 23:51:38 +08:00
|
|
|
<platform name="ios">
|
2013-06-15 02:17:18 +08:00
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="FileTransfer">
|
2013-06-28 23:51:38 +08:00
|
|
|
<param name="ios-package" value="CDVFileTransfer" />
|
2013-06-15 02:17:18 +08:00
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
<header-file src="src/ios/CDVFileTransfer.h" />
|
|
|
|
<source-file src="src/ios/CDVFileTransfer.m" />
|
2013-09-12 09:39:51 +08:00
|
|
|
|
2013-07-24 08:12:06 +08:00
|
|
|
<framework src="AssetsLibrary.framework" />
|
2013-06-28 23:51:38 +08:00
|
|
|
</platform>
|
2013-06-15 06:41:11 +08:00
|
|
|
|
|
|
|
<!-- wp7 -->
|
|
|
|
<platform name="wp7">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="FileTransfer">
|
|
|
|
<param name="wp-package" value="FileTransfer"/>
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
|
2013-07-09 06:46:03 +08:00
|
|
|
<source-file src="src/wp/FileTransfer.cs" />
|
2013-09-12 09:39:51 +08:00
|
|
|
|
|
|
|
<js-module src="www/wp7/base64.js" name="base64">
|
2013-09-14 00:38:48 +08:00
|
|
|
<clobbers target="window.FileTransferBase64" />
|
2013-09-12 09:39:51 +08:00
|
|
|
</js-module>
|
|
|
|
|
2013-06-25 06:25:23 +08:00
|
|
|
</platform>
|
|
|
|
|
|
|
|
<!-- wp8 -->
|
|
|
|
<platform name="wp8">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="FileTransfer">
|
|
|
|
<param name="wp-package" value="FileTransfer"/>
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
|
2013-07-09 06:46:03 +08:00
|
|
|
<source-file src="src/wp/FileTransfer.cs" />
|
2013-09-12 09:39:51 +08:00
|
|
|
|
2013-06-15 06:41:11 +08:00
|
|
|
</platform>
|
|
|
|
|
2013-07-31 09:19:25 +08:00
|
|
|
<!-- windows8 -->
|
|
|
|
<platform name="windows8">
|
|
|
|
<js-module src="www/windows8/FileTransferProxy.js" name="FileTransferProxy">
|
|
|
|
<clobbers target="" />
|
|
|
|
</js-module>
|
2013-09-12 09:39:51 +08:00
|
|
|
</platform>
|
2013-07-31 09:19:25 +08:00
|
|
|
|
2013-04-03 06:42:06 +08:00
|
|
|
</plugin>
|