Skip to content

Capacitor

How to Securely Store Credentials with Capacitor

A common requirement for mobile apps is secure storage of credentials (passwords, tokens, API keys) and user authentication via biometrics (fingerprint, Face ID). With Ionic's Identity Vault and Secure Storage no longer maintained, you can achieve the same with the Capacitor Biometrics plugin and Capacitor Secure Preferences.

For a complete walkthrough on the Biometrcis plugin make sure to read Exploring the Capacitor Biometrics API.

Announcing the Capacitor Secure Preferences Plugin

Today we are excited to announce our brand new Capacitor Secure Preferences plugin. This plugin is a drop-in replacement for the official Capacitor Preferences plugin and allows you to securely store key/value pairs such as passwords, tokens or other sensitive information. The plugin provides cross-platform support for Android, iOS and Web and is now available to all Capawesome Insiders.

How Live Updates for Capacitor work

One of the biggest advantages of Capacitor over other runtimes is the ability to deliver updates in real-time, without having to resubmit the app to the app stores. This feature is referred to as Live Updates or Over-the-Air (OTA) Updates. There already exist several plugins for this, such as our Capacitor Live Update plugin, which can be integrated into your app within minutes. But how do these plugins work in detail? That's exactly what we'll look at in this blog post.

How to gradually roll out Capacitor Live Updates

Live Updates are a powerful feature that allows you to deliver updates to your Capacitor app in real-time without having to resubmit your app to the app stores. In order to ensure a smooth rollout of updates, it is recommended to gradually roll out updates to your users. This way you can minimize potential issues and collect feedback from a smaller group of users before rolling out the update to all users.