Resolution: Won't Fix
Affects Version/s: Release 3.2.1
Fix Version/s: None
Using Anvil for SyncServer testing, an issue is surfacing when using Ti.Filesystem.getFile for checking folder.
Attached sample code run manually on device works as expected.
See lines 153 to 170 of the attached sample code 'app.js':
When run on device, it works as expected (destFile.exists() returns true).
However, running the same code on Anvil and adding a valueOf check:
is returning false, thus an error.
'externalfilesync.js' file attached is the Anvil test sample - see 'function copyfiles()' line 214.