Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

RequestFileSystem dies silently on iOS

Hello!

Have you tried to upgrade?

Sam6522984
Posts: 0
Joined: Thu Dec 26, 2013 2:35 pm

RequestFileSystem dies silently on iOS

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.

Sam6522984
Posts: 0
Joined: Thu Dec 26, 2013 2:35 pm

RequestFileSystem dies silently on iOS

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

Sam6522984
Posts: 0
Joined: Thu Dec 26, 2013 2:35 pm

RequestFileSystem dies silently on iOS

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

Sam6522984
Posts: 0
Joined: Thu Dec 26, 2013 2:35 pm

RequestFileSystem dies silently on iOS

Hi,

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

Cheers
Sam

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

RequestFileSystem dies silently on iOS

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?

Sam6522984
Posts: 0
Joined: Thu Dec 26, 2013 2:35 pm

RequestFileSystem dies silently on iOS

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

RequestFileSystem dies silently on iOS

Sam,

Thank you for the feedback, we'll test.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

RequestFileSystem dies silently on iOS

Hello!

Sorry, could you clarify steps to reproduce?

Sam6522984
Posts: 0
Joined: Thu Dec 26, 2013 2:35 pm

RequestFileSystem dies silently on iOS

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');

Return to “Issues”