mattermost-mobile-upstream/app/managers
Elias Nahum 743cabbd60
On iOS, resuming after the 5-minute window showed no biometric prompt — (#10102) (#10132) (#10135)
* 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 f00701ec9a)

Co-authored-by: Mattermost Build <build@mattermost.com>
2026-09-07 08:50:51 +03:00
..
draft_upload_manager Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
ephemeral_mode_manager Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00
intune_manager Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
performance_metrics_manager Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
security_manager On iOS, resuming after the 5-minute window showed no biometric prompt — (#10102) (#10132) (#10135) 2026-09-07 08:50:51 +03:00
apps_manager.test.ts Enforce names for singleton imports (#8639) 2025-02-27 12:46:17 +01:00
apps_manager.ts Enforce names for singleton imports (#8639) 2025-02-27 12:46:17 +01:00
global_event_handler.test.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
global_event_handler.ts [MM-68315] Add autorecovery for database corruptions (#9900) 2026-07-13 18:02:35 +02:00
integrations_manager.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
network_manager.ts Fix Regressions (#9808) 2026-06-04 06:54:40 +08:00
network_performance_manager.test.ts feat(MM-65145): low connectivity manager (#9283) 2025-12-04 10:44:33 -07:00
network_performance_manager.ts feat(MM-65145): low connectivity manager (#9283) 2025-12-04 10:44:33 -07:00
session_manager.test.ts Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00
session_manager.ts Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00
websocket_manager.test.ts Receive Mattermost Calls through iOS native incoming-call UI (#9780) 2026-06-16 12:08:14 -03:00
websocket_manager.ts Receive Mattermost Calls through iOS native incoming-call UI (#9780) 2026-06-16 12:08:14 -03:00