Commit Graph

114 Commits

Author SHA1 Message Date
Jorge Martin Espinosa 7fdba39d6d Disable vector XML rasterisation on API 23 (#2128)
* Disable vector XML rasterisation on API 23

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-29 11:41:08 +00:00
Benoit Marty d55282a775 Add test for IntentProviderImpl 2023-11-24 09:56:45 +01:00
Benoit Marty 5850f5342d Move Knit to Gradle catalog and use alias(libs.plugins.kotlin.serialization). Fix issue with JNA 2023-11-13 09:58:00 +01:00
Benoit Marty 067734ecb9 Move appdistribution declarations to Gradle catalog 2023-11-10 16:39:05 +01:00
renovate[bot] 515dca86b6 Update plugin com.google.firebase.appdistribution to v4.0.1 (#1656)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 08:12:44 +02:00
ganfra fdd9396089 Pin: add tests and make LockScreenConfig an injectable data class 2023-10-25 18:39:39 +02:00
Marco Romano 79d2941fe4 Include desugaring lib also in library modules (#1604)
## Type of change

- [ ] Feature
- [ ] Bugfix
- [x] Technical
- [ ] Other :

## Content

Includes the `coreLibraryDesugaring(libs.android.desugar)` dependency in all modules which use one of our gradle plugins.

## Motivation and context

Right now desugaring is enabled also in library modules but the desugar dependency is not included in those.
This causes some unwanted side effects such as being unable to run compose previews in an emu.

This change will also include the desugar dependency in those libraries.
2023-10-19 09:00:32 +00:00
Benoit Marty c0aa70f7f6 Move konsist test to their own module. 2023-10-12 18:41:38 +02:00
Benoit Marty 6e5caebc60 Add some Konsist test. 2023-10-10 14:21:36 +02:00
Jorge Martin Espinosa f88507117b Element Call SPA integration (#1283)
* Integrate Element Call into EX, being able to open its URLs and handle the call in-app.
* Add custom scheme support with format `element:call?url=...`.
* Update androix.webkit
* Silence the foreground service notification.
- Allow foreground service tap action to re-open the ongoing call.
- Unify notification small icons in different modules using a vector one.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-15 16:39:44 +02:00
David Langley bab8119fb9 Merge branch 'develop' of https://github.com/vector-im/element-x-android into feature/dla/emojibase_integration 2023-08-28 17:03:00 +01:00
David Langley ce4c12ce74 Integrate emojibase
- Integrate emojibase datasource
- Use element category translations
- Use Material emoji category logos
2023-08-28 16:45:42 +01:00
Jorge Martín 4e3bea08e6 Fix tests and warnings 2023-07-26 10:42:28 +02:00
Benoit Marty f0874fd773 Revert change from #941, upload APK to Firebase App Distribution for now.
We need a matching and released PlayStore application to be able to upload an AAB, and we do not have that for now.
2023-07-21 16:19:16 +02:00
Benoit Marty 5fea82a23c Nightly build: upload the application bundle to Firebase instead of the universal APK. 2023-07-21 10:24:11 +02:00
Benoit Marty 2b71922cae Ensure uitest take preview from app module. 2023-07-19 14:47:30 +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
Benoit Marty c53933ccea Add compose preview for launcher icons (mainly for tests) 2023-06-29 15:21:28 +02:00
Benoit Marty 011f7a1064 Rename ElementX to Element X. Only for user facing value. In the doc I prefer to keep ElementX. 2023-06-29 14:15:36 +02:00
Jorge Martin Espinosa cf2723ac7f [Message Actions] Copy events to clipboard (#665)
* Add `Copy` action for text events

* Remove 'Copy' action from the list for non-text events

* Use `@ContributesBinding` to inject `AndroidClipboardHelper`.
2023-06-23 14:39:07 +00:00
Jorge Martin Espinosa 9fa261e393 [Message Actions] Add emoji reactions option (#568)
* Add logic to send message reactions

* Add emoji library, create EmojiPicker component

* Fix bottom sheet behaviors

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-09 16:56:40 +02:00
Marco Romano 1d6f4e3c68 Network library changes (#542)
- Allows for http2
- Caches a global instance of kotlinx-serialization `Json` and configures it with a bit more leniency.
- Moves okhttp's dependency strings to the .toml file
- Switches off logging for release builds
2023-06-06 15:33:30 +02:00
Chris Smith af5f7f90f4 Remove ksp source set workaround (#515)
This is no longer needed
2023-06-02 13:09:05 +00:00
Benoit Marty 2898d830d8 Fix warning "Use version catalog instead" 2023-05-25 15:04:01 +02:00
Benoit Marty 80b656a9c5 Use gradle logger to filter out when running with only warning logs. 2023-05-25 12:03:51 +02:00
Jorge Martin Espinosa de010545fb Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Benoit Marty b0f14bfb15 Deeplink: handle notification click to open a room. 2023-04-13 15:35:01 +02:00
Benoit Marty ce11c33680 Add firebase resource file generated by the firebase plugin, to be able to remove the plugin. 2023-04-12 12:03:19 +02:00
Benoit Marty 287fca5438 UnifiedPush WIP 2023-04-12 09:49:23 +02:00
Benoit Marty aef48bdf8a Cleanup, Firebase dep. is not necessary here. 2023-04-12 09:48:56 +02:00
Benoit Marty 275fa03de3 Import some stuff about Push and notification from Element Android - WIP 2023-04-05 16:18:44 +02:00
Benoit Marty 7fad3caea4 Configure com.google.firebase:firebase-bom and add dependency on firebase-messaging-ktx 2023-04-05 16:18:44 +02:00
Benoit Marty a073afe8c9 Setup Google services Gradle plugin. 2023-04-05 16:18:44 +02:00
Jorge Martin Espinosa 610e4aa8b6 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit cda0606a0d.
2023-04-04 14:44:01 +00:00
renovate[bot] 0bc2bcb353 Update dependency com.android.tools:desugar_jdk_libs to v2.0.3 (#281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 09:16:53 +02:00
Jorge Martin Espinosa cda0606a0d Update Gradle and AGP to v8.0 (#283)
* Update dependency gradle to v8

* Handle upgrading Gradle to v8.0.2

* Update AGP to 8.0.0-RC01

* Try to set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 18:02:34 +02:00
ganfra 91bff7fad4 Add utility methods for automatically including api/impl feature modules 2023-03-23 18:06:32 +01:00
Benoit Marty a68b3f80eb Add :libraries:network module 2023-03-16 15:31:57 +01:00
Benoit Marty 93cd58feb5 Create allServicesImpl() 2023-03-16 11:30:09 +01:00
Benoit Marty 63fabed8ce Introduce AppNavigationStateService. 2023-03-16 11:30:09 +01:00
Benoit Marty b74e1e6074 allLibraries renamed to allLibrariesImpl and only reference implementation of the libraries. 2023-03-16 10:10:55 +01:00
ganfra a230144431 Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 15:42:23 +01:00
Benoit Marty 9bdcaae0cf Create allFeatureApis extension and rename allFeatures to allFeaturesImpl 2023-03-09 14:52:40 +01:00
Benoit Marty f0ca807809 Fix application distribution for nightly build. 2023-03-09 12:20:01 +01:00
ganfra ec1c84e058 Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-09 10:27:00 +01:00
ganfra bc9f3b69cc [Architecture] split all feature modules to api/impl 2023-03-08 16:13:45 +01:00
renovate[bot] 8ff46bd668 Update plugin com.google.firebase.appdistribution to v4 2023-03-07 12:21:06 +00:00
ganfra 7f3679a15e Merge branch 'develop' into feature/fga/improve_node_architecture 2023-03-07 12:10:20 +01:00
renovate[bot] 3594925931 Update plugin com.google.firebase.appdistribution to v3.2.0 2023-03-07 10:54:41 +00:00
ganfra a13cba9571 [Architecture] : create appnav module so we can use only api feature modules 2023-03-06 20:30:48 +01:00