element-hq / element-hq/element-x-android

APK size

Open
#848 6 comments 6 reactions 0 assignees View on GitHub
A-Performance O-Occasional S-Minor
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

The application is quite huge (60MB for a single arch - release version, 80MB for debug version). This may have a negative impact on the user experience: longer to download and install, takes more data in the user’s phone. Also (but maybe negligeable), it can increase the cold start of the app.

The biggest files are the Rust SDK and the Map library:

image

## Proguard

Check proguard behavior, in particular:

- [ ] fun with `@Preview` annotation can be removed from the APK, because in our case, they are never used at runtime.
- [ ] all the `.*StateProvider` can be removed from the APK
- [ ] all the fixture functions, like `aAboutState()` for instance can be removed too.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.