element-x-ada/libraries
Jorge Martin Espinosa 9bc2c4a776
Add shortcut suggestions for rooms, remove then when leaving (#5180)
* Report shortcut usage for outgoing messages

This patch adds support for creating and pushing dynamic
long-lived shortcuts for outgoing messages. This together
with an existing reference to the roomId used by the
shortcuts as an identifer allows conversations to be
prioritized.

See https://developer.android.com/training/sharing/direct-share-targets#report-usage-outgoing

* Simplify how to get the other user in a DM room

* Add initial avatar icons to shortcuts

* Remove room shortcuts when they're no longer joined

* Try using API 33 for the new tests. They worked locally with API 30, so it's weird the CI asks for a higher API version.

* Add observers for the pin code and session logout states. With this we can prevent new shortcuts from being created and remove existing ones when needed.

* Wrap all calls to `ShortcutManagerCompat` with `runCatchingExceptions` to avoid crashes

* Make `DefaultNotificationConversationService` a singleton.

---------

Co-authored-by: networkException <git@nwex.de>
Co-authored-by: ElementBot <android@element.io>
2025-08-19 16:02:51 +02:00
..
androidutils Fix bitrate value used for video transcoding (#5183) 2025-08-18 21:12:11 +00:00
architecture Avoid using runBlocking in Node resolve function. 2025-08-14 16:53:35 +02:00
audio Improve audio focus management (#4707) 2025-05-13 09:54:58 +00:00
core Fix leaving the room not always dismissing the room screen (#5089) 2025-08-12 10:37:31 +00:00
cryptography
dateformatter Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
deeplink
designsystem [UI] Iterate on user invite view. 2025-08-18 17:16:28 +02:00
di Fix coroutine scope (#4820) 2025-06-04 15:33:51 +00:00
encrypted-db refactor: Migrate SQLCipher Android to new API (#4874) 2025-06-23 09:29:44 +02:00
eventformatter Threads - first iteration (#5165) 2025-08-19 13:35:48 +00:00
featureflag Threads - first iteration (#5165) 2025-08-19 13:35:48 +00:00
fullscreenintent Use eventSink instead of lambda in states. 2025-06-10 16:01:45 +02:00
indicator Cleanup testImplementation dependencies (#4790) 2025-06-02 10:51:02 +02:00
maplibre-compose Fix warning about freeCompilerArgs deprecation. 2025-07-02 12:02:44 +02:00
matrix Add shortcut suggestions for rooms, remove then when leaving (#5180) 2025-08-19 16:02:51 +02:00
matrixui Add shortcut suggestions for rooms, remove then when leaving (#5180) 2025-08-19 16:02:51 +02:00
mediapickers
mediaplayer Fix coroutine scope (#4820) 2025-06-04 15:33:51 +00:00
mediaupload Threads - first iteration (#5165) 2025-08-19 13:35:48 +00:00
mediaviewer Threads - first iteration (#5165) 2025-08-19 13:35:48 +00:00
network Ensure big log does not crash the application 2025-07-08 12:30:17 +02:00
oidc Oidc: Fallback to external browser instead of using Webview (#4808) 2025-06-04 14:25:18 +00:00
permissions Sync Strings from Localazy (#4983) 2025-07-04 14:37:59 +00:00
preferences Add media file limit size warning and media quality selection (#5131) 2025-08-11 17:22:46 +02:00
previewutils Force last owner of a room to pass ownership when leaving (#5094) 2025-08-05 17:24:14 +02:00
push Add shortcut suggestions for rooms, remove then when leaving (#5180) 2025-08-19 16:02:51 +02:00
pushproviders deps (firebase) : bom >= 34.0.0 doesn't have ktx module anymore 2025-07-22 18:23:42 +02:00
pushstore
qrcode Check homeserver when login using qr code (#4708) 2025-05-15 14:08:05 +02:00
roomselect [a11y] Ensure that heading() is applied to all screen titles. 2025-07-04 12:15:42 +02:00
rustsdk
session-storage Fix coroutine scope (#4820) 2025-06-04 15:33:51 +00:00
testtags Remove ExperimentalComposeUiApi. Not necessary anymore. 2025-06-11 17:49:11 +02:00
textcomposer Threads - first iteration (#5165) 2025-08-19 13:35:48 +00:00
troubleshoot Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
ui-strings Add shortcut suggestions for rooms, remove then when leaving (#5180) 2025-08-19 16:02:51 +02:00
ui-utils Add media file limit size warning and media quality selection (#5131) 2025-08-11 17:22:46 +02:00
usersearch Add catchingExceptions method to replace runCatching (#4797) 2025-06-04 09:02:26 +02:00
voiceplayer Fix coroutine scope (#4820) 2025-06-04 15:33:51 +00:00
voicerecorder Fix coroutine scope (#4820) 2025-06-04 15:33:51 +00:00
wellknown Code cleanup 2025-08-11 14:53:40 +02:00