FileSystem.getInfoAsync is returning an object that doesn't match Docs

#1

I have wasted some time due to using FileSystem.getInfoAsync() and waiting for the result described at Expo Docs.

In the Docs, the exists attribute is defined as boolean, while when testing in iOS, it returns as 1, when file exists, or 0, when it does not. On Android, the result is as expected.

0 Likes

#2

Please open an issue on the repo https://github.com/expo/expo-file-system

0 Likes

closed #3

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

0 Likes