Syncable storage sample
Item logo image for Syncable storage sample

Syncable storage sample

Developer Tools40 users
Item media 1 screenshot

Overview

Hello World storage.sync Use chrome.storage.sync to share small chunks of data among all of your Chrome devices. To test, open this…

Hello World storage.sync Use chrome.storage.sync to share small chunks of data among all of your Chrome devices. To test, open this app in two different devices, both signed in with the same user. Important: needs "key" in manifest.json to support testing outside of CWS, so that sync storage is shared among different instances. // app.js chrome.storage.sync.set({"myValue": newValue}, mycallback); ... chrome.storage.onChanged.addListener( function(changes, namespace) { // do something } ); ... chrome.storage.sync.get("myValue", function(val) { // do something } ); See the source code at https://github.com/GoogleChrome/chrome-app-samples/tree/master/hello-world-sync This version was built from git commit d0e4bdf https://github.com/GoogleChrome/chrome-app-samples/tree/d0e4bdf/hello-world-sync

0 out of 5No ratings

Google doesn't verify reviews. Learn more about results and reviews.

Details

  • Version
    2
  • Updated
    October 1, 2013
  • Offered by
    Chrome App Samples
  • Size
    382KiB
  • Languages
    English (United States)
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has not provided any information about the collection or usage of your data.

Support

For help with questions, suggestions, or problems, visit the developer's support site

Google apps