Skip to content

docs(preferences): clarify that stored data is unencrypted and point to secure alternatives - #2571

Open
djabif wants to merge 1 commit into
ionic-team:mainfrom
djabif:patch-1
Open

docs(preferences): clarify that stored data is unencrypted and point to secure alternatives#2571
djabif wants to merge 1 commit into
ionic-team:mainfrom
djabif:patch-1

Conversation

@djabif

@djabif djabif commented Jul 28, 2026

Copy link
Copy Markdown

Description

Adds a short note to the Preferences README clarifying that data stored through this API is not encrypted, and points readers to an encrypted key/value alternative for sensitive data.

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation
  • Other (CI, chores, etc.)

Rationale / Problems Fixed

A recurring question from developers is whether Preferences is safe for storing tokens, credentials, or other sensitive values. The current note covers the "don't use this as a database" case and links SQLite-based alternatives, but doesn't address the encryption question directly, which leads people to store sensitive data here assuming it's protected.

…to secure alternatives

Adds a short note to the Preferences README clarifying that data stored through this API is not encrypted, and points readers to an encrypted key/value alternative for sensitive data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant