| 
				
			 | 
			
			
				@@ -40,6 +40,8 @@ namespace winrt::ReactNativeWebView::implementation { 
			 | 
		
	
		
			
			| 
				40
			 | 
			
				40
			 | 
			
			
				     IMapView<hstring, ViewManagerPropertyType> ReactWebViewManager::NativeProps() noexcept { 
			 | 
		
	
		
			
			| 
				41
			 | 
			
				41
			 | 
			
			
				         auto nativeProps = winrt::single_threaded_map<hstring, ViewManagerPropertyType>(); 
			 | 
		
	
		
			
			| 
				42
			 | 
			
				42
			 | 
			
			
				         nativeProps.Insert(L"source", ViewManagerPropertyType::Map); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				43
			 | 
			
			
				+        nativeProps.Insert(L"backgroundColor", ViewManagerPropertyType::Color); // Does this really work? 
			 | 
		
	
		
			
			| 
				
			 | 
			
				44
			 | 
			
			
				+        nativeProps.Insert(L"messagingEnabled", ViewManagerPropertyType::Boolean); 
			 | 
		
	
		
			
			| 
				43
			 | 
			
				45
			 | 
			
			
				         return nativeProps.GetView(); 
			 | 
		
	
		
			
			| 
				44
			 | 
			
				46
			 | 
			
			
				     } 
			 | 
		
	
		
			
			| 
				45
			 | 
			
				47
			 | 
			
			
				  
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -84,6 +86,12 @@ namespace winrt::ReactNativeWebView::implementation { 
			 | 
		
	
		
			
			| 
				84
			 | 
			
				86
			 | 
			
			
				                     auto color = propertyValue.To<winrt::Color>(); 
			 | 
		
	
		
			
			| 
				85
			 | 
			
				87
			 | 
			
			
				                     webView.DefaultBackgroundColor(color.A==0 ? winrt::Colors::Transparent() : color); 
			 | 
		
	
		
			
			| 
				86
			 | 
			
				88
			 | 
			
			
				                 } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				89
			 | 
			
			
				+                else if (propertyName == "messagingEnabled") { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				90
			 | 
			
			
				+                  auto messagingEnabled = propertyValue.To<bool>(); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				91
			 | 
			
			
				+                  if (auto reactWebView = content.try_as<ReactNativeWebView::ReactWebView>()) { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				92
			 | 
			
			
				+                    reactWebView.SetMessagingEnabled(messagingEnabled); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				93
			 | 
			
			
				+                  } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				94
			 | 
			
			
				+                } 
			 | 
		
	
		
			
			| 
				87
			 | 
			
				95
			 | 
			
			
				             } 
			 | 
		
	
		
			
			| 
				88
			 | 
			
				96
			 | 
			
			
				         } 
			 | 
		
	
		
			
			| 
				89
			 | 
			
				97
			 | 
			
			
				     } 
			 |