TheWidlarzGroup / react-native-video

A <Video /> component for react-native
https://docs.thewidlarzgroup.com/react-native-video/
MIT License
7.23k stars 2.9k forks source link

[BUG]: onEnd was called, but navigation did not occur. #4258

Closed sathyapriya31 closed 3 weeks ago

sathyapriya31 commented 1 month ago

Version

6.7.0

What platforms are you having the problem on?

iOS, Android

System Version

Android 14

On what device are you experiencing the issue?

Real device

Architecture

New architecture with interop layer

What happened?

I am navigating to the next screen when the video ends. Although onEnd is called, the navigation is not occurring.

Reproduction Link

repository link

Reproduction

Step to reproduce this bug are: I am navigating to the next screen when the video ends. Although onEnd is called, the navigation is not occurring. <Video source={url} onEnd={() => navigateToNextScreen() } style={{flex: 1}} fullscreen resizeMode="stretch" shutterColor={Colors.white} />

github-actions[bot] commented 1 month ago

Thank you for your issue report. Please note that the following information is missing or incomplete:

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

sathyapriya31 commented 1 month ago

Issue resolved. The problem was caused by the fullscreen props in the video