Skip to content

Commit

Permalink
unit 2020 support
Browse files Browse the repository at this point in the history
  • Loading branch information
richardelms committed Nov 21, 2024
1 parent 6e51e8f commit 65f2061
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,15 @@ private void UploadAndroidSymbols(string buildPath, string cliPath, BugsnagSetti

private bool IsAndroidSymbolsEnabled()
{
#if UNITY_ANDROID
#if UNITY_ANDROID

#if UNITY_2021_1_OR_NEWER
return EditorUserBuildSettings.androidCreateSymbols == AndroidCreateSymbols.Public ||
EditorUserBuildSettings.androidCreateSymbols == AndroidCreateSymbols.Debugging;
#endif
#else
return EditorUserBuildSettings.androidCreateSymbolsZip;
#endif
#endif
return false;
}

Expand Down

0 comments on commit 65f2061

Please sign in to comment.