--
You received this message because you are subscribed to the Google Groups "Chromium Apps" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-app...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-apps/.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
--
You received this message because you are subscribed to the Google Groups "Chromium Apps" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-app...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-apps/.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
Thanks for the tip Orville!
So an update:After trying to load my app, I discovered that it flagged a few warnings:
- Permission 'fileSystem.retainEntries' is unknown or URL pattern is malformed.
- Permission 'fileSystem.directory' is unknown or URL pattern is malformed.
- Permission 'identity' is unknown or URL pattern is malformed.
I believe that these warnings are being flagged because retainEntry is definitely Chrome 31 (and onwards) andchrome.fileSystem.chooseEntry('openDirectory' has a note that says it's also new in Chrome 31.
This basically means that I need to get/build a more recent version of chromium/ChromeOS right before I can debug further? It seems like Hexxeh's builds stopped after he joined Google, are there no other existing images to quickly download and run? I have Linux I could run qemu! I just don't want to build the entire image.-DanOn Wednesday, May 21, 2014 4:37:47 PM UTC-6, Orville wrote:I usually zip up the app directory and put the ZIP file on Google Drive. On ChromeOS you can drag file from Drive into the Downloads folder using the file manager. You can then extract the files (ChromeOS has ZIP support built in) and load them as an unpackaged app.It makes sense that I wouldn't have encountered the issue you're seeing; I don't use openDirectory in my app.On Wed, May 21, 2014 at 2:04 PM, Daniel Tse <danp...@gmail.com> wrote:
Hi All,Thanks so much for everyone chiming in!I was able to get one of Hexxeh's Chromium Builds (28.0.1484.1) to load in VirtualBox and tested my app.On this build, I was able to see that on this build ChromeOS-Vanilla-4028.0.2013_04_20_1810-r706c4144-VirtualBox the call to chrome.fileSystem.chooseEntry({type:'openDirectory'} does not open a dialog. However, if you set the {type:'openFile'} the dialog does open.How does one debug an app on a Chromebook/Chromium? I have uploaded my unpacked Packaged App onto Google Drive but I don't see a way to access that folder from the Load Unpacked Extension dialog (Google Drive is not listed anywhere). I'd like to see what's happening before filing the bug.
-DanOn Wednesday, May 21, 2014 6:44:18 AM UTC-6, Ian Clelland wrote:I believe that the "sandbox" described in the chrome.fileSystem case refers to the fact that when a user grants access to a directory with c.f.chooseEntry, the application cannot access any files outside of that directory.
It seems like Hexxeh's builds stopped after he joined Google, are there no other existing images to quickly download and run? I have Linux I could run qemu! I just don't want to build the entire image.
Thank you for testing it out on your Chromebook Ben, I really appreciate it!So after a bit of back/forth with the users somehow.... (I'm not exactly sure how) for two separate users their Chromebooks were out of date and running an older version of Chrome and another had a lack of knowledge of the files app (and how it works) on Chrome. I had incorrectly assumed that they had a level of familiarity with the Chrome Platform.As a result, I realize a few things:
- I need to increase the minimum_chrome_version in my manifest from 28 to 31 to accommodate for the File Permissions - this ought to filter out older versions of Chrome/ChromeOS (right?)
- I definitely need to get recent build of ChromeOS (hexxeh's builds stop at 28 we're now at 35)
- I may need a way to save to Google Drive/Docs in my app rather than save on the File System