-
Improvement
-
Resolution: Fixed
-
Minor
-
5.0
-
MOODLE_500_STABLE
-
MOODLE_500_STABLE
-
MDL-84554-main -
-
-
This issue follows up on MDL-82426, where we initially planned to modify how the LMS supports partitioned cookies for the Moodle mobile app.
Given the uncertainty surrounding the future of third-party cookies (3PCs) and partitioned cookies (CHIPS) in Android WebView, we reached out to Google's Chromium WebView developers for clarification.
Background
Partitioned cookies are necessary when 3PCs are blocked, especially in scenarios where:
- Content from the Moodle site is embedded in the app (e.g., via iframes).
- An in-app browser instance is used for authentication.
Findings from Google’s Chromium WebView Developers
- Partitioned cookies are not being fully deprecated – while the current implementation is being phased out, partitioned cookies will be relaunched as the primary mechanism for supporting 3PCs, particularly in Chrome/Chromium-based web environments.
- The Moodle mobile app does not need to support partitioned cookies – Android does not plan to introduce an end-user setting to force disable 3PCs in the main WebView. Currently, it is only possible via a developer flag, which is restricted to development/experimental WebViews.
- Removal of partitioned cookie support is safe – since we can continue allowing 3PCs using the Android CookieManager, the same approach we currently use, we can safely remove partitioned cookie support from the mobile app.