44 Commits

Author SHA1 Message Date
Chris Dell
bcecac71af Merge branch 'feat/promisify' of https://github.com/grabbou/react-native-fs into grabbou-feat/promisify 2016-07-18 22:46:13 +01:00
Chris Dell
8e1975a4e1 progressDivider now defaults to 0 2016-06-30 00:14:18 +01:00
Chris Dell
3b7a83e6ee Separate appendFile, added flow types 2016-06-30 00:08:53 +01:00
Benjamin Christau
1dd6da59b2 Update RNFSManager Android file to handle append in the writeFile method. 2016-06-28 14:28:46 +02:00
Chris Dell
132fb4d6a0 Merge branch 'master' of https://github.com/kitolog/react-native-fs into kitolog-master 2016-06-08 17:52:08 +01:00
Chris Dell
7743cc116a Android redirect disconnect 2016-06-04 00:28:46 +01:00
Chris Dell
2627828193 Merge pull request #86 from prha/redirect
Add support for following 301/302 redirects on android
2016-06-04 00:17:46 +01:00
Chris Dell
9575ef9c27 downloadFile supports headers 2016-06-03 23:59:08 +01:00
Chris Dell
be45203b26 Changed downloadFile to use options, preparation for headers 2016-06-02 00:53:22 +01:00
kitolog
1bc9481a47 Added progressDivider 2016-05-31 12:46:03 +03:00
Nikita
39e356d1f8 Added Log import 2016-05-30 18:34:55 +03:00
Nikita
4cff926bd6 Emit every 10% of downloading progress 2016-05-30 18:33:48 +03:00
Mike Grabowski
9b053e1ad1 Use React Native from node_modules
It wasn't probably a desired behaviour. Since maven contains outdated React, that's why it was throwing that the DeviceEventEmitter is not there etc. After changing it to use the node_modules one, it works again and all classes that are available in the currently installed React are working.
2016-05-20 06:27:22 +02:00
Johannes Lumpe
c432a6bf7e Merge pull request #91 from grabbou/feat/optimise-subs
Fixes #90
2016-05-19 14:02:40 +03:00
Mike Grabowski
21d635deae Hotfix semicolon 2016-05-19 09:39:19 +02:00
Mike Grabowski
bdeda5ef36 Fixes 2016-05-14 23:42:57 +02:00
Mike Grabowski
f90ec05119 Initial commit 2016-05-14 23:19:27 +02:00
Mike Grabowski
3285c3d3e8 Do not return code 2016-05-14 23:14:22 +02:00
Mike Grabowski
fac71d5ba6 Fix ex being undefined 2016-05-14 22:59:30 +02:00
Mike Grabowski
ed09935d74 Use react from node_modules 2016-05-14 22:57:05 +02:00
Mike Grabowski
7ac79c5384 Fix writeFile resolve argument 2016-05-14 22:55:08 +02:00
Mike Grabowski
3f0f291002 Android part - untested yet 2016-05-14 22:53:51 +02:00
Phil Rha
5d1a201a0c Add support for following 301/302 redirects on android 2016-05-06 15:16:06 -07:00
Chris Dell
01d43a011a getFSInfo changed to use JS serializable WritableMap instead of HashMap 2016-05-03 21:35:14 +01:00
Kyle Corbitt
33d637e42e new getFSInfo command 2016-05-03 21:25:33 +01:00
Chris Dell
c764d1586b Merge pull request #66 from veeloinc/master
Give android access to getExternalFilesDir
2016-04-13 16:39:24 +01:00
Chris Dell
23a85af821 Merge pull request #68 from charpeni/jobId-progress-callback
Add property jobId to progressCallback
2016-04-13 16:37:59 +01:00
Alex Rothberg
a9ec918310 Call HttpURLConnection::disconnect when done reading response 2016-04-12 10:53:21 -04:00
Nicolas Charpentier
8a20d6ff08 Add property jobId to progressCallback 2016-04-07 15:29:36 -04:00
Martin Chase
a063f23ed9 connected ExternalDirectoryPath constant to getExternalFilesDir (null for iOS) 2016-03-31 16:16:45 -07:00
Mike Corbin
f5f0521d65 downloadFile: avoid connecting twice for each download on Android
A connection already exists to fetch HTTP headers, so use that to complete the
download instead of making a second connection.
2016-03-19 08:12:06 +00:00
Chris Dell
65e81a07fe Merge pull request #48 from iwater/master
add exist method
2016-03-17 19:35:05 +00:00
iwater
f3dd33c003 rename exist to exists 2016-01-29 02:20:02 +08:00
iwater
dd320b3a5a add exist method 2016-01-28 21:36:31 +08:00
Kyle Corbitt
0fd5e85955 moveFile android 2016-01-27 16:53:14 +00:00
loox
ff77082f45 require for write permission on external storage 2016-01-05 12:28:56 +01:00
loox
cc6d63901b adding Caches and Pictures directory to constants in Android 2016-01-05 12:24:42 +01:00
Chris Dell
b603084ce7 Refactored downloadFile, added stopDownload 2015-11-23 16:30:27 +00:00
Chris Dell
a8d834fabc downloadFile now has progress callback 2015-11-20 00:16:13 +00:00
Chris Dell
cdd19cd0ae Android downloadFile implementation is now an AsyncTask 2015-10-26 00:26:03 +00:00
Chris Dell
3d6717456d readDir now uniform, new encoding types 2015-10-22 01:25:52 +01:00
Chris Dell
d83d0f531e Added downloadFile method 2015-10-21 00:17:03 +01:00
Chris Dell
409a9ce79c Added mkdir, unlink can now recurse 2015-10-20 23:31:29 +01:00
Chris Dell
3e076ba55b Experimental Android support 2015-10-19 14:40:05 +01:00