-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate binary size of SDC library #1331
Comments
Before we make a decision, would be nice to gather some facts:
|
Looks like the QR reader adds ~7.3MB to the download size of the release APK, and ~13.4MB to the on-device install size. Presumably it could be stripped by Proguard (~3MB downloaded -> ~8MB installed comes from the I think that moving this to its own Gradle module, maybe in |
By the way, I did the above investigation with this cool Gradle plugin. Just sent a PR (#1421) to integrate it. |
Reopening since this is not done yet. @kevinmost |
@ekigamba @f-odhiambo @pld FYI Thanks so much @kevinmost for the investigation and for sending the PR 🙏 |
Describe the Issue
The SDC library binary size seems very large due to the mlkit dependencies required by the QR code reader. There might be afew solutions:
com.google.android.fhir:data-capture-contrib
or something similar) for the QR readerWould you like to work on the issue?
NA
The text was updated successfully, but these errors were encountered: