Artur Chrusciel
fb63db99e0
createFile methods with promises
6 years ago
Artur Chrusciel
a46bf8180d
task cancelled error message
6 years ago
Artur Chrusciel
89d9b7a5a7
Network activity calls on main thread
6 years ago
Artur Chrusciel
f6fae9b237
Merge branch 'synchronized' into exception_fixes
6 years ago
Artur Chrusciel
57102f4d1e
Some code guidelines for network classes
6 years ago
Artur Chrusciel
d4b465a366
Fixed header import defines
6 years ago
Artur Chrusciel
1d19f984ea
Commented code removed
6 years ago
Artur Chrusciel
ad65763428
Proper usage of shared instance
6 years ago
Artur Chrusciel
db68875146
Shared instance used
6 years ago
Artur Chrusciel
8dd310d9f6
Separate requests from network logic
6 years ago
Artur Chrusciel
f0301db36c
Unused completion handlers leftovers removed
6 years ago
Artur Chrusciel
11f674c88b
QOS level for task queue
6 years ago
Artur Chrusciel
905ab1c2da
Mostly RNFetchBlobNetwork cleanup
6 years ago
Artur Chrusciel
17cc8b0f70
Synchronized dictionaries and tables operations
6 years ago
Artur Chrusciel
38f4d75ead
Synchronized dictionaries and tables operations
6 years ago
Mattia Barbon
e46f94e2ce
Fix iOS initialization race condition (#499 )
We have a crash in our application, and based on our analysis the culprit is a
race condition in RNFetchBlobNetwork initialization.
Crashing thread:
Crashed: com.apple.root.default-qos
0 libobjc.A.dylib 0x10416bacb objc_msgSend + 11
1 Foundation 0x103d3b644 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:usingBlock:] + 153
2 Foundation 0x103c23f8c -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 61
3 Foundation 0x103c23f3a -[NSOperationQueue setMaxConcurrentOperationCount:] + 198
4 prymr 0x100d579aa -[RNFetchBlobNetwork init] (RNFetchBlobNetwork.m:112)
5 prymr 0x100d63a73 __65-[RNFetchBlob fetchBlob:taskId:method:url:headers:body:callback:]_block_invoke (RNFetchBlob.m:131)
6 prymr 0x100d6006b __85+[RNFetchBlobReqBuilder buildOctetRequest:taskId:method:url:headers:body:onComplete:]_block_invoke (RNFetchBlobReqBuilder.m:178)
7 libdispatch.dylib 0x107511585 _dispatch_call_block_and_release + 12
While a second thread is running:
com.apple.root.default-qos
0 libsystem_kernel.dylib 0x107891c22 __psynch_mutexwait + 10
1 libsystem_pthread.dylib 0x1078c6dfa _pthread_mutex_lock_wait + 100
2 libsystem_pthread.dylib 0x1078c4519 _pthread_mutex_lock_slow + 285
3 Foundation 0x103d3b615 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:usingBlock:] + 106
4 Foundation 0x103c23f8c -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 61
5 Foundation 0x103c23f3a -[NSOperationQueue setMaxConcurrentOperationCount:] + 198
6 prymr 0x100d579aa -[RNFetchBlobNetwork init] (RNFetchBlobNetwork.m:112)
7 prymr 0x100d63a73 __65-[RNFetchBlob fetchBlob:taskId:method:url:headers:body:callback:]_block_invoke (RNFetchBlob.m:131)
8 prymr 0x100d6006b __85+[RNFetchBlobReqBuilder buildOctetRequest:taskId:method:url:headers:body:onComplete:]_block_invoke (RNFetchBlobReqBuilder.m:178)
9 libdispatch.dylib 0x107511585 _dispatch_call_block_and_release + 12
The patch just adds a dumb double-synchronization to the initialization.
7 years ago
Artur Chrusciel
22fd32a863
Catch exceptions on sd card directories constants creation. Methods to get sd card directories. sd card directiories as constants deprecated warning
7 years ago
Kota Furusawa
821eeb0f9d
Fix README (#501 )
remove extra space
7 years ago
grylance
2aea0b58e9
Fix path argument in iOS excludeFromBackupKey (#473 )
7 years ago
Ben Hsieh
1336555d79
Update PULL_REQUEST_TEMPLATE
7 years ago
Ben Hsieh
9ab4ebb72e
bump to 0.10.8
7 years ago
Ben Hsieh
55009f1482
Correct unterminated string #455
7 years ago
Ben Hsieh
50c157345f
Update PULL_REQUEST_TEMPLATE
7 years ago
Ben Hsieh
5f3c018b0a
Merge branch '0.10.7' of github.com:wkh237/react-native-fetch-blob into 0.10.7
7 years ago
Ben Hsieh
6bde5167b4
Bump to 0.10.7
7 years ago
Ben Hsieh
206588faba
Merge branch 'master' of github.com:wkh237/react-native-fetch-blob into 0.10.7
7 years ago
Hizoul
d1d07d0922
Fix Compilation Error in React Native 0.47.0 (#452 )
createJSModules was removedin React Native 0.47.0 and results in the attached Build Error.
removing @Override fixes build (didn't remove function because I don't know if it should be kept for downard compatability?)
```
node_modules/react-native-fetch-blob/android/src/main/java/com/RNFetchBlob/RNFetchBlobPackage.java:23: error: method does not override or implement a method from a supertype
@Override
^
1 error
Incremental compilation of 1 classes completed in 0.219 secs.
:react-native-fetch-blob:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
```
7 years ago
Ben Hsieh
d83d8007a8
Add missing API Blob.safeClose()
7 years ago
JoshB
712c8a3a07
[iOS] Fix for RNFetchBlob.writeChunk failing to write base64 encoded strings (#433 )
7 years ago
Ben Hsieh
b70a12455d
Update README.md
7 years ago
Jeff Hellman
6bb7c65161
Add support for TLS 1.2 when running Android 4 (#430 )
7 years ago
Ben Hsieh
dd4dbb272e
Merge branch '0.10.7' of github.com:wkh237/react-native-fetch-blob into 0.10.7
7 years ago
Ben Hsieh
ed2732a47e
Fix Download Manager bug when the file is not a multimedia #391
7 years ago
Jon San Miguel
8a75a9be2a
Set mime if set in addAndroidDownloads (#421 )
7 years ago
Ben Hsieh
c217fabb37
Merge branch 'uri' into 0.10.7
7 years ago
Ben Hsieh
08f8403dc4
Fixed a bug which causes XMLHttpRequest getting incorrect header when sending multiple requests in the same time
7 years ago
Ben Hsieh
bb7fec4e2f
Merge branch 'issue-287' of github.com:wkh237/react-native-fetch-blob into uri
7 years ago
Ben Hsieh
a8cfeb1d34
Correct app content provider URI handle #287
7 years ago
Ben Hsieh
50a4d06ac2
Merge branch 'issue-287-merged' into uri
7 years ago
Ben Hsieh
40efd14a59
Update PULL_REQUEST_TEMPLATE
7 years ago
Ben Hsieh
45b86cfde2
bump to 0.10.6 and update contributors
7 years ago
Ben Hsieh
0ea4a4a0c3
Merge branch '0.10.6'
7 years ago
Ben Hsieh
2c16a9488d
Fix IOS request timeout issue #368 by change default request setting to defaultSessionConfiguration, and make backgroundSessionConfigurationWithIdentifier optional
7 years ago
Ben Hsieh
5e41837d72
Create CONTRIBUTING.md
7 years ago
Ben Hsieh
1d4e69cf20
Fix incorrect UTF-8 data conversion issue when the data contains special characters.
7 years ago
Jeremi Stadler
ae083dd7f5
Downgrade android gradle build tools (#400 )
To support the default react-native gradle version
https://github.com/wkh237/react-native-fetch-blob/pull/396
7 years ago
Jeremi Stadler
d61461bf2b
[Android] Update android gradle build version (#396 )
Change to jCenter because mavenCentral does not have the latest version of the package
7 years ago
Ben Hsieh
4073093f48
Fix missing Android import
fix
7 years ago
Ben Hsieh
d00bd9138a
Fix missing Android import
7 years ago
Ben Hsieh
5b43136beb
Fix Fetch Replacement progress and cancel task issue #370
7 years ago