I have mobile web app that runs on iOS. I run JS code that is served from a remote server. in it, I call window.requestFileSystem and it evaluates as 'undefined'.
However, when evaluating this from a bundled .html file (located in the www folder of the xcode project) it IS defined.
How do I access Phonegap file system API from a remote JS code?