Guy Blank
8d06e9c497
fix file exists check
il y a 6 ans
Guy Blank
9c76911e98
upload task - check if upload file exists
il y a 6 ans
Guy Blank
3aec4191f9
support upload task + recieve finish event from background
il y a 6 ans
adamburnett
5094579a44
Fixed truncating of progress report values.
il y a 6 ans
Artur Chrusciel
a46bf8180d
task cancelled error message
il y a 6 ans
Artur Chrusciel
89d9b7a5a7
Network activity calls on main thread
il y a 6 ans
Artur Chrusciel
57102f4d1e
Some code guidelines for network classes
il y a 6 ans
Artur Chrusciel
1d19f984ea
Commented code removed
il y a 6 ans
Artur Chrusciel
8dd310d9f6
Separate requests from network logic
il y a 6 ans
Artur Chrusciel
f0301db36c
Unused completion handlers leftovers removed
il y a 6 ans
Artur Chrusciel
11f674c88b
QOS level for task queue
il y a 6 ans
Artur Chrusciel
905ab1c2da
Mostly RNFetchBlobNetwork cleanup
il y a 6 ans
Artur Chrusciel
17cc8b0f70
Synchronized dictionaries and tables operations
il y a 6 ans
Artur Chrusciel
38f4d75ead
Synchronized dictionaries and tables operations
il y a 6 ans
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.
il y a 7 ans
Gabor Wnuk
4205ebc3d1
Fixed problem with type casting (#513 )
Resulted in `errMsg = "task cancelled"` even though isCancelled was "0".
il y a 7 ans
Ben Hsieh
a78acc7517
#268 Cancelled task should not trigger `then` promise function
il y a 7 ans
Mattia Barbon
9abb4ebbc8
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.
il y a 7 ans
Albert Martin
6ab9ba0ae5
prevent UIApplication methods from being called on background thread (#486 )
il y a 7 ans
Ben Hsieh
2c16a9488d
Fix IOS request timeout issue #368 by change default request setting to defaultSessionConfiguration, and make backgroundSessionConfigurationWithIdentifier optional
il y a 7 ans
Jacob Lauritzen
4ea868fe79
Android share cookies w/ RN, remove cookie utils (#388 )
il y a 7 ans
Max Gurela
cf31334b43
Re-apply iOS removeCookies API (#325 )
il y a 7 ans
Max Gurela
1cc4359469
Re-apply iOS removeCookies API (#325 )
il y a 7 ans
Ben Hsieh
cc4634447a
Comment out the line which causes IOS app crash when request expired #271
il y a 7 ans
Ben Hsieh
8c1db27074
Apply fix to #266
il y a 7 ans
Ben Hsieh
636ed98792
remove dev code
il y a 7 ans
Ben Hsieh
e7a39d9348
Apply fix for #263
il y a 7 ans
Ben Hsieh
80c23f2dc6
Fix getCookie and removeCookie API #230 #249
il y a 7 ans
Ben Hsieh
bc2a5b8c40
#249 #230 Add removeCookies API
il y a 7 ans
Dombi Soma Kristóf
18f89ecd70
#244 #243 Replace condition of RN40 in headers
il y a 7 ans
Ben Hsieh
ae1bdbc085
#244 #223 Fix RN 0.40 import
il y a 7 ans
Ben Hsieh
bd54a37d01
Change prelink script for #223
il y a 7 ans
Ben Hsieh
fe2f9d2dcf
Add new option `followRedirect` to fetch request and related test case #230
il y a 7 ans
Ben Hsieh
1c7328484b
Fix #225 IOS upload progress
il y a 7 ans
Ben Hsieh
28fb01eade
#223 Remove quotes
il y a 7 ans
Ben Hsieh
cce3ec8470
#223 RN 0.40 compatible IOS changes
il y a 7 ans
Ben Hsieh
a4a01d3743
#223 Remove quotes
il y a 7 ans
Ben Hsieh
279add449d
#223 RN 0.40 compatible IOS changes
il y a 7 ans
Ben Hsieh
2044427250
Fix potential IOS progress report error #210
il y a 8 ans
Ben Hsieh
c6007163c9
Refactor
il y a 8 ans
Ben Hsieh
d86c6aca65
Add option `overwrite` for #173
il y a 8 ans
Ben Hsieh
5f9954bfab
Add background state support for IOS #115
il y a 8 ans
Ben Hsieh
06a466b453
Fix IOS self-signed SSL issue #159
il y a 8 ans
Ben Hsieh
e6690114f8
Correct type of respInfo.status on IOS
il y a 8 ans
Ben Hsieh
6a435dab60
Add cookie related implementation #156
il y a 8 ans
Ben Hsieh
818c96a0ac
Change response data handling #154
il y a 8 ans
Ben Hsieh
bc027b10b8
Fix IOS app crash issue when redirect URL is empty
il y a 8 ans
Ben Hsieh
d477b1a4cb
Add background session management #115
il y a 8 ans
Ben Hsieh
a1b9dccf33
merge 0.9.7
il y a 8 ans
Ben Hsieh
dbaeef14a3
Add IOS server push support #143 #144
il y a 8 ans