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.