Nicolas Morel
22e0c70641
Add nil check on download completion callback
2016-10-13 12:42:56 +02:00
Chris Dell
0b47ced162
Fix getExternalStorageDirectory
2016-08-10 20:07:04 +01:00
Chris Dell
29f58f1560
Removed NS prefixes to avoid confusion
2016-08-10 19:53:24 +01:00
Chris Dell
333de79eae
Merge pull request #140 from IjzerenHein/feature-fix-duplicate-symbols
...
Fixed iOS duplicate symbol errors with other plugins
2016-08-09 21:44:01 +01:00
Chris Dell
3564b6b22e
Removed attributes, cleaned up README
2016-08-02 20:15:06 +01:00
Chris Dell
03a61b681b
stopDownload rejects promise
2016-08-02 19:38:22 +01:00
Chris Dell
75a25f693a
Android passing tests
2016-08-01 19:36:33 +01:00
Chris Dell
6b78d94ef6
Working towards V2
2016-07-27 00:15:41 +01:00
IjzerenHein
b26fb5fd8f
Fixed symbol collision errors with other plugins by adding RNFS prefix to Download & Upload classes
...
The Uploader & Downloader classes cause linker errors with other plugins that also implement classes that are called Uploader or Downloader. E.g. this happens when using react-native-fs in combination with Firebase Crash reporting.
Basically both plugins are at fault for not implementing unique class names. This commit adds the RNFS prefix for these classes.
2016-07-21 09:59:37 +02:00
Chris Dell
b3cef00673
Merge branch 'grabbou-feat/promisify'
2016-07-18 23:15:07 +01:00
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
Andrew Shini
838e39d984
Add copyFile
2016-07-03 20:10:24 +10:00
Chris Dell
3b7a83e6ee
Separate appendFile, added flow types
2016-06-30 00:08:53 +01:00
Benjamin
874224400c
Update RNFSManager writeFile method to handle attributes. You can now append data to a file with the 'append' attribute.
2016-06-22 11:05:47 +02:00
Chris Dell
8377bafe72
Added alternative body
property to return of uploadFiles
2016-06-15 12:01:34 +01:00
Chris Dell
c33d6bf368
uploadFiles response compatibility
2016-06-15 11:33:35 +01:00
Ruoyu Sun
951a93a33a
1. Return statusCode, headers for uploadFiles method
...
2. Fix README
2016-06-15 17:51:43 +08:00
Chris Dell
62d3fffc84
Merge branch 'kitolog-master'
2016-06-08 17:52:59 +01: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
Li Jie
0766dc3039
Fix typo
2016-06-06 18:52:45 +08:00
Chris Dell
be45203b26
Changed downloadFile to use options, preparation for headers
2016-06-02 00:53:22 +01:00
Aaron Franks
3268c3dc89
Add JS API and docs for background downloads ( #80 )
2016-06-02 00:53:22 +01:00
kitolog
1bc9481a47
Added progressDivider
2016-05-31 12:46:03 +03:00
Chris Dell
feb0df0113
Manually merged uploadFiles
2016-05-30 23:13:50 +01:00
Mike Grabowski
70b5cddd97
Clean up the diff
...
Indent was fixed in another PR
2016-05-14 23:45:12 +02:00
Mike Grabowski
7bf7c0bca1
Add tmp path
2016-05-14 23:41:01 +02:00
Mike Grabowski
e12cc5a95d
Indent
2016-05-14 22:29:17 +02:00
Mike Grabowski
4977508b36
iOS and JS
2016-05-14 22:25:04 +02: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
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
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
Chris Dell
9a4c2d890f
Merge pull request #47 from corbt/move-file
...
Add moveFile with Android support
2016-01-27 17:12:45 +00:00
Kyle Corbitt
0fd5e85955
moveFile android
2016-01-27 16:53:14 +00:00
Horcrux
0132efc867
switch key value position
...
switch key value position
2016-01-20 13:42:04 +08:00
Horcrux
65ab7914b3
fix error caused by bytesWritten
is null
...
fix error caused by `bytesWritten` is null
2016-01-20 12:00:34 +08:00
Asa Miller
ce2d714c31
add move file method
2016-01-16 10:52:56 -08:00
TakiuchiGenki
f4a5add4c4
Added LibraryDirectoryPath.
2015-12-02 11:04:09 +09:00
Chris Dell
97f6eba9c1
downloadFile missing code
2015-11-23 17:09:32 +00: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
5fbeb83a66
iOS downloadFile implementation now async
2015-11-19 00:21:51 +00:00
Chris Dell
354a218573
Removed dir enums, updated readme
2015-10-23 00:13:12 +01: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
Tj
d07ce53bd2
Adding error if file is not found.
2015-08-27 13:42:35 -04:00