ERROR Error: Uncaught (in promise): QuotaExceededError Ionic 3

此生再无相见时 提交于 2019-12-12 10:05:45

问题


I am creating an app with ionic 3. I am saving a string in ionic storage. I was working fine but suddenly I am getting this error.

Home.ts (This is where I am setting my string)

          this.storage.set("123", JSON.stringify(data))
          .then(() => {
             console.log("Saved")
          })

My string:

{"ImagePath":"Attachment/ProfileThumbnail/20180412134416Picture.jpg","name":"Sal man Ullah Khan","userId":238}


回答1:


Just clear the storage of your App in the browser.

Chrome: Go to DevTools. Press F12, Application tab then Clear storage.



来源:https://stackoverflow.com/questions/50128658/error-error-uncaught-in-promise-quotaexceedederror-ionic-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!