Answer the question
In order to leave comments, you need to log in
React native how to get file properties?
How to get file properties. By type of author, if this is audio, then the duration. Those as in the windows file properties section for details.
Answer the question
In order to leave comments, you need to log in
In general, it all depends on the specific type of file, and parsing its metadata
from an image is worth parsing EXIF
from mp3 parsing ID3 (you can adapt existing libraries like this )
if you need general data about the file (size, creation date, etc), then you can use the stat method from react -native-fs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question