| 
				
			 | 
			
			
				@@ -64,12 +64,12 @@ public class RNViewShotModule extends ReactContextBaseJavaModule { 
			 | 
		
	
		
			
			| 
				64
			 | 
			
				64
			 | 
			
			
				         Integer width = options.hasKey("width") ? (int)(displayMetrics.density * options.getDouble("width")) : null; 
			 | 
		
	
		
			
			| 
				65
			 | 
			
				65
			 | 
			
			
				         Integer height = options.hasKey("height") ? (int)(displayMetrics.density * options.getDouble("height")) : null; 
			 | 
		
	
		
			
			| 
				66
			 | 
			
				66
			 | 
			
			
				         String result = options.hasKey("result") ? options.getString("result") : "file"; 
			 | 
		
	
		
			
			| 
				67
			 | 
			
				
			 | 
			
			
				-        Boolean isScrollView = options.hasKey("isScrollView") ? options.getBoolean("isScrollView"):false; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				67
			 | 
			
			
				+        Boolean snapshotContentContainer = options.hasKey("snapshotContentContainer") ? options.getBoolean("snapshotContentContainer"):false; 
			 | 
		
	
		
			
			| 
				68
			 | 
			
				68
			 | 
			
			
				         try { 
			 | 
		
	
		
			
			| 
				69
			 | 
			
				69
			 | 
			
			
				             String name = options.hasKey("filename") ? options.getString("filename") : null; 
			 | 
		
	
		
			
			| 
				70
			 | 
			
				70
			 | 
			
			
				             File tmpFile = "file".equals(result) ? createTempFile(getReactApplicationContext(), format, name) : null; 
			 | 
		
	
		
			
			| 
				71
			 | 
			
				71
			 | 
			
			
				             UIManagerModule uiManager = this.reactContext.getNativeModule(UIManagerModule.class); 
			 | 
		
	
		
			
			| 
				72
			 | 
			
				
			 | 
			
			
				-            uiManager.addUIBlock(new ViewShot(tag, format, compressFormat, quality, width, height, tmpFile, result,isScrollView,promise)); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				72
			 | 
			
			
				+            uiManager.addUIBlock(new ViewShot(tag, format, compressFormat, quality, width, height, tmpFile, result,snapshotContentContainer,promise)); 
			 | 
		
	
		
			
			| 
				73
			 | 
			
				73
			 | 
			
			
				         } 
			 | 
		
	
		
			
			| 
				74
			 | 
			
				74
			 | 
			
			
				         catch (Exception e) { 
			 | 
		
	
		
			
			| 
				75
			 | 
			
				75
			 | 
			
			
				             promise.reject(ViewShot.ERROR_UNABLE_TO_SNAPSHOT, "Failed to snapshot view tag "+tag); 
			 |