chrome.syncFileSystem + chrome.storage

121 views
Skip to first unread message

Wolf War

unread,
Dec 28, 2015, 12:20:52 PM12/28/15
to Chromium-Apps-Announce
is there any chance to use chrome.syncFileSystem for syncing data from chrome.storage.local to G-Drive ?

and without user interaction?

I have app data stored in chrome storage, and the data could be as big as 1-1.5 MB.
I'm exploring chrome.syncFileSystem, and if I could adopt it for usage in my app, it would be great
Data is pretty dynamic, so sync needs to be "triggered" without user interaction (save dialog or so...)

Is that possible to do with syncFileSystem API?

Dave Koberstein

unread,
Dec 28, 2015, 1:05:21 PM12/28/15
to Chromium-Apps-Announce
The way it works is you save files to the syncFileSystem. The location on your device (chrome, android, iOS) is determined by the app. The files are arbitrary. In the background it syncs to a special folder in your google drive file system. You can find this folder by searching drive for "Chrome Syncable FileSystem". Note that it goes not currently support drive folders.

The local storage is not chrome.storage.local and the drive storage doesn't show up in your "my drive".
Reply all
Reply to author
Forward
0 new messages