Skip to content

Commit 6bffc1b

Browse files
authored
Fix WebView links
1 parent 8b584ca commit 6bffc1b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/custom-webview-android.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public class NavigationCompletedEvent extends Event<NavigationCompletedEvent> {
110110

111111
You can trigger the event in your web view client. You can hook existing handlers if your events are based on them.
112112

113-
You should refer to [ReactWebViewManager.java](https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/views/webview/ReactWebViewManager.java) in the React Native codebase to see what handlers are available and how they are implemented. You can extend any methods here to provide extra functionality.
113+
You should refer to [ReactWebViewManager.java](https://github.com/react-native-webview/react-native-webview/blob/master/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java) in the React Native WebView codebase to see what handlers are available and how they are implemented. You can extend any methods here to provide extra functionality.
114114

115115
```java
116116
public class NavigationCompletedEvent extends Event<NavigationCompletedEvent> {
@@ -206,7 +206,7 @@ If you want to add custom props to your native component, you can use `nativeCon
206206

207207
For events, the event handler must always be set to a function. This means it isn't safe to use the event handler directly from `this.props`, as the user might not have provided one. The standard approach is to create a event handler in your class, and then invoking the event handler given in `this.props` if it exists.
208208

209-
If you are unsure how something should be implemented from the JS side, look at [WebView.android.js](https://github.com/facebook/react-native/blob/master/Libraries/Components/WebView/WebView.android.js) in the React Native source.
209+
If you are unsure how something should be implemented from the JS side, look at [WebView.android.js](https://github.com/react-native-webview/react-native-webview/blob/master/src/WebView.android.tsx) in the React Native WebView source.
210210

211211
```jsx
212212
export default class CustomWebView extends Component {

0 commit comments

Comments
 (0)