mattermost-mobile-upstream/app/init
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
..
app.ts Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00
calls_native.test.ts Receive Mattermost Calls through iOS native incoming-call UI (#9780) 2026-06-16 12:08:14 -03:00
calls_native.ts [MM-69457] Stop logging PII in exportable app logs (#9884) 2026-07-02 12:19:04 +02:00
credentials.test.ts fix: prevent removal of pre-auth secret on logout (#9411) 2026-01-27 15:52:37 +01:00
credentials.ts fix: prevent removal of pre-auth secret on logout (#9411) 2026-01-27 15:52:37 +01:00
launch.test.ts Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00
launch.ts Mm 68767 zero persistence (#9803) (#9957) 2026-07-20 13:31:53 +03:00
managed_app.test.ts On iOS, resuming after the 5-minute window showed no biometric prompt — (#10102) (#10132) (#10135) 2026-09-07 08:50:51 +03:00
managed_app.ts On iOS, resuming after the 5-minute window showed no biometric prompt — (#10102) (#10132) (#10135) 2026-09-07 08:50:51 +03:00
push_notifications.test.ts Mm 68292 receive push wipe (#9822) 2026-06-25 10:42:30 +02:00
push_notifications.ts [MM-69457] Stop logging PII in exportable app logs (#9884) 2026-07-02 12:19:04 +02:00