Ionic Storage unwanted changing

前端 未结 1 1138
[愿得一人]
[愿得一人] 2021-01-06 01:15

I\'m having problems with the Ionic Storage.

When I log into my app, its saved on storage some configuration objects. On my last check was on IndexedDb.

But

相关标签:
1条回答
  • 2021-01-06 02:12

    Turns out the problem is a "feature" (I think) of Chrome Web Dev Tools. You see, when I refresh the app I was using the Toggle Device Toolbar

    This helps the web design. If you notice this one is marked as Responsive

    For a lot of other reasons, I suddenly changed my tab to one of Iphone size

    I don't know why it works like this, but this little change make more than just alter the viewport size...

    The storage base in use changed as well, and my problem begun.

    In terms of a production App this will not be a problem, as I think the user was not able to "switch" viewport sizes on Chrome Dev Tools....

    That's it. Thanks Marcol for your help!!

    0 讨论(0)
提交回复
热议问题