Skip to content

Commit 8b561ce

Browse files
committed
build: enable ProGuard and R8 code optimization
1 parent afb8629 commit 8b561ce

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

app.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,15 @@
204204
},
205205
"imageWidth": 200
206206
}
207+
],
208+
[
209+
"expo-build-properties",
210+
{
211+
"android": {
212+
"enableMinifyInReleaseBuilds": true,
213+
"enableShrinkResourcesInReleaseBuilds": true
214+
}
215+
}
207216
]
208217
],
209218
"experiments": {

package-lock.json

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"expo": "^57.0.0",
2121
"expo-alternate-app-icons": "^8.0.0",
2222
"expo-application": "~57.0.3",
23+
"expo-build-properties": "~57.0.17",
2324
"expo-constants": "~57.0.8",
2425
"expo-crypto": "~57.0.3",
2526
"expo-dev-client": "~57.0.19",

0 commit comments

Comments
 (0)