You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
I checked for possible duplicate issues, with possible answers.
Affected platforms
iOS
Android
Web
Bug summary
The value of duration is always 0 until the loaded track is played. It would be nice if duration would report the length of the track correctly before the track is played as I would like to be able to show the user the length of the track before they press the play button.
Before submitting a new issue
Affected platforms
Bug summary
The value of duration is always 0 until the loaded track is played. It would be nice if duration would report the length of the track correctly before the track is played as I would like to be able to show the user the length of the track before they press the play button.
Library version
9.9.1
Environment info
Steps to reproduce
AudioPro.play({...trackInfo}, {autoPlay: false});const { duration } = useAudioPro()AudioPro.play()Can be reproduced in the example app?
Reproducible example repository
https://github.com/evergrace-co/react-native-audio-pro