389 Commits

Author SHA1 Message Date
Thomas Beverley
76981d0dba Merged upstream 2017-01-30 13:08:03 +00:00
Kevin Leung
50eb612e48 Handle 307/308 redirect 2017-01-27 16:03:34 +08:00
dasha
9f4192f014 set response statuscode even if content length is zero 2017-01-24 14:43:39 +02:00
Chris Dell
e212728104 Merge pull request #214 from ghinwallc/bug-fix/use-existing-nsurlsessiontaskdelegate-method
Use existing NSURLSessionTaskDelegate method
2017-01-14 22:39:22 +00:00
Johannes Lumpe
8c9c49b398 Merge pull request #235 from baskan/patch-1
Update README.md
2017-01-11 15:46:40 -05:00
Ilkin Baskan
22027abd90 Update README.md
update readme npm install instructions acording to #223 breaking changes. 
new users should be informed.
2017-01-11 22:37:32 +02:00
Johannes Lumpe
6232d4e392 pre-release v2.1.0-rc.1 2017-01-10 12:42:00 -05:00
Johannes Lumpe
62e1301207 bump to 2.0.1-rc.3 2017-01-10 12:38:34 -05:00
Ben Clayton
affdca0c41 Update devDependencies for React Native 0.40.0
See discussion in #234
v2.1.0.rc.1
2017-01-10 16:19:00 +00:00
Jeff Hanson
fe2374bff3 add support for react-native v0.40.0 (#229) 2017-01-10 16:09:17 +00:00
Johannes Lumpe
47cab65464 Merge pull request #227 from aforty/patch-1
Fix ctime/utime attributes on .stat()
2016-12-30 10:10:21 -05:00
Arno Fortelny
18ca86e3f5 Fix ctime/utime attributes on .stat()
This fixes the .stat() results so that ctime/utime come through as expected. Looks like it was just an oversight. Fixes #222.
2016-12-29 16:58:13 -05:00
Johannes Lumpe
aa3defe9e7 Merge pull request #219 from nbolender/stopDownload-race-condition
iOS stopDownload Race Condition
2016-12-14 14:46:46 -05:00
Nathan Bolender
d904520e0c Added a state check for NSURLSessionDownloadTask in stopDownload:. This prevents trying to call the error callback after a success callback has already been called in downloadTask:didFinishDownloadingToURL:. 2016-12-13 22:31:37 -05:00
Thomas Beverley
ad65685db4 Update Downloader.m
Fix for when download is cancelled iOS
2016-12-08 14:11:30 +00:00
Thomas Beverley
189a8580b6 Update Downloader.m
Fixed network error callback on downloadFile by using existing NSURLSessionTaskDelegate method
2016-12-07 15:42:06 +00:00
Ben Clayton
065acc400f Android assets support (#83)
New Android-specific asset access methods:

* 'readFileAssets' - read file in assets as string
* 'readDirAssets' - read contents of a directory in assets
* 'existsAssets' - true/false if file does or does not exist in assets
* 'copyFileAssets' - copy a file from assets to a writable directory (e.g. SD Card)
2016-12-06 13:04:09 +00:00
Anna Strzeżek
a639f49c73 Return error only if exists. 2016-11-30 13:53:00 +01:00
Anna Strzeżek
a04d424112 Use existing NSURLSessionTaskDelegate method 2016-11-29 19:08:07 +01:00
Johannes Lumpe
4a30f656c2 Merge pull request #205 from alseageo/hash
Add hash method for both iOS and Android
2016-11-19 22:19:30 -05:00
Johannes Lumpe
af3fdf6257 Merge pull request #206 from freshlybakedcode/update-docs
Update docs
2016-11-17 08:45:21 -05:00
James Brenton
0ade846f1b Made change as suggested by author 2016-11-17 13:41:34 +00:00
James Brenton
51463e8374 Changed formatting of headline 2016-11-17 09:31:18 +00:00
James Brenton
f94e9f80e4 Added information about using react-native link to the readme 2016-11-17 09:30:17 +00:00
Eric Samelson
e4da23d986 Add hash method for both iOS and Android; update README.md 2016-11-16 13:37:33 -08:00
Johannes Lumpe
3c3b12efd0 Merge pull request #195 from pedramsaleh/patch-1
Update README.md
2016-10-29 11:06:45 -04:00
pedramsaleh
bf12d44b7c Update README.md
Fixed a typo in the instructions to make it easier to understand.
2016-10-25 15:35:48 -04:00
Johannes Lumpe
da1e37c5a3 Merge pull request #189 from nmorel/fix-nil-ios
Add nil check on download completion callback
2016-10-20 09:28:07 -04:00
Johannes Lumpe
e102494ad3 Merge pull request #173 from mixu/patch-1
Add a comment about RNFS.MainBundlePath
2016-10-14 08:37:15 -04:00
Johannes Lumpe
2aa119fb69 Merge pull request #185 from corbt/flow-fixes
Check if callbacks are functions
2016-10-14 08:36:23 -04:00
Nicolas Morel
22e0c70641 Add nil check on download completion callback 2016-10-13 12:42:56 +02:00
Kyle Corbitt
59a60acf09 check if callbacks are functions 2016-10-03 17:28:15 -07:00
Mikito Takada
72ef2e2a6a Add a comment about RNFS.MainBundlePath
Add a comment about RNFS.MainBundlePath not existing on Android
2016-09-02 09:28:14 -07:00
Chris Dell
0ad8e824c5 Update README.md 2016-08-28 09:58:57 +01:00
Chris Dell
47f27b87e9 Fix mkdir options 2016-08-28 09:51:04 +01:00
Chris Dell
10a0e8f1ed Merge pull request #159 from corbt/normalize-path
Remove file:// from paths
2016-08-12 09:32:21 +01:00
Kyle Corbitt
bcdcf7d536 remove file:// from paths 2016-08-11 14:13:52 -07:00
Chris Dell
b8f9a060de 2.0.1-rc.2 v2.0.1-rc.2 2016-08-10 20:36:51 +01:00
Chris Dell
5af22b2782 downloadFile and uploadFiles return objects instead of promises 2016-08-10 20:29:14 +01:00
Chris Dell
0b47ced162 Fix getExternalStorageDirectory 2016-08-10 20:07:04 +01:00
Chris Dell
7487ff2451 Merge branch 'master' of github.com:johanneslumpe/react-native-fs 2016-08-10 19:57:37 +01:00
Chris Dell
29f58f1560 Removed NS prefixes to avoid confusion 2016-08-10 19:53:24 +01:00
Chris Dell
bd63b34415 Merge pull request #121 from superandrew213/master
Add ExternalStorageDirectoryPath
2016-08-09 22:40:23 +01:00
Chris Dell
01ee1ce40f Merge pull request #115 from plrthink/master
add more keywords
2016-08-09 22:38:41 +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
e071c35999 Merge pull request #150 from corbt/better-move
move-file fallback
2016-08-09 21:41:12 +01:00
Kyle Corbitt
9498dbfd93 move-file fallback 2016-08-09 13:37:31 -07:00
Chris Dell
c13912d7cd Merge pull request #141 from RakanNimer/patch-1
[Docs] Added instructions for Android + RN 0.29
2016-08-09 21:32:09 +01:00
Chris Dell
1de497ab7a Merge pull request #151 from corbt/patch-1
Make mkdir options optional
2016-08-09 21:21:43 +01:00
Johannes Lumpe
50b31666f7 using rc tag in version number v2.0.1-rc.1 2016-08-08 20:54:25 +03:00