jszip icon indicating copy to clipboard operation
jszip copied to clipboard

Chrome app does now provide localStorage

Open select opened this issue 9 years ago • 2 comments

I am using jszip sucesfully in a chrome app but loading it triggers an error.

extensions::platformApp:17 window.localStorage is not available in packaged apps. Use chrome.storage.local instead.

Would be nice to prevent that.

Other than that it was smooth sailing, thanks for the great work!

select avatar Aug 20 '16 22:08 select

I can't reproduce it with the sample extension (loading JSZip and console.log it). Do you have a minimal test case to reproduce the issue ?

dduponchel avatar Aug 21 '16 10:08 dduponchel

Yes this is an issue with a chrome app, not chrome extension.

I'll try in the next days to create an example app ... though the news just recently came out that chrome is going to phase out apps :/

select avatar Aug 22 '16 11:08 select