Commit Graph
85 Commits
Author SHA1 Message Date
Hagen Hübel abb82720ed Merge pull request #347 from jacargentina/master
Fix for #346: compressed file assets are detected as directories
2017-10-04 08:35:00 +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
Javier Castro 18ee5b35ef Workaround for #346: try to better detect when an asset path is a directory or a (possible) compressed file 2017-09-21 15:23:49 -03:00
Leon e5bee33e62 Fixed Mtime
Mtime was broken - int conversion damaged Timestamp. So i changed it to putDouble which results in appropriate Timestamps.
2017-08-04 20:10:41 +02:00
Hagen Hübel 970384cb2d Added back for Backward-Compat but without @override 2017-08-02 22:38:48 +02:00
Filip Kinský fc4b4932d9 removed createJSModules method (RN 0.47 breaking change)
see https://github.com/facebook/react-native/releases/tag/v0.47.0 for explanation
2017-08-02 15:59:04 +02:00
Joshua Pinter e907855ecf Merge branch 'master' into master 2017-07-19 20:27:35 -07:00
Joshua Pinter bb3663fd27 Add createJSModules() to be compatible with latest React. 2017-07-19 21:16:11 -06:00
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
Hagen Hübel 68d8764fff Merge pull request #271 from markusguenther/markusguenther-patch-1
Update the android SDK version to 25
2017-07-19 21:14:36 +02: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 https://github.com/facebook/react-native/commit/ce6fb337a146e6f261f2afb564aa19363774a7a8

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
Markus Günther 239bccb9d5 Update the android SDK version to 25
When using the current android studio with the current SDKs you have the problem that your app is on version 25 and you can not create a APK without adjusting the buildToolsVersion in the build.gradle
2017-03-21 22:02:33 +01: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