Thanks, Chris (and Jason and Piotr). Do let me know if/when the API is/will be supported. Like I said the app is currently running on all other mobile platforms as it stands, I don't really want to have to re-implement the local storage stuff.
Regards, William -----Original Message----- From: Chris Mills [mailto:[email protected]] Sent: 20 October 2014 09:16 To: William Hudson; Jason Weathersby; Piotr Zalewa Cc: [email protected] Subject: Re: [b2g] Firefox OS support for Cordova File API? Hi William, I have cc’d Jason and Piotr on this mail, as they know considerably more about the Firefox OS Cordova support than me. Guys, see Williams’s question below - have we landed support for the Cordova File API stuff? According to the documenttion, no: https://developer.mozilla.org/en-US/Apps/Tools_and_frameworks/Cordova_support_for_Firefox_OS But this might be out of date now. I’m happy to update the docs if needed, and also to explore this specific problem. Chris Mills Senior tech writer || Mozilla developer.mozilla.org || MDN [email protected] || @chrisdavidmills > On 17 Oct 2014, at 16:04, [email protected] wrote: > > I have a Cordova app that runs on Android, iOS, Windows Phone and Kindle > Fire. I thought it might be fun to port it to Firefox OS. I've got a Flame > phone and the app now runs, but my calls to the Cordova File APIs, to load > and save options and game status on a semi-regular basis are failing. > > Does anyone know off-hand if the Cordova File APIs are supported? I thought > since I saw that Firefox OS was supported by Cordova, that this stuff would > work. Is it just a question of permissions (the app is packaged and > privileged) or do I need to do this differently altogether? > > Thanks in advance for any pointers! > > Regards, > > William > > PS - the failing calls are to things like window.requestFileSystem and > fileSystem.root.getDirectory. > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
