Skip to content

Commit 3e51d4d

Browse files
committed
docs: update navigation crash
1 parent 7a38b23 commit 3e51d4d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/navigation-crash.mdx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ id: navigation-crash
33
title: Crash when used with react-navigation
44
---
55

6-
The YoutubePlayer causes a crash immediately on navigating to another screen, and also sometimes when navigating to the screen that contains the component.
6+
- The YoutubePlayer causes a crash immediately on navigating to another screen, and also sometimes when navigating to the screen that contains the component.
7+
- crashes are observed only on android
8+
- only some android versions have this issue (likely tied to google chrome version)
79

810
:::info
911
This will happen if you have any webviews inside a screen.
@@ -78,8 +80,14 @@ Don't try to implement ALL of them.
7880
/>
7981
```
8082

81-
### github threads to follow
83+
## github threads to follow
8284

8385
- [issue #110](https://github.com/LonelyCpp/react-native-youtube-iframe/issues/110)
8486
- [issue #101](https://github.com/LonelyCpp/react-native-youtube-iframe/issues/101)
8587
- [rn-webview issue #811](https://github.com/react-native-webview/react-native-webview/issues/811)
88+
89+
## should the library handle this?
90+
91+
no.
92+
93+
All these are workarounds, and it's the responsibility of core libraries to fix the root cause.

0 commit comments

Comments
 (0)