Skip to content

Commit

Permalink
Merge pull request #701 from bugsnag/PLAT-9575-UpdateBugSnagCasingUnity
Browse files Browse the repository at this point in the history
updated ui branding
  • Loading branch information
JamesLindsay0 authored Jul 18, 2024
2 parents c92a0b5 + a4a93dc commit 34997f8
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

- Remove unnecessary ToArray() call when constructing an error. [#822](https://github.com/bugsnag/bugsnag-unity/pull/822)

- Updated BugSnag UI branding. [#701](https://github.com/bugsnag/bugsnag-unity/pull/701)

### Bug Fixes

- Fix timing issues when Bugsnag is started after the focus event. [#821](https://github.com/bugsnag/bugsnag-unity/pull/821)
Expand Down
14 changes: 7 additions & 7 deletions src/Assets/Bugsnag/Editor/BugsnagEditor.EDM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public partial class BugsnagEditor : EditorWindow
// The kotlin Version here needs to match the one in the rake build file. Both should reflect what the android notifier is using.
private const string ANDROID_DEPS_XML = "<dependencies><androidPackages><repositories><repository>https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib</repository></repositories><androidPackage spec=\"org.jetbrains.kotlin:kotlin-stdlib:1.4.32\"></androidPackage></androidPackages></dependencies>";

private const string EDM_MENU_ITEM = "Window/Bugsnag/Enable EDM4U Support";
private const string EDM_MENU_ITEM = "Window/BugSnag/Enable EDM4U Support";

private static string EDMDepsFilePath = "/Bugsnag/Editor/BugsnagAndroidDependencies.xml";

Expand Down Expand Up @@ -50,16 +50,16 @@ public static void EnableEDM()
}
catch (Exception e)
{
Debug.LogError("Error enabling Bugsnag EDM4U support: " + e.Message);
Debug.LogError("Error enabling BugSnag EDM4U support: " + e.Message);
}

if (IsEDMEnabled())
{
ReportEDMSuccess("Bugsnag EDM4U support successfully enabled.\n\nPlease restart Unity before building.");
ReportEDMSuccess("BugSnag EDM4U support successfully enabled.\n\nPlease restart Unity before building.");
}
else
{
ReportEDMError("Error enabling Bugsnag EDM4U support.\n\nPlease check the console for error messages");
ReportEDMError("Error enabling BugSnag EDM4U support.\n\nPlease check the console for error messages");
}
}

Expand All @@ -73,16 +73,16 @@ public static void DisableEDM()
}
catch (Exception e)
{
Debug.LogError("Error disabling Bugsnag EDM4U support: " + e.Message);
Debug.LogError("Error disabling BugSnag EDM4U support: " + e.Message);
}

if (!IsEDMEnabled())
{
ReportEDMSuccess("Bugsnag EDM4U support successfully disabled.\n\nPlease restart Unity before building.");
ReportEDMSuccess("BugSnag EDM4U support successfully disabled.\n\nPlease restart Unity before building.");
}
else
{
ReportEDMError("Error disabling Bugsnag EDM4U support.\n\nPlease check the console for error messages");
ReportEDMError("Error disabling BugSnag EDM4U support.\n\nPlease check the console for error messages");
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/Assets/Bugsnag/Editor/BugsnagEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ public partial class BugsnagEditor : EditorWindow

private void OnEnable()
{
titleContent.text = "Bugsnag";
titleContent.text = "BugSnag";
CheckForSettingsCreation();
}

[MenuItem("Window/Bugsnag/Configuration", false, 0)]
[MenuItem("Window/BugSnag/Configuration", false, 0)]
public static void ShowWindow()
{
CheckForSettingsCreation();
Expand Down Expand Up @@ -80,7 +80,7 @@ private void DrawSettingsEditorWindow()

var assemblyName = BugsnagUnity.Configuration.GetAssemblyName();
var version = assemblyName.Version;
EditorGUILayout.LabelField($"{assemblyName.Name} version {version.Major}.{version.Minor}.{version.Build}");
EditorGUILayout.LabelField($"BugSnag Unity version {version.Major}.{version.Minor}.{version.Build}");

_showBasicConfig = EditorGUILayout.Foldout(_showBasicConfig, "Basic Configuration", true);
if (_showBasicConfig)
Expand Down
4 changes: 2 additions & 2 deletions upm-tools/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Bugsnag SDK for Unity
BugSnag SDK for Unity
===========

This is the UPM package for the Bugsnag SDK for Unity.
This is the UPM package for the BugSnag SDK for Unity.

Install it via `UPM`:
```
Expand Down
6 changes: 3 additions & 3 deletions upm-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "com.bugsnag.unitynotifier",
"version": "VERSION_STRING",
"displayName": "Bugsnag Unity Notifier",
"description": "The Bugsnag Notifier for Unity gives you instant notification of exceptions thrown from your Unity games on iOS and Android devices, as well as standalone Mac and WebGL deployments. Exceptions in your Unity code (JS, C# and Boo) as well as native crashes (Objective C, Java) are automatically detected and sent to Bugsnag.",
"displayName": "BugSnag Unity Notifier",
"description": "The BugSnag Notifier for Unity gives you instant notification of exceptions thrown from your Unity games on iOS and Android devices, as well as standalone Mac and WebGL deployments. Exceptions in your Unity code (JS, C# and Boo) as well as native crashes (Objective C, Java) are automatically detected and sent to BugSnag.",
"unity": "2018.1",
"documentationUrl": "https://docs.bugsnag.com/platforms/unity/",
"changelogUrl": "https://github.com/bugsnag/bugsnag-unity/blob/master/CHANGELOG.md",
"licensesUrl": "https://github.com/bugsnag/bugsnag-unity/blob/master/LICENSE.txt",
"author": {
"name": "Bugsnag",
"name": "BugSnag",
"email": "[email protected]",
"url": "https://www.bugsnag.com/"
}
Expand Down

0 comments on commit 34997f8

Please sign in to comment.