expo obfuscation (Android)
Oct 22, 2023
Let’s get straight to the point.
Ensure you have set up expo-build-properties.
Then, in app.json, under android
, add `enableProguardInReleaseBuilds` and set the value to true.
For example:
...
"plugins": [
[
"expo-build-properties",
{
"android": {
"minSdkVersion": 33,
"compileSdkVersion": 33,
"targetSdkVersion": 33,
"buildToolsVersion": "33.0.0",
"enableProguardInReleaseBuilds": true,
...
That’s it.
Happy building!