Artur Chrusciel
c7374e783c
Depracated comment fix
6 years ago
Artur Chrusciel
63432aee1b
Depracation comment in code
6 years ago
Artur Chrusciel
b2b5f5c091
No depracation warning on instantiating dirs
6 years ago
Shem
4add85726f
Merge pull request #40 from ericmorgan1/master
Response typo
6 years ago
Travis Nuttall
614ef561dd
Merge pull request #17 from alzalabany/patch-2
compatible with RN > 0.49
6 years ago
Travis Nuttall
0410466810
Merge pull request #56 from Skn0tt/0.10.9
Fix typo: "Status" instead of "Statu"
6 years ago
Simon Knott
853fed3679
Fix typo: "Status" instead of "Statu"
6 years ago
Eric
ff6a2a6290
readme
6 years ago
Eric
5750b0f93b
revert readme
6 years ago
Eric
3b0c7ad393
response typo
6 years ago
Momen Zalabany
2599ae4c00
compatible with RN > 0.49
RN > 0.49 requires to implement requiresMainQueueSetup.
this fix and suppress that yellow box warning
```
Module RNFetchBlob requires main queue setup since it overrides `init` but doesn't implement `requiresMainQueueSetup`. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
```
6 years ago
Travis Nuttall
1f9a1761ae
Merge pull request #8 from flatfox-ag/exception_fixes
Synchronized tables, separated requests and network logic and other...
6 years ago
Travis Nuttall
b41cfb7bf6
Merge pull request #11 from Jakst/fix-lint-errors
Inform linter that we're handling android api versions correctly
6 years ago
Jakob Ståhl
b9172bb80b
Inform linter that we're handling android api versions correctly
6 years ago
Travis Nuttall
8fb92ba3f2
Merge pull request #10 from klaasman/0.10.9
Implement `requiresMainQueueSetup`, fixes #553
6 years ago
Artur Chrusciel
01f38a4537
Merge branch 'exception_fixes' of github.com:flatfox-ag/react-native-fetch-blob into exception_fixes
6 years ago
Artur Chrusciel
fb63db99e0
createFile methods with promises
6 years ago
chrusart
7cebeaa45a
Merge branch '0.10.9' into exception_fixes
6 years ago
Travis Nuttall
fa38cd54d7
update README with correct directions for PRs
6 years ago
Travis Nuttall
0a638e35ca
update readme with new maintainers message
6 years ago
KittenWithHerbs
c4c3d43636
Update README.md
6 years ago
KittenWithHerbs
05768a26af
Update README.md
6 years ago
KittenWithHerbs
e5d1629b0a
Merge pull request #559 from catalinmiron/patch-1
Fix README.md
6 years ago
KittenWithHerbs
5c9f58c618
Merge pull request #641 from nd-02110114 /master
Fix README
6 years ago
Klaas Landsman
62f12a128f
Implement `requiresMainQueueSetup`, fixes #553
6 years ago
KittenWithHerbs
e6480db319
Update README.md
6 years ago
KittenWithHerbs
58df91fe8d
Update README.md
6 years ago
nd-02110114
684f6df283
add close tag
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
KittenWithHerbs
51f8a19e09
update the maintainer-missing message
7 years ago
KittenWithHerbs
455097db73
more vertical space around the message
7 years ago
KittenWithHerbs
52c477315d
add link
7 years ago
KittenWithHerbs
e39a41b8eb
add "maintainer missing"
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
Catalin Miron
5db2a74b07
Fix README.md
Fix example links for Download and Multipart/form-data
7 years ago
Gabor Wnuk
4205ebc3d1
Fixed problem with type casting (#513 )
Resulted in `errMsg = "task cancelled"` even though isCancelled was "0".
7 years ago