TheWidlarzGroup/react-native-video

[Feature]: handle on back button click

Fermée

#4 217 ouverte le 4 oct. 2024

 (2 commentaires) (0 réaction) (0 personne assignée)Kotlin (3 027 forks)batch import
6.x.xV6featuregood first issue

Métriques du dépôt

Stars
 (7 677 étoiles)
Métriques de merge PR
 (Merge moyen 2j 3h) (11 PRs mergées en 30 j)

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

Guide contributeur