Adding audio duration to the object returned from pickSingle
Why it is needed
I would like to get the duration of the audio file in order to able to add another feature to my app which would allow for users to be able to overlay audio.
Hello,
thank you for the feature request. Implementing this doesn't really make sense in the document picker though, I'd recommend creating / using another native module.
Thank you 🙂
Feature request
Adding audio duration to the object returned from pickSingle
Why it is needed
I would like to get the duration of the audio file in order to able to add another feature to my app which would allow for users to be able to overlay audio.
Possible implementation
Not sure if the
getInfo
method from this library would help: https://github.com/johnsonsu/react-native-sound-playerCode sample
It would be returning an additional
duration
property for audio type files