83 Commits

Author SHA1 Message Date
James Reggio
23364bd121
Fix build breakage 2017-11-17 15:33:45 -05:00
Hagen Hübel
f037c79ec9
Merge pull request #381 from josephroque/timeout-ios
Respect readTimeout for downloadFile on iOS
2017-11-17 00:05:34 +01:00
James Reggio
b78d8a150d
Avoid placing nil value into NSDictionary in downloader 2017-11-16 16:58:30 -05:00
Joseph Roque
11e8655d3d
Respect readTimeout for downloadFile on iOS 2017-11-09 18:33:21 -05:00
Sebastian Makinson
c6ec354f2d Added rejection and errors for copyAssetsVideoIOS 2017-11-03 08:36:20 -06:00
mars-lan
5475f026b5 Implement requiresMainQueueSetup to remove warning in RN 0.49 2017-10-28 14:59:53 -07:00
Hagen Hübel
308196040a Merge pull request #361 from jamesreggio/fix-multiple-callbacks
Fix multiple callback invocation in iOS with `downloadFile`
2017-10-06 18:47:22 +02:00
James Reggio
b01e8fe54e Fix multiple callback invocation in iOS with downloadFile 2017-10-06 12:00:17 -04:00
James Reggio
e086d24549 Expose the iOS discretionary flag on downloadFile 2017-10-06 11:48:41 -04:00
Hagen Hübel
252cd5a3e5 cleanup 2017-09-26 05:59:47 +02:00
Hagen Hübel
bcf81df6f8 Merge branch 'master' of github.com:itinance/react-native-fs
* 'master' of github.com:itinance/react-native-fs: (25 commits)
  fix touch() error on android
  Fixed Mtime
  Add missing flow annotations
  v2.5.2 (cocoapods related only)
  removed osx-version from Podspec
  added a note for cocoapods that we can't support it yet
  added a note for cocoapods that we can't support it yet
  Changes to the Podspec
  Changelog for README
  Version 2.5.0 - compat with RN 0.47.0
  Added back for Backward-Compat but without @override
  Version bump 2.4.0
  removed createJSModules method (RN 0.47 breaking change)
  Add `createJSModules()` to be compatible with latest React.
  Update SDK compile and build tools to version 26.
  update README
  add read method with lenght and position params
  add `touch` method for changing file timestamps
  Remove createJSModules from package
  pod file path error
  ...
2017-09-26 05:55:05 +02:00
Hagen Hübel
01e8975d86 added support for Video-Assets on iOS (copyAssetsVideoIOS) and setReadable() on Android 2017-09-26 05:53:51 +02:00
Samet Demir
a39c22be81 add read method with lenght and position params 2017-07-16 15:18:55 +03:00
Martin Rädlinger
646ca20f64 add touch method for changing file timestamps 2017-06-30 09:38:22 +02:00
Alexey Puchkov
b157767157 Merge remote-tracking branch 'upstream/master' 2017-05-11 08:32:08 +03:00
IjzerenHein
3c3042fb61 Added write function for performing random access writes (node-js fs style) 2017-04-29 12:38:10 +02:00
Hagen Hübel
715ffec56d Added copyAssetsFileIOS to support asset-library-Files from camera-roll in iOS 2017-04-28 00:59:29 +02:00
Hagen Hübel
a5ee52f5c8 Fixed 'RCTJSONStringify() encountered the following error: Invalid type in JSON write (__NSTaggedDate)' 2017-04-27 13:07:19 +02:00
Albert Martin
b139b5d58b Add created and modified dates to ReadDirItem 2017-04-26 09:46:56 -05:00
Abraham Elmahrek
55dd2a7624 #241: change imports for react-native 0.39.x (#242)
* change imports for react-native 0.39.x

* change imports for react-native 0.40.x

* order of imports matter

* Fix multiple import problem
2017-02-20 09:05:45 +00:00
Alexey Puchkov
8300312422 Add pathForGroup method 2017-02-01 14:48:07 +02:00
Jeff Hanson
fe2374bff3 add support for react-native v0.40.0 (#229) 2017-01-10 16:09: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
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