在 Chrome 上增加 LocalStorage

Increase LocalStorage on Chrome

我有一个适用于 Android 的工作灯应用程序。我们使用 JSONStore 来存储应用程序断开连接时所需的大约 10MB 数据。前端代码在Angular 2、typescript。当我们 运行 "mfp cordova run" 并选择 android 设备时,JSONStore 没有问题。但是当它在 CHROME 中 运行s 时,(我们所有的测试都需要)我们得到了 "DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'jsonstore.myDatabase' exceeded the quota."

请帮忙。

在 Web 浏览器中运行的 Mobile Foundation JSONStore 不使用 SQLite 数据库,它使用 HTML5 具有 5 MB 容量的 LocalStorage。
我会在模拟器、物理设备中进行测试,或者减少测试数据。