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

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.

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

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