Commit graph

29 commits

Author SHA1 Message Date
Marco Romano
794ad4ab95
Switch off enableOnBackInvokedCallback due to androidx bug (#1517)
Switch off `enableOnBackInvokedCallback` until https://issuetracker.google.com/issues/271303558 is fixed.


Fixes https://github.com/vector-im/element-x-android/issues/1461
2023-10-09 08:39:56 +00:00
Benoit Marty
55a9d30b99 Format file. 2023-09-28 10:54:42 +02:00
Benoit Marty
949a24560f Import network-security-config.xml file from EA. 2023-09-28 10:54:26 +02:00
Marco Romano
5d15b1ab91 Enable Android 13/14 predictive back gesture
https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture
2023-09-18 12:07:26 +02:00
Jorge Martin Espinosa
e19b27badf
De-duplicate sonar job in the CI (#1238)
* De-duplicate sonar job in the CI

* Remove workaround for `src/*/kotlin` folders

* Downgrade the sonarqube plugin version

* Try increasing workers for this job, since it's quite slow

* Warn about regression in latest sonarqube release

* Forbid backups to prevent cryptographic issues
2023-09-07 11:19:13 +00:00
Jorge Martín
4e3bea08e6 Fix tests and warnings 2023-07-26 10:42:28 +02:00
Jorge Martin Espinosa
9247cd765a
Fix: make sure we ignore notifications for open rooms (#867)
* Make sure we ignore notifications for open rooms
- Listen to process lifecycle changes in `AppForegroundStateService`. Use initializers to reliable create it.
- Merge `AppNavigationState` with `AppForegroundState`. Renamed the previous `AppNavigationState` to `NavigationState`, created a new `AppNavigationState` which contains both the navigation state and the foreground state.
2023-07-17 17:02:06 +02:00
Jorge Martin Espinosa
a0c1f2c18a
Display room invitation notification (#735)
* Notifications: Add some extra mappings so we keep the original contents and can pass it later to an UI layer

* Fix notifications not appearing for a room if the app was on that room when it went to background.

* Modernize how we create spannable strings for notifications, remove unneeded dependency

* Remove actions from invite notifications temporarily

* Add `NotificationDrawerManager` interface to be able to clear membership notifications when accepting or rejecting a room invite

* Fix tests

* Add comment to clarify some weird behaviours

* Address review comments

* Set circle shape for `largeBitmap` in message notifications

* Fix no avatar in DM rooms

* Fix rebase issues

* Add invite list pending intent:

- Refactor pending intents.
- Make `DeepLinkData` a sealed interface.
- Fix and add tests.

* Rename `navigate__` functions to `attach__`

* Add an extra test case for the `InviteList` deep link

* Address most review comments.

* Fix rebase issue

* Add fallback notification type, allow dismissing invite notifications.

Fallback notifications have a different underlying type and can be dismissed at will.

* Fix tests
2023-07-10 14:34:58 +02:00
ganfra
fa63ed1faf MediaViewer: improve actions (save on disk and share) 2023-06-02 20:13:17 +02:00
Benoit Marty
47af53049e Avoid Custom Chrome tab to appear as recent activity. 2023-05-30 15:59:58 +02:00
Benoit Marty
d2f969252d Oidc with CustomTab 2023-05-30 15:59:58 +02:00
Jorge Martin Espinosa
5eaa40a14b [Media upload] Media pre-processing (#403)
* Create `mediaupload` module for media pre-processing.

* Split `mediapicker` and `mediaupload` modules.
2023-05-10 10:06:56 +02:00
Jorge Martin Espinosa
eeca1c9ee3 Add PickerLauncher wrapper for media/file pickers. (#361)
* Add `PickerLauncher` wrapper for media/file pickers.

* Add FileProvider path, handle Camera picker and add NoOp implementation to fix tests.

* Move media pickers to their own module.

* Add missing media pickers

* Add feature flag and some extra tests
2023-04-28 10:52:34 +02:00
Benoit Marty
b0f14bfb15 Deeplink: handle notification click to open a room. 2023-04-13 15:35:01 +02:00
Benoit Marty
8d5ecfd358 Fix multi Activity wen opening app from notification. 2023-04-05 16:59:17 +02:00
ganfra
6989994b50 Create sample app for checking stuff quickly 2023-02-14 20:57:11 +01:00
ganfra
d43d433d38 Add uiMode to configChanges as it's handled by compose 2023-02-01 15:56:30 +01:00
ganfra
4b010e01df Add splash for android < 12 so app is not completely blank during process creation 2023-01-31 20:49:47 +01:00
ganfra
9e211b5e04 Merge branch 'develop' into feature/fga/navigation First step: makes it compile by disabling the new screens (need to migrate to nodes) 2023-01-06 19:22:52 +01:00
ganfra
13bf2765e4 Let compose handle some config changes 2023-01-03 19:49:47 +01:00
Benoit Marty
19301756e3 Add missing Copyright 2022-12-22 13:51:56 +01:00
Benoit Marty
0644a5822f Code quality
Code quality
2022-12-21 15:32:53 +01:00
ganfra
05dc3b636c Continue setting up dagger 2022-12-14 20:15:51 +01:00
Benoit Marty
dd4d2bcd74 Temporary block orientation to sensorPortrait because the RichTextEditor library is crashing on configuration change.
No quick fix found so far.
2022-11-22 16:13:16 +01:00
Benoit Marty
04d2e206ee Composer compiling and running 2022-11-08 15:59:07 +01:00
Benoit Marty
1238047b08 Add a module for the Matrix SDK with the aar of the Rust SDK 2022-10-11 14:05:39 +02:00
Benoit Marty
383be4802c Create login module 2022-10-10 11:53:22 +02:00
Benoit Marty
6a6cab33fd Use latest libraries and SDK 2022-10-07 15:40:50 +02:00
Benoit Marty
4dc26a4ffa Create project from AS wizard "Empty Compose Activity (Material 3)" 2022-10-07 15:05:13 +02:00