You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
1.2 Platform Implementation & Best Practices. Mobile Security 2026
#1580
Unsecure Options:UserDefaults, CoreData (without custom encryption), plain SQLite, or standard application documents/cache directories.
Secure Option: Use the Keychain Services API for small pieces of data (tokens, credentials, keys). For larger databases, use SQLCipher to encrypt the local SQLite/CoreData database.
Data Protection Class: When writing sensitive files directly to disk, use iOS Data Protection. Pass Data.WritingOptions.completeFileProtection to encrypt the file on disk, which remains encrypted when the device is locked.
Android: Secure Storage
Unsecure Options: Plain SharedPreferences, standard internal/external storage files, or standard SQLite databases.
Secure Option: Use EncryptedSharedPreferences and EncryptedFile (from the Jetpack Security library), which automatically handle key management and encryption of storage components using AES-256 (for files) and AES-256-SIV (for keys/values).
Database Encryption: If using SQLite or Room, encrypt the database with SQLCipher for Android, using a hardware-backed master key generated in the Android Keystore.
This is a maintainer FAQ for app-store-compliance, an open playbook and pre-submission guard for App Store and Google Play review. Run bash scripts/install.sh install, then run the guard on your project before you submit. Questions or a correction? Reply below.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
iOS: Secure Storage
UserDefaults, CoreData (without custom encryption), plain SQLite, or standard application documents/cache directories.Data.WritingOptions.completeFileProtectionto encrypt the file on disk, which remains encrypted when the device is locked.Android: Secure Storage
SharedPreferences, standard internal/external storage files, or standard SQLite databases.Source section. MOBILE-SECURITY-2026.md, 1.2 Platform Implementation & Best Practices.
This is a maintainer FAQ for app-store-compliance, an open playbook and pre-submission guard for App Store and Google Play review. Run
bash scripts/install.sh install, then run the guard on your project before you submit. Questions or a correction? Reply below.All reactions