How can get correct file size in ios expo

Now I am making an app to manage media files such as video and audio files.
Btw, I can’t get correct file size of these media files in ios version.
I used FileSystem.getInfoAsync to get file size in expo-file-system library, but the file size is wrong.
How can I get correct file size in ios expo?
Please help me.

The file size is originally given in bytes, I believe. You will have to convert it (using some math formulae) into KB, MB, GB etc. This could be why you think the file size is wrong.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.