mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-05 10:28:54 +00:00
* On iOS, resuming after the 5-minute window showed no biometric prompt —
just a blocking alert whose only button logged the user out. A failure to
evaluate device security was indistinguishable from a verdict that the
device is not secured. Android had the same class of bug, where
user-cancel codes led to logout.
Outcomes are now classified three ways, so only a genuine credential
rejection or a genuinely unsecured device acts destructively; cancels and
indeterminate results offer a retry. SecurityManager and ManagedApp share
the policy-free parts via app/utils/security/.
Also fixes a resume stacking a second prompt behind an open alert, a
backgroundSince bypass, and a latched flag that disabled the MDM PIN.
* feedback review
* gate app state
* fix tests
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| draft_upload_manager | ||
| ephemeral_mode_manager | ||
| intune_manager | ||
| performance_metrics_manager | ||
| security_manager | ||
| apps_manager.test.ts | ||
| apps_manager.ts | ||
| global_event_handler.test.ts | ||
| global_event_handler.ts | ||
| integrations_manager.ts | ||
| network_manager.ts | ||
| network_performance_manager.test.ts | ||
| network_performance_manager.ts | ||
| session_manager.test.ts | ||
| session_manager.ts | ||
| websocket_manager.test.ts | ||
| websocket_manager.ts | ||