Skip to content
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

Closed
ghadeeraqraa1992 opened this issue Jan 24, 2021 · 3 comments
Closed

React native Android 11 : crash issue #101

ghadeeraqraa1992 opened this issue Jan 24, 2021 · 3 comments

Comments

@ghadeeraqraa1992
Copy link

The app is crashed after open a screen that contains react-native-youtube-iframe component using react native navigation v5.

@LonelyCpp
Copy link
Owner

LonelyCpp commented Jan 26, 2021

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

@arslanyakup
Copy link

arslanyakup commented Jan 27, 2021

Hello there,

I had the same crash situation and the following code block for react navigation prevented the crash.

navigationOptions: { animationEnabled: false }

@aj0911
Copy link

aj0911 commented May 18, 2024

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.
A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants