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

Bug Version Android #331

Open
NeuVanessa opened this issue Mar 24, 2024 · 2 comments
Open

Bug Version Android #331

NeuVanessa opened this issue Mar 24, 2024 · 2 comments

Comments

@NeuVanessa
Copy link

I'm trying to play the videos using the library, but I have this error.

ERROR Invariant Violation: Failed to call into JavaScript module method WebViewMessageHandler7.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

         <YoutubePlayer
          videoId={"cRlYOHIwUGw"}
          height={250}
          ref={playerRef}
          initialPlayerParams={{
            controls: false,
            modestbranding: false,
            showClosedCaptions: 0,
          }}
          //onPlaybackQualityChange={"hd1080"}
          mute
          play
        />
@LonelyCpp
Copy link
Owner

can you add more details about your setup? (use the issue template)

@rsunbabu
Copy link

rsunbabu commented Apr 8, 2024

I too did see this error. Can you run this and see

sudo npx expo install --check

the cause of the issue may w.r.t to the react-native-webview version installed. In my case; after running the above command the version was downgraded and then it worked perfectly

image

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

3 participants