getFolderContents for Cordova

getFolderContents did not work in Cordova