google chrome app - Packaged App: syncFileSystem / fileSystem API - For *large* files -
i looking develop chrome packaged app (at simple level) provide dynamic form filling ui - allow users attach large attachments forms (could upwards of 10 files of 10mb each). have ability save , share form data , attachment via google drive. forms completed collaboratively multiple team members need see attachments. imagine form front-end/metadata sits on top of shared google drive folder...
i have read documentation, , learnt syncfilesystem api not intended use general and/or large files stored in google drive, rather small configuration data.
i looked @ filesytem api - hoping include sandboxed folder app in folders google drive client app (so files synced automatically) - doesn't sandbox meant accessed externally.
my current thinking recreate windows explorer type ui in packaged app (can use drag , drop) - store files in sandbox using filesystem api. can reuse code google drive sample packaged app implement cloud syncing. idea?
two questions stem this:
- how persistent filesystem api. documentation mentions user can purge stored files - done through 'clearing browser history' ? in case accidentally wipe many hundreds of mb of useful information storing in packaged app.
- i have read can use 3rd party authentication services (which want do). if use non-google account authenticate users, how google drive authentication work ? able use different google account perform cloud storage (i.e. unrelated actual end user, may or may not have google account - may signed in)
it seems waiting https://code.google.com/p/chromium/issues/detail?id=148486 (getting read access non-sandbox directories) easiest way forward.
i don't think clearing browser history deletes temporary sandbox filesystem files, they're supposed sort of automatically garbage collected when space required. make sense if checkbox in "clear browsing data" section of chrome's options. perhaps make answer first question more clear :-)
the second point, not sure how this, looks have figured out something? @ least that's page https://groups.google.com/a/chromium.org/forum/#!topic/chromium-apps/hoyu75cv0ae seems indicate
Comments
Post a Comment