TheWidlarzGroup/react-native-video

[Feature]: handle on back button click

Chiusa

#4217 aperta il 4 ott 2024

 (2 commenti) (0 reazioni) (0 assegnatari)Kotlin (3027 fork)batch import
6.x.xV6featuregood first issue

Metriche repository

Star
 (7677 stelle)
Metriche merge PR
 (Merge medio 2g 3h) (11 PR mergiate in 30 g)

Descrizione

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

Guida contributor