Shem
c9b8b917f2
Merge pull request #62 from poison/master
Bug Fix: getExternalFilesDir null check
6 years ago
Nicolas Van Eenaeme
4c4c5eab7d
sometimes getExternalFilesDir returns null, and the app crashes in this case
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
Travis Nuttall
a3cf145480
Merge pull request #57 from guimeira/master
Update README with proper status code handling
6 years ago
Augusto
c66788ff23
fix class import
6 years ago
Augusto
298a4de4f7
fix class imports
6 years ago
Augusto
a88b59f0e9
Solve Android security exposed app error
6 years ago
Gui Meira
393c668c38
Update README with proper status code handling
6 years ago
Simon Knott
853fed3679
Fix typo: "Status" instead of "Statu"
6 years ago
Antoine Taillefer
cd1eb1e37f
Handle Android content URIs for upload
6 years ago
Antoine Taillefer
dcd3aaa5eb
Fix RNFetchBlobBody#getRequestStream method name
6 years ago
Gennady Basov
c5de6f806b
Reject promise by iOS openDocument when a file is not opened
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
7 years ago
Artur Chrusciel
a46bf8180d
task cancelled error message
7 years ago
Artur Chrusciel
89d9b7a5a7
Network activity calls on main thread
7 years ago
Artur Chrusciel
f6fae9b237
Merge branch 'synchronized' into exception_fixes
7 years ago
Artur Chrusciel
57102f4d1e
Some code guidelines for network classes
7 years ago
Artur Chrusciel
d4b465a366
Fixed header import defines
7 years ago
Artur Chrusciel
1d19f984ea
Commented code removed
7 years ago
Artur Chrusciel
ad65763428
Proper usage of shared instance
7 years ago
Artur Chrusciel
db68875146
Shared instance used
7 years ago
Artur Chrusciel
8dd310d9f6
Separate requests from network logic
7 years ago
Artur Chrusciel
f0301db36c
Unused completion handlers leftovers removed
7 years ago
Artur Chrusciel
11f674c88b
QOS level for task queue
7 years ago
Artur Chrusciel
905ab1c2da
Mostly RNFetchBlobNetwork cleanup
7 years ago
Artur Chrusciel
17cc8b0f70
Synchronized dictionaries and tables operations
7 years ago
Artur Chrusciel
38f4d75ead
Synchronized dictionaries and tables operations
7 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