Skip to content
Discussion options

You must be logged in to vote

Guideline. Data Security (App Store and Google Play)

Severity in the playbook. high

What triggers it. Sensitive session credentials or tokens are saved directly to unencrypted plist, UserDefaults, or SharedPreferences instead of Keychain or Android Keystore / EncryptedSharedPreferences.

What to search your code for. UserDefaults.standard.set, getSharedPreferences

How to fix it. Store all sensitive data and access tokens in iOS Keychain or Android EncryptedSharedPreferences.

The guard reports this as BOTH-SECURE-STORAGE. The full pattern is in data/rejection-patterns.json.


This is a maintainer FAQ for app-store-compliance, an open playbook and pre-submission guard for App Store and Google…

Replies: 1 comment

Comment options

mjmirza
Nov 5, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by mjmirza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant