Chrome extension cleans storage on uninstall

Is there any way to prevent deleting localStorage and data in sync storage (chrome.storage.sync) when user is uninstalls extension? I need to keep persistant authorization data (at least for testing)

Upvotes: 2

Views: 1353

Answers (1)

Dmitrii Sorin
Dmitrii Sorin

Reputation: 4016

The answer is no. But there's a bug (or feature?): IndexedDB storage is not deleted with your extension data. Probably you can try that.

Upvotes: 5

Related Questions