Question regarding the security of Local Page State Variables vs Persisted App State Variables

Project Settings

Hello, I am reading the documentation regarding the security of Persisted App State Variables:

"Securing persisted fields

You might want to store sensitive information in an App State variable (e.g., auth token, API keys, or anything that could reveal the user's personal information). The secure app state enables you to keep private data on a user's device securely.

  • This option is only available if you have any variable marked as 'Persisted'.

  • This will use the device-specific encrypted storage (KeyChain for iOS and EncryptedSharedPreferences on Android).

To secure the persisted fields, turn on the Secure persisted fields toggle."

So I understand the only way to have security is to use persisted app state variables? Is there a way to have security with local page state variables or using these is not secure at all for some reasons? Thanks.

What have you tried so far?

Reading the documentation.

Did you check FlutterFlow's Documentation for this topic?
Yes
1 reply