Skip to content

Re-fetch client configuration before sending password-protected messages #2658

@sosnovsky

Description

@sosnovsky

Currently client configuration is fetched only on app launch, and as app can be kept in iOS memory for a long time, client configuration can become outdated.

After recent addition of password-protected messages compliance functionality (#2645), it's important to have up to date client configuration before sending password-protected message.

To fix it, let's implement client configuration re-fetch when sending password-protected message, so app will have the latest version of disallowPasswordMessagesForTerms array.
For now, re-fetch should be performed only in enterprise builds.

+ update ui test

android - FlowCrypt/flowcrypt-android#2975

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions