Artur Chrusciel
							
						 
						
							
								17cc8b0f70
								
							 
						 
						
							Synchronized dictionaries and tables operations 
							
							
						 
						7 vuotta sitten  
					 
				
					
						
							
								   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. 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Artur Chrusciel
							
						 
						
							
								22fd32a863
								
							 
						 
						
							Catch exceptions on sd card directories constants creation. Methods to get sd card directories. sd card directiories as constants deprecated warning 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Kota Furusawa
							
						 
						
							
								821eeb0f9d
								
							 
						 
						
							Fix README (#501 ) 
							
							 
							
remove extra space 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   grylance
							
						 
						
							
								2aea0b58e9
								
							 
						 
						
							Fix path argument in iOS excludeFromBackupKey (#473 ) 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								1336555d79
								
							 
						 
						
							Update PULL_REQUEST_TEMPLATE 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								9ab4ebb72e
								
							 
						 
						
							bump to 0.10.8 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								55009f1482
								
							 
						 
						
							Correct unterminated string #455  
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								50c157345f
								
							 
						 
						
							Update PULL_REQUEST_TEMPLATE 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								5f3c018b0a
								
							 
						 
						
							Merge branch '0.10.7' of github.com:wkh237/react-native-fetch-blob into 0.10.7 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								6bde5167b4
								
							 
						 
						
							Bump to 0.10.7 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								206588faba
								
							 
						 
						
							Merge branch 'master' of github.com:wkh237/react-native-fetch-blob into 0.10.7 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   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.
``` 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								d83d8007a8
								
							 
						 
						
							Add missing API Blob.safeClose() 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   JoshB
							
						 
						
							
								712c8a3a07
								
							 
						 
						
							[iOS] Fix for RNFetchBlob.writeChunk failing to write base64 encoded strings (#433 ) 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								b70a12455d
								
							 
						 
						
							Update README.md 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Jeff Hellman
							
						 
						
							
								6bb7c65161
								
							 
						 
						
							Add support for TLS 1.2 when running Android 4 (#430 ) 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								dd4dbb272e
								
							 
						 
						
							Merge branch '0.10.7' of github.com:wkh237/react-native-fetch-blob into 0.10.7 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								ed2732a47e
								
							 
						 
						
							Fix Download Manager bug when the file is not a multimedia #391  
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Jon San Miguel
							
						 
						
							
								8a75a9be2a
								
							 
						 
						
							Set mime if set in addAndroidDownloads (#421 ) 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								c217fabb37
								
							 
						 
						
							Merge branch 'uri' into 0.10.7 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								08f8403dc4
								
							 
						 
						
							Fixed a bug which causes XMLHttpRequest getting incorrect header when sending multiple requests in the same time 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								bb7fec4e2f
								
							 
						 
						
							Merge branch 'issue-287' of github.com:wkh237/react-native-fetch-blob into uri 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								a8cfeb1d34
								
							 
						 
						
							Correct app content provider URI handle #287  
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								50a4d06ac2
								
							 
						 
						
							Merge branch 'issue-287-merged' into uri 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								40efd14a59
								
							 
						 
						
							Update PULL_REQUEST_TEMPLATE 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								45b86cfde2
								
							 
						 
						
							bump to 0.10.6 and update contributors 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								0ea4a4a0c3
								
							 
						 
						
							Merge branch '0.10.6' 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								2c16a9488d
								
							 
						 
						
							Fix IOS request timeout  issue #368  by change default request setting to defaultSessionConfiguration, and make backgroundSessionConfigurationWithIdentifier optional 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								5e41837d72
								
							 
						 
						
							Create CONTRIBUTING.md 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								1d4e69cf20
								
							 
						 
						
							Fix incorrect UTF-8 data conversion issue when the data contains special characters. 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   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  
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Jeremi Stadler
							
						 
						
							
								d61461bf2b
								
							 
						 
						
							[Android] Update android gradle build version (#396 ) 
							
							 
							
Change to jCenter because mavenCentral does not have the latest version of the package 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								4073093f48
								
							 
						 
						
							Fix missing Android import 
							
							 
							
fix 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								d00bd9138a
								
							 
						 
						
							Fix missing Android import 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								5b43136beb
								
							 
						 
						
							Fix Fetch Replacement progress and cancel task issue #370  
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								d807f0f4af
								
							 
						 
						
							Add missing Android implementation 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								5e554ac807
								
							 
						 
						
							Add missing argument to RNFetchBlobReq.java #388  
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								be00a24908
								
							 
						 
						
							Merge branch '0.10.6' of github.com:wkh237/react-native-fetch-blob into 0.10.6 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								a6a851666d
								
							 
						 
						
							Merge branch 'master' into 0.10.6 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Jacob Lauritzen
							
						 
						
							
								4ea868fe79
								
							 
						 
						
							Android share cookies w/ RN, remove cookie utils (#388 ) 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   atlanteh
							
						 
						
							
								93509a7a88
								
							 
						 
						
							remove redundant console.log every AppState change (#385 ) 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								869bb47d16
								
							 
						 
						
							Update contributor list 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Jon San Miguel
							
						 
						
							
								f345afa27e
								
							 
						 
						
							Android Feature: Handle Arbitrary Providers (#374 ) 
							
							 
							
* Update ISSUE_TEMPLATE
* Handle Android content providers 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Guy Blank
							
						 
						
							
								acf4aa5578
								
							 
						 
						
							Add support for SDCards applications's directory (Android only) (#372 ) 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Yonsh Lin
							
						 
						
							
								f17783b8e7
								
							 
						 
						
							Fix some Promise.reject not being returned in FileSystem (#366 ) 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								fd9f20d4f2
								
							 
						 
						
							Update ISSUE_TEMPLATE 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								680331d68b
								
							 
						 
						
							Optimize JS performance by using different UID generator and remove bind statements 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								1ebbb89a21
								
							 
						 
						
							Fix typos in FileReader polyfill #347  
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Ben Hsieh
							
						 
						
							
								7752ff70f8
								
							 
						 
						
							Remove log state from Android file response handler function #353  
							
							
						 
						8 vuotta sitten