TheWidlarzGroup/react-native-video

[Feature]: handle on back button click

Open

#4217 aperta il 4 ott 2024

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Kotlin (3027 fork)batch import
6.x.xfeaturegood first issue

Metriche repository

Star
 (7677 star)
Metriche merge PR
 (Merge medio 34g 22h) (1 PR mergiata 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