Skip to main content
Encrypted key-value storage fully bridged to your web layer. Data survives app restarts, updates, and full uninstall/reinstall cycles. Lock any value behind Face ID or Touch ID by setting locked=true, reading it back triggers the biometric prompt.
Storage Vault uses iCloud Key Value Store on iOS and Android Key/Value Backup on Android. Data syncs automatically across all devices sharing the same Apple ID or Google account.

Installation


How it works

Call setvault:// to store a value and readvault:// to read it back. If the key does not exist, readvault:// throws, wrap in try/catch to handle first-time users.
Set locked=true to require biometric authentication before a value can be read:

Common patterns

Prevent free trial abuse

Data survives uninstall and reinstall, so you can identify users who have already used a trial even after they delete and re-download the app.

Persist a login session

Protect a sensitive action with Face ID


Resources

NPM Package

despia-native