Skip to content

Commit

Permalink
fix: shrink APK size
Browse files Browse the repository at this point in the history
  • Loading branch information
Crissium committed Jun 18, 2024
1 parent dc7088e commit 8e04b53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ android {
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.debug
minifyEnabled enableProguardInReleaseBuilds
shrinkResources enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
Expand Down
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
android:icon="@mipmap/ic_launcher"
android:allowBackup="false"
android:usesCleartextTraffic="true"
android:extractNativeLibs="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
Expand Down

0 comments on commit 8e04b53

Please sign in to comment.