How to use unlimitedStorage in chromeapp?

Viewed 2816

I am a beginner and trying to make a chrome app. My chrome app has persistent needs and will therefore use an indexed db. Also, I want the app to have unlimitedStorage.

I am using

chrome.storage.sync
chrome.storage.local

to set and get values.

In my manifest file, when I use "unlimitedStorage" I get an error saying that sync ,local is undefined.

But, in my manifest file, if I use "storage" i don't get any errors.

Can anyone let me know how to do this?

1 Answers
Related