TheWidlarzGroup/react-native-video

[Feature]: handle on back button click

Fechada

#4.217 aberto em 4 de out. de 2024

 (2 comentários) (0 reação) (0 responsável)Kotlin (3.027 forks)batch import
6.x.xV6featuregood first issue

Métricas do repositório

Stars
 (7.677 estrelas)
Métricas de merge de PR
 (Mesclagem média 2d 3h) (11 fundiu PRs em 30d)

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