diff --git a/bugsnag-android-unity/build.gradle b/bugsnag-android-unity/build.gradle index bcebd874b..66e3d805d 100644 --- a/bugsnag-android-unity/build.gradle +++ b/bugsnag-android-unity/build.gradle @@ -29,6 +29,7 @@ android { } } ndkVersion = "21.4.7075529" + consumerProguardFiles 'proguard-rules.pro' } externalNativeBuild { diff --git a/bugsnag-android-unity/proguard-rules.pro b/bugsnag-android-unity/proguard-rules.pro new file mode 100644 index 000000000..4ebeecf27 --- /dev/null +++ b/bugsnag-android-unity/proguard-rules.pro @@ -0,0 +1 @@ +-keep class com.bugsnag.android.** {*;} \ No newline at end of file diff --git a/features/fixtures/maze_runner/ProjectSettings/ProjectSettings.asset b/features/fixtures/maze_runner/ProjectSettings/ProjectSettings.asset index 13a273ae4..041968e84 100644 --- a/features/fixtures/maze_runner/ProjectSettings/ProjectSettings.asset +++ b/features/fixtures/maze_runner/ProjectSettings/ProjectSettings.asset @@ -269,6 +269,9 @@ PlayerSettings: banner: {fileID: 0} androidGamepadSupportLevel: 0 resolutionDialogBanner: {fileID: 0} + AndroidMinifyWithR8: 1 + AndroidMinifyRelease: 1 + AndroidMinifyDebug: 1 m_BuildTargetIcons: [] m_BuildTargetPlatformIcons: - m_BuildTarget: Android