TheWidlarzGroup/react-native-video

[Feature]: handle on back button click

Open

#4.217 aberto em 4 de out. de 2024

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Kotlin (7.677 stars) (3.027 forks)batch import
6.x.xfeaturegood first issue

Description

Description

I'm using react native video on visionOS and would like to keep the default controls but want to handle the back button click. Is there a way to listen handle the back button click or listen to a back event?

Why it is needed ?

So we can handle the back button while keeping default control components.

Possible implementation

Technical POV how to do it

Code sample

Code sample

Guia do colaborador