mirror of
https://github.com/ArcaneChat/android.git
synced 2026-06-02 03:33:42 +02:00
copilot/fix-chat-links-accessibility
The previous AccessibilityDelegateCompat approach had two fatal flaws: 1. The delegate was only set when isTouchExplorationEnabled() returned true AT BIND TIME — a timing bug that caused TalkBack to see no actions if the view was bound before TalkBack fully initialised. 2. Even when set, the delegate/custom-action-ID approach did not reliably produce an "Actions" submenu in the TalkBack local context menu on Android 14+. Replace the entire mechanism with ViewCompat.addAccessibilityAction(), the modern API (androidx.core 1.5.0+) that TalkBack always surfaces under "Actions". Actions are registered unconditionally at bind time; stale actions from recycled views are removed via ViewCompat.removeAccessibilityAction() before re-registration. Delete the now-unused LinkAccessibilityDelegate class. Agent-Logs-Url: https://github.com/ArcaneChat/android/sessions/95854760-c8e5-43d8-b7b4-55879a7c5dea Co-authored-by: adbenitez <24558636+adbenitez@users.noreply.github.com>
…
…
…
…
…
…
ArcaneChat Android Client
A Delta Chat client for Android. Learn more at: https://arcanechat.me
WebXDC
This app has some extended support for WebXDC apps:
window.webxdc.arcanechata string with the ArcaneChat version and can be used by app developers to detect when they can use the ArcaneChat-specific features.sendToChat(): extra propertysubjectcan be set to a text string to set message/email's subject.sendToChat(): extra propertyhtmlcan be set to a string of html markup to set the HTML part of the email/message.sendToChat(): the file object parameter also accepts atypefield that can be one of:"sticker""image""audio""video""file"(default iftypefield is not present)
- Inside apps, clicking external links is supported, ex. to open in browser, so you can include links to your website or donation pages.
manifest.tomlfield:orientation, if you set it to"landscape"your app will be launched in landscape mode.
Credits
This app is based on the official Delta Chat client with several improvements.
This app uses a modified version of the Chatmail Core Library.
Description

