Hi there,
I have a problem with the filesystem, the requestFileSystem-method dies silently everytime I call it. The same code runs fine on Android.
I started to debug the app in xcode, the javascript file seems fine, also the native code seems to work, because I get the correct results. But when the callback from the native code is called, nothing happens in the javascript part of the app.
Other plugins work just fine and I can see the callbacks reach the javascripts.
I added a requestfilesystem call to the device ready event of my start screen:
console.log('try to get filesystem');
requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fs) {
console.log('got filesystem');
}, function(err) {
console.log('filesystem failed');
});
The first log-message gets printed.
Also I have added a log-message to the requestfilesystem.js at the beginning which also gets printed.
In the CDVCommandDelegateImpl.m I have added some breakpoints, there I get the result from the file plugin and everything seems fine.
But after the call of the performSelectorOnMainThread nothing reaches the javascript callback methods (I have added some logs which don't get printed).
I hope you can help me on this subject, because we would like to publish an update to our apps already in the store.
Thank you for your time and kind regards
Sam