Skip to content

fix: keep dynamically-referenced resources from shrinking#735

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/resource-shrinking-keep-flags
May 19, 2026
Merged

fix: keep dynamically-referenced resources from shrinking#735
bmc08gt merged 1 commit into
code/cashfrom
fix/resource-shrinking-keep-flags

Conversation

@bmc08gt
Copy link
Copy Markdown
Collaborator

@bmc08gt bmc08gt commented May 19, 2026

Flag icons, currency icons, and bill textures are only referenced via getIdentifier() at runtime, causing the resource shrinker to strip them in release builds.

@bmc08gt bmc08gt self-assigned this May 19, 2026
@github-actions github-actions Bot added the type: fix Bug fix label May 19, 2026
Flag icons, currency icons, and bill textures are only referenced
via getIdentifier() at runtime, causing the resource shrinker to
strip them in release builds.

https://developer.android.com/topic/performance/app-optimization/customize-which-resources-to-keep

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt force-pushed the fix/resource-shrinking-keep-flags branch from 1890290 to 87a5504 Compare May 19, 2026 18:34
@bmc08gt bmc08gt merged commit 211e11d into code/cash May 19, 2026
2 checks passed
@bmc08gt bmc08gt deleted the fix/resource-shrinking-keep-flags branch May 19, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant