vibinex / chrome-extension

This chrome extension adds actionable overlays based on the company's data (code, deployments and success metrics)
GNU General Public License v3.0
11 stars 7 forks source link

Using `chrome.storage.sync` breaks the whole extension if the user does not want to sync accounts on chrome #70

Closed avikalpg closed 1 year ago

avikalpg commented 1 year ago

This happened during one of the installations. The user used Chrome with their personal profile on a work computer but did not choose to sync the data between accounts. This completely broke their experience of using the application. Instead, the 'onInstalled' event will be triggered on every browser they want to use our extension. So we can use the local storage instead of the sync storage.