Skip to content

fix(mobile): support server direct editing API for Android v34+ and f…#5805

Draft
elzody wants to merge 1 commit into
mainfrom
fix/mobile-editing
Draft

fix(mobile): support server direct editing API for Android v34+ and f…#5805
elzody wants to merge 1 commit into
mainfrom
fix/mobile-editing

Conversation

@elzody

@elzody elzody commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

…ix iOS 404

Android v34+ now reaches richdocuments via the server's OCP\DirectEditing API (OfficeDirectEditor/RegisterDirectEditorListener). Update mobile.js to forward callMobileMessage() calls to window.DirectEditingMobileInterface so that TextEditorWebView receives the loaded() signal when Collabora fires Frame_Ready.

iOS clients (all versions) use the legacy OCS endpoint. OCSController::createDirect() now returns the old richdocuments.directView.show/{token} URL for non-Android-v34 callers so they no longer hit the unregistered-editor path and receive a 404.

Expose RegisterDirectEditorListener::MIN_MOBILE_CLIENT_VERSION as public const so OCSController can reference the version gate without duplication.

Assisted-by: ClaudeCode:claude-sonnet-4-6

  • Resolves: #
  • Target version: main

Summary

TODO

  • ...

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Documentation (manuals or wiki) has been updated or is not required

…ix iOS 404

Android v34+ now reaches richdocuments via the server's OCP\DirectEditing API
(OfficeDirectEditor/RegisterDirectEditorListener). Update mobile.js to forward
callMobileMessage() calls to window.DirectEditingMobileInterface so that
TextEditorWebView receives the loaded() signal when Collabora fires Frame_Ready.

iOS clients (all versions) use the legacy OCS endpoint. OCSController::createDirect()
now returns the old richdocuments.directView.show/{token} URL for non-Android-v34
callers so they no longer hit the unregistered-editor path and receive a 404.

Expose RegisterDirectEditorListener::MIN_MOBILE_CLIENT_VERSION as public const
so OCSController can reference the version gate without duplication.

Assisted-by: ClaudeCode:claude-sonnet-4-6
Signed-off-by: Elizabeth Danzberger <elizabeth@elzody.dev>
@elzody elzody self-assigned this Jun 29, 2026
@elzody elzody added the 2. developing Work in progress label Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant