-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React native Android 11 : crash issue #101
Comments
Hey, I've faced this issue as well. This usually happens on android with the default screen transition on react navigation v5. Its a bug in react-native-webview, where it crashes when react-navigation tries to animate its opacity. Here are a few threads you can follow - 430, 811 I personally use a workaround where I override the default animation with a more simple slide transition for screens that have the youtube player (or webviews). Use transitionpresets to choose a transition that doesn't involve opacity animations |
Hello there, I had the same crash situation and the following code block for react navigation prevented the crash.
|
Getting this error, while opening a screen which contains youtubePlayer Invariant Violation: Failed to call into JavaScript module method WebViewMessageHandler11.onMessage(). Module has not been registered as callable. Bridgeless Mode: false. Registered callable JavaScript modules (n = 12): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, HMRClient, AppRegistry, RCTEventEmitter, RNCWebViewMessagingModule. |
The app is crashed after open a screen that contains
react-native-youtube-iframe
component using react native navigation v5.The text was updated successfully, but these errors were encountered: