File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1+ --- 
2+ ' @phantom/react-native-webview '  : patch 
3+ --- 
4+ 
5+ Add isMainFrame to new arch serialization layer
Original file line number Diff line number Diff line change @@ -134,7 +134,8 @@ - (instancetype)initWithFrame:(CGRect)frame
134134                    .canGoBack  = static_cast <bool >([[dictionary valueForKey: @" canGoBack"  ] boolValue ]),
135135                    .canGoForward  = static_cast <bool >([[dictionary valueForKey: @" canGoForward"  ] boolValue ]),
136136                    .loading  = static_cast <bool >([[dictionary valueForKey: @" loading"  ] boolValue ]),
137-                     .data  = std::string ([[dictionary valueForKey: @" data"  ] UTF8String ])
137+                     .data  = std::string ([[dictionary valueForKey: @" data"  ] UTF8String ]),
138+                     .isMainFrame  = static_cast <bool >([[dictionary valueForKey: @" isMainFrame"  ] boolValue ])
138139                };
139140                webViewEventEmitter->onMessage (data);
140141            }
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments