-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I don't understand what happened, but now R8 (proguard-android-optimize.txt config) doesn't remove strings from the release APK.
I don't call log.dispatcher.install. But on version 0.3.0 the strings are not stored in release optimized APK, but on version 0.4.0 and above they are.
I checked the changes, but didn't find anything odd. Could you please help me @twyatt? The only meaningful change I see is a change in Kotlin version.
To reproduce this bug, just add some logs without installing a logger. When building the APK, enable R8 as shown below:
release {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"))
}
Next, build the release APK, unzip it to .smali with APKTool and try to find the logged string.
Metadata
Metadata
Assignees
Labels
No labels