【发布时间】:2020-06-21 07:46:00
【问题描述】:
我正在使用 NativeScript 6+ 和 Angular 8+ 编写应用程序。
我将需要使用一些客户端存储来保存一些数据,以便在用户每次使用应用程序时都会保留。
我在这里读到过:
https://docs.nativescript.org/ns-framework-modules/application-settings
https://www.nativescript.org/blog/client-side-storage-in-nativescript-applications
我将使用“应用设置”。
在开发和调试时,我希望能够查看和编辑应用设置的内容。我该怎么做?
【问题讨论】:
-
你可以在任何你喜欢的地方打印它们(或放置一个断点)(例如
console.log(getBoolean("isTurnedOn")))
标签: angular local-storage nativescript storage