I’m trying to add data into clientStorage with ‘setAsync’. Here is the steps :
- call setAsync → set data with key1 and value. (80kb)
- call setAsync → set data with key1 with new value(830kb)
then, error pops out that ‘clientStorage quota exceeded for this Plugin Id’.
Q. does the setAsync override the previous clientStorage key1 data with new key1 data?
for both data is under the 1MB, not sure why we gets this error.
figma.clientStorage.setAsync(key1, value);
second attempt I have tried,
- figma.clientStorage.deleteAsync(‘key1’).then( ()=> figma.clientStorage.setAsync(‘key1’,value) })
This code also returns the same warning and did not set the data into clientStorage.
