Page 2 of 4

RequestFileSystem dies silently on iOS

Posted: Wed Sep 24, 2014 1:52 pm
by Maryna Brodina

Hello!

Have you tried to upgrade?


RequestFileSystem dies silently on iOS

Posted: Thu Sep 25, 2014 8:55 am
by Sam6522984

Yes, I tried, but when I opened the app in the app list, the loading took forever, so I reverted back. I can give it a second try.


RequestFileSystem dies silently on iOS

Posted: Thu Sep 25, 2014 8:56 am
by Sam6522984

ok, worked xD. I'll test the app on the different platforms. As soon as I can test the iOS version I'll update here


RequestFileSystem dies silently on iOS

Posted: Thu Sep 25, 2014 9:54 am
by Sam6522984

Seems to work after the update. Had only a quick look into it, but looks good.


RequestFileSystem dies silently on iOS

Posted: Mon Nov 03, 2014 1:35 pm
by Sam6522984

Hi,

I have now the same problem again. When I call requestFileSystem the call returns immediatly.

Cheers
Sam


RequestFileSystem dies silently on iOS

Posted: Mon Nov 03, 2014 1:48 pm
by Evgene Karachevtsev

Hello Sam,

Could you please share your project with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a, tell us its name and steps to reproduce?


RequestFileSystem dies silently on iOS

Posted: Mon Nov 03, 2014 2:16 pm
by Sam6522984

Hi Evgene,

The project is already shared with the support, it's named "bonusplus". I have added some javascript code to the device ready event in the collectorScreen (in the bottom), so you just have to open the app and watch for the alerts.

Cheers
Sam


RequestFileSystem dies silently on iOS

Posted: Mon Nov 03, 2014 2:21 pm
by Evgene Karachevtsev

Sam,

Thank you for the feedback, we'll test.


RequestFileSystem dies silently on iOS

Posted: Tue Nov 04, 2014 7:56 pm
by Maryna Brodina

Hello!

Sorry, could you clarify steps to reproduce?


RequestFileSystem dies silently on iOS

Posted: Wed Nov 05, 2014 9:18 am
by Sam6522984

Hi Maryna

I have added some JavaScript to the "device ready" event of the startScreen, it will be automatically executed on start. You should get some alerts, most probably only the "try to open filesystem" and the "filesystem test finished".

console.log('try to open filesystem');
requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fs) {
console.log('got filesystem, try to get entry');
fs.root.getDirectory("BonusPlus/Logos", {
create: true,
exclusive: false
}, function(entry) {
console.log('got entry');
}, function(evt) {
console.log("FileSystem failure: " + evt.code);
});
}, function(evt) {
console.log("FileSystem failure: " + evt.code);
});
console.log('filesystem test finished');