mattermost-mobile-upstream/ios
Carlos Garcia a5ff8a0d95
Mm 68767 zero persistence (#9803)
* implements auto cache cleanup when zero persistence mode is enabled (0 value)

* uses memory flag with sqlite instead of loki when running in zero persistence mode

* renames ephemeral mode manager and improves readability

* zero persistence refactors and restore values during transitions

* fixes ephemeral mode tests

* use initializeClient instead of just initialize to wait for doReconnect to finish

that way teams loading is awaited while WS reconnects during ZPM transitions

* adds inital sync as a mount hook to prevent undesired load error states

during app cold start in ZPM mode, we need a way to load team and channels
without showing loading error during the transition. The nre is initial sync
hook allows for it

* reset started sync subject on wipe

* removes extra log lines

* resets tracked server during ephemeral mode transitions

* improvements to apply persistence mode changes when something fails

* address coderabbit PR suggestions

* add batching time logging

* throws ephemeral mode change error as is

* make deleteServerDatabaseFiles private

* inline derive persistence flag function

* return current user id when refetching current user

* support zero persistence mode server for push notifications

* adds support for zero persistence mode when sharing to mattermost

* adds clarifying comment

* catch and log error deleting files

* reorder translations to correct position

* adds some new tests to improve coverage

* ios push notification native fix

* logout when fetchMe fails with 401 status code during reconnection

* properly surface errors

* return proper false value when checking for zero persistence flag

* change comments and properly await on some operations

* prevent not set persistence mode to report as an error

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* include servers with no persistence flag set in share list

* disable button for accessibility

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* improves when to store and remove signing key from global area

* review push notification reception running in zero persistence mode

* add server to ephemeral mode manager right after login

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-16 13:55:45 +02:00
..
ErrorReporting fix(MM-63460): HTTPClientError spam (#8693) 2025-03-20 11:15:05 -06:00
Fonts Barebones code for v2 2020-11-17 14:20:58 -03:00
Gekidou Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00
Mattermost Bump app build number to 783 (#9923) 2026-07-10 13:19:04 +03:00
Mattermost.xcodeproj Bump app build number to 783 (#9923) 2026-07-10 13:19:04 +03:00
Mattermost.xcworkspace feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
MattermostShare Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00
MattermostTests Barebones code for v2 2020-11-17 14:20:58 -03:00
NotificationService Bump app build number to 783 (#9923) 2026-07-10 13:19:04 +03:00
SplashScreenResource Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
.xcode.env Gekidou upgrade RN to 0.69.3 and dependencies (#6537) 2022-08-08 09:06:20 -04:00
bundleReactNative.sh Multiple Fixes (#9767) 2026-05-19 16:35:20 +08:00
GekidouWrapper.swift Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
Podfile Revert "e2e(detox): Rainforest to Detox migration (#9790)" (#9834) 2026-06-15 17:57:01 +02:00
Podfile.lock fix critical crashes on Android (#9871) 2026-06-23 02:40:21 +08:00
Podfile.properties.json Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
PrivacyInfo.xcprivacy feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
uploadDebugSymbols.sh Added support for self-hosted Sentry (#7230) 2023-04-19 14:58:59 -04:00