Please take a look at the following two images from Analyze APK on Android Studio.
- First one is with
minifyEnabled = false
, and - another one is with
minifyEnabled = true
(after decoding with mapping.txt of course)
minifyEnabled = false
. BuildConfig
is there.
minifyEnabled = true
(decoded with mapping.txt). BuildConfig
is not there.
I can find BuildConfig
in classes.dex
before minifying, but not after minifying. I can't find any document/discussion about this, but is there some rule to strip BuildConfig
from classes.dex
after minifying with ProGuard? In that case, does it mean that it is relatively safe to put sensitive information in BuildConfig
? Or, probably it is just hidden in some other place?
My ProGuard version is 4.7 if that matters.
build.graldle
. Will it be 100% safe from reverse engineering. Would you please elaborate the above answer. – Paleobiology