| 
				
			 | 
			
			
				@@ -38,6 +38,7 @@ RCT_EXPORT_METHOD(get:(NSString *)filepath resolve:(RCTPromiseResolveBlock)resol 
			 | 
		
	
		
			
			| 
				38
			 | 
			
				38
			 | 
			
			
				         NSFileManager *fileManager = [NSFileManager defaultManager]; 
			 | 
		
	
		
			
			| 
				39
			 | 
			
				39
			 | 
			
			
				         NSString *fullPath = [tempDirectory stringByAppendingPathComponent: [NSString stringWithFormat:@"thumb-%@.jpg", [[NSProcessInfo processInfo] globallyUniqueString]]]; 
			 | 
		
	
		
			
			| 
				40
			 | 
			
				40
			 | 
			
			
				         [fileManager createFileAtPath:fullPath contents:data attributes:nil]; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				41
			 | 
			
			
				+        CGImageRelease(imgRef); 
			 | 
		
	
		
			
			| 
				41
			 | 
			
				42
			 | 
			
			
				         if (resolve) 
			 | 
		
	
		
			
			| 
				42
			 | 
			
				43
			 | 
			
			
				             resolve(@{ @"path" : fullPath, 
			 | 
		
	
		
			
			| 
				43
			 | 
			
				44
			 | 
			
			
				                        @"width" : [NSNumber numberWithFloat: thumbnail.size.width], 
			 |