title: Chrome extension asks to turn on Sync despite of using local storage
body: <p>I am working on a Chrome extension that stores data in local storage. But when I install to someone else system from Chrome Play store, it asks to Turn on Sync. Below is my manifest. The interesting thing is, even if someone refuses to turn sync on, it still works.</p>
  
  <pre><code>{
    "manifest_version": 2,
    "name": "XX",
    "description": ".....",
    "version": "0.1",
    "chrome_url_overrides": {
      "newtab": "newtab.html"
    },
    "icons": {
      "16": "icon_16.png",
      "128": "icon_128.png",
      "48": "icon_48.png"
    },
    "content_scripts": [
      {
        "matches": [
          "http://*/*"
        ],
        "css": [
          "bootstrap.css"
        ],
        "js": [
          "jquery.js",
          "bootstrap.js",
          "custom.js"
        ],
        "run_at": "document_end"
      }
    ],
    "background": {
    },
    "browser_action": {
      "default_title": "..."
    },
    "permissions": [
      "tabs",
      "storage"
    ]
  }
  </code></pre>
  
  <p>What's wrong am I doing?</p>
  
  <p><strong>Update</strong>
  Below is the code related to the storage</p>
  
  <pre><code> // Fetch last timestamp
      chrome.storage.local.get('records_fetch_ts', function (date_rec) {
          old_time = date_rec['records_fetch_ts'];
          if(typeof old_time != 'undefined') {
              current_time = new Date().getTime()
              var timeinmilisec = current_time - old_time;
              days = Math.floor(timeinmilisec / (1000 * 60 * 60 * 24));
          }
  
      });
  
      chrome.storage.local.get('records', function (result) {
          records = result;
          //records = null;
  
          if (!$.isEmptyObject(records))
              entries = JSON.parse(result['records'])
  
              // Preparation of Random result
              if (entries.length &gt; 0)
                  itemsLength = entries.length;
  
              if (itemsLength &gt; 0)
                  random_number = Math.floor((Math.random() * itemsLength) + 1);
  
              single_item = entries[random_number];
              console.log(single_item);
  
              if (single_item != null)
                  $('#asin').html(single_item['asin'])
              updateUI(single_item)
              console.log(days)
          //if (records == null &amp;&amp; days &gt; 10) {
          if ((days &lt; 0 || days &gt; 10) || records == null) {
              console.log('Fetch me dude');
              fetchData();
          }
      });
  </code></pre>