Commit Graph

14 Commits

Author SHA1 Message Date
Jorge Martín c5bb18c0a7 Make explicit we want to keep the member names too, but we want to allow optimization of the code and shrinking when methods aren't used 2025-12-11 11:43:55 +01:00
Jorge Martín 6d6ce8d071 Improve proguard config to keep the names in the classes in out packages 2025-12-11 11:43:55 +01:00
renovate[bot] 539aa35eeb fix(deps): update android.gradle.plugin to v8.13.1 (#5260)
* fix(deps): update android.gradle.plugin to v8.13.1

* Remove warning about AGP 8.12.x+

* Fix proguard-related code deprecations, use the new `optimization` API

* Workaround issues related to Android lint not being able to check these complex methods with kotlin contracts

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-11-26 11:57:22 +01:00
Jorge Martin Espinosa 2b3a579009 Fix sending videos in API <= 30 (#5186)
This is caused by a bug in the Media3 Transform library: https://github.com/androidx/media/issues/2535
2025-08-19 10:39:03 +02:00
renovate[bot] 738295a933 Update android.gradle.plugin to v8.5.2 (#3004)
* Update android.gradle.plugin

* Fix release builds with AGP 8.5 by removing the minification config in each library module. I believe this is now centralised.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-08-09 15:04:10 +02:00
Jorge Martín e63eb3a7dc Fix crash when sending image with latest posthog 2024-01-08 16:12:22 +01:00
Jorge Martin Espinosa 5980eb2ad2 Upgrade to AGP 8.2.0 (#2142)
* Upgrade to AGP 8.2.0

Add proguard rule for the problematic TagSoup library. For some reason, adding this in the consumer proguard rules of the RTE library doesn't seem to work.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-04 12:09:46 +01:00
Jorge Martín cd88be67ae Revert exception in proguard 2023-09-04 11:41:22 +02:00
Jorge Martin Espinosa 3b5fbc659d Fix nightly builds after emojibase integration (#1208) 2023-09-01 10:14:35 +02:00
Jorge Martin Espinosa 1828270c06 Fix more R8 issues (#337) 2023-04-18 19:21:46 +02:00
Jorge Martin Espinosa deb14865c6 Fix: JNA issue in release mode (#335)
* Restore checkout config for nightly workflows.

* Add missing proguard config line for JNA.
2023-04-18 11:31:25 +00:00
ganfra ba6500a557 Release mode: add some codeoptimization to look how it behaves 2022-12-07 21:09:47 +01:00
Benoit Marty 69968199f8 Cleanup 2022-10-07 16:20:07 +02:00
Benoit Marty 4dc26a4ffa Create project from AS wizard "Empty Compose Activity (Material 3)" 2022-10-07 15:05:13 +02:00