74 Commits

Author SHA1 Message Date
Joshua Pinter
9f11ed8fd9 Update SDK compile and build tools to version 26.
Prevents error when running `yarn`.
2017-07-19 20:30:00 -06:00
Samet Demir
a39c22be81 add read method with lenght and position params 2017-07-16 15:18:55 +03:00
Hagen Hübel
ec8dfc3d32 Merge pull request #254 from codesinghanoop/master
Made new thread for other native processes
2017-06-30 18:00:12 +02:00
Martin Rädlinger
646ca20f64 add touch method for changing file timestamps 2017-06-30 09:38:22 +02:00
Pieter De Baets
6e338129b8 Remove createJSModules from package
createJSModules is now no longer required ce6fb337a1

This PR is currently only compatible with RN master.
2017-06-14 18:14:24 +01:00
Saurabh Agrawal
a159776baa added additional parameters readTimeout and connectionTimeout with pre-existing defaults for android. 2017-06-01 16:45:06 +05:30
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
b262391854 Fixes 'mtime' for Android, #287 2017-04-28 10:52:48 +02:00
Hagen Hübel
677434d685 Merge pull request #244 from kevinresol/patch-1
Handle 307/308 redirect
2017-04-28 02:11:24 +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
AnoopSingh
ad36b078db Made new thread for other native processes 2017-02-14 21:28:31 +05:30
Alexey Puchkov
8300312422 Add pathForGroup method 2017-02-01 14:48:07 +02:00
Kevin Leung
50eb612e48 Handle 307/308 redirect 2017-01-27 16:03:34 +08: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
Eric Samelson
e4da23d986 Add hash method for both iOS and Android; update README.md 2016-11-16 13:37:33 -08: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
Kyle Corbitt
9498dbfd93 move-file fallback 2016-08-09 13:37:31 -07: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
francisco-sanchez-molina
044584e5b7 Add read timeout 2016-07-26 16:43:19 +02:00
Chris Dell
b3cef00673 Merge branch 'grabbou-feat/promisify' 2016-07-18 23:15:07 +01:00
Chris Dell
1800bc634a Android fixes 2016-07-18 23:02:45 +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
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
Andrew Shini
e884fc2abc Add ExternalStorageDirectoryPath 2016-06-17 11:48:16 +10: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