Skip to content

Plugins

How to Securely Store Credentials with Capacitor

A common requirement for mobile apps is the secure storage of credentials such as passwords, tokens, or API keys, as well as user authentication via biometric features like fingerprints or facial recognition. Previously, this was straightforward to implement using the Identity Vault and Secure Storage solutions from the Ionic team, particularly in enterprise environments. However, these plugins will no longer be maintained in the future. Therefore, we want to demonstrate how to achieve a similar solution using our brand-new Capacitor Biometrics and Capacitor Secure Preferences plugins.

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.