| 
				
			 | 
			
			
				@@ -130,18 +130,13 @@ AutoHeightWebView.defaultProps = { 
			 | 
		
	
		
			
			| 
				130
			 | 
			
				130
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				131
			 | 
			
				131
			 | 
			
			
				 const ScreenWidth = Dimensions.get('window').width; 
			 | 
		
	
		
			
			| 
				132
			 | 
			
				132
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
			 | 
			
				133
			 | 
			
			
				+// note that it can not get height when there are only text objects in a html body which does not make any sense  
			 | 
		
	
		
			
			| 
				133
			 | 
			
				134
			 | 
			
			
				 const BaseScript = 
			 | 
		
	
		
			
			| 
				134
			 | 
			
				135
			 | 
			
			
				     ` 
			 | 
		
	
		
			
			| 
				135
			 | 
			
				136
			 | 
			
			
				     ; (function () { 
			 | 
		
	
		
			
			| 
				136
			 | 
			
				
			 | 
			
			
				-        var wrapper = document.createElement('div'); 
			 | 
		
	
		
			
			| 
				137
			 | 
			
				
			 | 
			
			
				-        wrapper.id = 'height-wrapper'; 
			 | 
		
	
		
			
			| 
				138
			 | 
			
				
			 | 
			
			
				-        while (document.body.firstChild) { 
			 | 
		
	
		
			
			| 
				139
			 | 
			
				
			 | 
			
			
				-            wrapper.appendChild(document.body.firstChild); 
			 | 
		
	
		
			
			| 
				140
			 | 
			
				
			 | 
			
			
				-        } 
			 | 
		
	
		
			
			| 
				141
			 | 
			
				
			 | 
			
			
				-        document.body.appendChild(wrapper); 
			 | 
		
	
		
			
			| 
				142
			 | 
			
				137
			 | 
			
			
				         var i = 0; 
			 | 
		
	
		
			
			| 
				143
			 | 
			
				138
			 | 
			
			
				         function updateHeight() { 
			 | 
		
	
		
			
			| 
				144
			 | 
			
				
			 | 
			
			
				-            document.title = wrapper.clientHeight; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				139
			 | 
			
			
				+            document.title = document.body.firstChild.clientHeight; 
			 | 
		
	
		
			
			| 
				145
			 | 
			
				140
			 | 
			
			
				             window.location.hash = ++i; 
			 | 
		
	
		
			
			| 
				146
			 | 
			
				141
			 | 
			
			
				         } 
			 | 
		
	
		
			
			| 
				147
			 | 
			
				142
			 | 
			
			
				         updateHeight(); 
			 |