Search docs/

数据存储

有多种选项可用于在Ionic应用程序中存储数据。

Here are two official Ionic options:

Ionic Secure Storage

For teams building mission-critical apps or requiring encryption support, Ionic Secure Storage is an official premium solution from the Ionic team that provides a cross-platform data storage system that works on iOS and Android.

It makes it easy to build high performance, offline-ready Ionic apps across iOS, Android, and the web.

Learn more

@ionic/storage

For developers not requiring encryption nor relational data support, @ionic/storage is an open source key/value API for building apps that work across storage engines on multiple platforms.

Additionally, Ionic Secure Storage has a driver that works with the key/value API in @ionic/storage while providing encryption and SQLite support.

Learn more about @ionic/storage

Previous
测试
Next
性能