nextcloud / nextcloud/talk-android

shrink apk

Open
#5,653 2 comments 0 reactions 1 assignee View on GitHub

@mahibi is already working on this.

Since Dec 18, 2025.

1. to develop
Dominant language
Kotlin
Stars
739
Forks
321
Avg merge
14h 59m
Merged PRs (30d)
151

Description

https://developer.android.com/topic/performance/app-optimization/enable-app-optimization

Apk is too big (blocks v22.1.0RC1 release)


From a first try with isMinifyEnabled and isShrinkResources for Android Talk:

Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /..../talk-android/app/build/intermediates/mapping/gplayRelease/minifyGplayReleaseWithR8/missing_rules.txt.

Missing class com.google.common.base.Objects$ToStringHelper (referenced from: java.lang.String com.github.filosganga.geogson.model.AbstractGeometry.toString() and 3 other contexts)
Missing class com.google.firebase.analytics.connector.AnalyticsConnector (referenced from: boolean com.google.firebase.messaging.FirebaseMessaging.shouldRetainProxyNotifications() and 2 other contexts)
Missing class org.slf4j.impl.StaticLoggerBinder (referenced from: void org.slf4j.LoggerFactory.bind() and 3 other contexts)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.