React Native View Not working

Hi guys. I’m trying to run react-native-webview but I’m getting this error “method onshouldstartloadwithrequest does not exist on module” surprisingly this error doesn’t not afftect these two url (google.com & reactnative.dev) . If i try any other URL i get the above error. I tried downgrading the dependency with no luck. Please help