Michael Mason
831092a628
Fix crash when streaming file with Arabic chars
See: https://developer.android.com/reference/java/nio/charset/Charset.html#defaultCharset ()
> Android note: The Android platform default is always UTF-8.
5 years ago
Micah Ng
56fedad894
Fix fs.dirs api on iOS
These constants were never actually implemented.
5 years ago
Michael Gall
0b47f3d34a
Add the FLAG_ACTIVITY_NEW_TASK flag.
This is caused by an error on Android 9: 'Error: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?'
5 years ago
Mark Tolmacs
ede920cd13
Fixing #236 which did not expect null from DownloadManager.query()
5 years ago
Jediah Dizon
c5f9a668af
Fix error message on `mkdir` function
5 years ago
Gaurav
24abf39a47
Updated for iOS
Not working in iPhone due to presence of charset utf-8
5 years ago
Reed Jones
9ae02891db
specify react-native link module in readme
5 years ago
罗坤
24683eb416
Solve the conflict between FileProvider and other libraries
5 years ago
Greg Alexander
27768f4704
build fix
5 years ago
Samuel Suther
1a9d1bce5d
require cycle
This fixed the warning for "require cycle" on newer React-Versions
5 years ago
Greg Alexander
e83f84f132
upgrading to sdk 28 and androidx
5 years ago
Greg Alexander
e816b028b1
upgrading to sdk 28 and androidx
5 years ago
vun
b48f0e7862
Added return type for RNFetchblob.fs.hash typedef
5 years ago
vun
574febb4a8
Add RNFetchblob.fs.hash function to type definition
5 years ago
Travis Nuttall
d8c79f6b26
0.10.15
5 years ago
Travis Nuttall
ca4bf4e3e4
Revert "Merge pull request #198 from capriza/master"
This reverts commit d69c72bb3f , reversing
changes made to c95ef1c199 .
5 years ago
Travis Nuttall
9ed5dcb256
0.10.14
6 years ago
Travis Nuttall
4740be4d67
Merge pull request #256 from alpha0010/patch-1
Add flow type definitions
6 years ago
Travis Nuttall
b94e9ff6ec
Merge pull request #265 from joltup/gradle-upgrade
update android build config for newer react-native versions
6 years ago
Travis Nuttall
f4acab9e5f
update android build config for newer react-native versions
6 years ago
Alpha
39c0c0fbca
Add flow type definitions
6 years ago
Jacob Lauritzen
d6d5372893
Update provider_paths.xml to allow access to cache
6 years ago
Travis Nuttall
70fcb3a2c4
Merge pull request #209 from jdanbrown/patch-1
index.d.ts: Fix extends -> implements
6 years ago
Dan Brown
8bc5cebdda
index.d.ts: Fix extends -> implements
Before:
```
node_modules/rn-fetch-blob/index.d.ts:147:43 - error TS2689: Cannot extend an interface 'EventTarget'. Did you mean 'implements'?
147 export declare class PolyfillBlob extends EventTarget {
~~~~~~~~~~~
error Command failed with exit code 1.
```
After:
```
✨ Done in 3.06s.
```
6 years ago
Travis Nuttall
ba11d32e7e
Merge pull request #184 from reilem/add-types
Add typescript type defenitions
6 years ago
Travis Nuttall
d69c72bb3f
Merge pull request #198 from capriza/master
Adding iOS background upload support
6 years ago
Guy Blank
c01e1588fd
Update README.md
6 years ago
Guy Blank
2cbc85be4a
Merge remote-tracking branch 'upstream/master'
6 years ago
Guy Blank
8d06e9c497
fix file exists check
6 years ago
Guy Blank
9c76911e98
upload task - check if upload file exists
6 years ago
Guy Blank
3aec4191f9
support upload task + recieve finish event from background
6 years ago
reilem
b4e15f3ab1
Create index.d.ts
6 years ago
Travis Nuttall
c95ef1c199
Merge pull request #158 from ihavenoface5/issue-157
path sent to unlink is now checked for file prefix.
6 years ago
Travis Nuttall
fd81e468b1
0.10.13
6 years ago
adamburnett
61a343e1f2
path sent to unlink is now checked for file prefix.
6 years ago
Travis Nuttall
d07567396b
Merge pull request #149 from studiozeffa/fix/cp-illegal-callback-invocation
Fix 'Illegal Callback Invocation' Android exception
6 years ago
Travis Nuttall
ebbf54ec1f
Merge pull request #155 from yurnery/master
fix progress and uploadProgress not callback in iOS
6 years ago
wenshe
5551d01bf8
fix progress and uploadprogress not callback in iOS
6 years ago
Tom Spencer
e6e27ac0b9
Fix RuntimeException
Fixes a case where `callback` was called twice when something went wrong in the `cp` operation, leading to a `java.lang.RuntimeException: Illegal callback invocation from native module. This callback type only permits a single invocation from native code.`
This is the same fix [as seen in the original repo](https://github.com/wkh237/react-native-fetch-blob/pull/408 ).
6 years ago
Travis Nuttall
981627e874
Merge pull request #126 from LorienHW/master
change android request builder so it wont set Content-Type header to …
6 years ago
Travis Nuttall
eb0bfa44ad
Merge pull request #132 from azizhk/patch-1
(small fix) Fix link to issue which was giving 404
6 years ago
Travis Nuttall
314f5f7253
Merge pull request #133 from jschoolcraft/master
Doc update to include note on upgrading across branches
6 years ago
Travis Nuttall
c5632629f7
Merge pull request #129 from yeomann/patch-1
improvement way to get root SDK versions
6 years ago
Danish
840ddcefe7
fix double quotes
6 years ago
Jeff Schoolcraft
8f8c4a4011
Merge pull request #1 from jschoolcraft/docs-upgrade-notice
Update README.md with tip on project references
6 years ago
Jeff Schoolcraft
d09c5d8095
Update README.md with tip on project references
Wanted to include a note for folks upgrading from the old branch to the new branch about renaming all product references as this was a problem I came across in #122 (https://github.com/joltup/rn-fetch-blob/issues/122 )
6 years ago
Aziz Khambati
27dc243146
(small fix) Fix link to issue which was giving 404
6 years ago
Travis Nuttall
1663c7b579
Merge pull request #127 from thalelinh/master
Fixed trusty example calling `then` instead of `fetch`
6 years ago
Danish
a4abef9c36
improvement way to get root SDK versions
just added a function which acts like a ternary with fallback option. Hence, less cluttered "def" variables
additionally, changed the SDK values from 23 to 26 as per new changes from react-native and Android
Android Target API Level 26 will be required in August 2018.
https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
And the React Native team is already working on this:
facebook/react-native#18095
facebook/react-native#17741
PS: I am aware of this PR https://github.com/joltup/rn-fetch-blob/pull/128 but first its still targeting old SDK values i.e 23 as fallback and secondly I am not sure of the use of `project` to get the value instead of proper way i.e `rootProject.ext` to get the property value.
6 years ago
Tales Lelo da Aparecida
1a315a302e
Fixed trusty example calling `then` instead of `fetch`
6 years ago