Skip to content

Commit

Permalink
Keep native symbols in sample apps (#1945)
Browse files Browse the repository at this point in the history
Helps diagnose crashes.
  • Loading branch information
JakeWharton authored Apr 8, 2024
1 parent 7925bec commit e34d44a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ class RedwoodBuildPlugin : Plugin<Project> {

plugins.withId("com.android.application") {
val android = extensions.getByName("android") as BaseExtension
android.packagingOptions.apply {
// Keep native symbols for diagnosing sample application crashes.
doNotStrip("**/*.so")
}
android.buildTypes.apply {
// Libraries don't build debug so fall back to release.
getByName("debug") {
Expand Down

0 comments on commit e34d44a

Please sign in to comment.