Skip to content

Commit 1f2374e

Browse files
authored
Version 1.0.0 (#190)
1 parent 49cc001 commit 1f2374e

File tree

13 files changed

+52
-16
lines changed

13 files changed

+52
-16
lines changed

Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Analytics.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Microsoft.AppCenter.Unity.Analytics
1717
public class Analytics
1818
{
1919
// Used by App Center Unity Editor Extensions: https://github.com/Microsoft/AppCenter-SDK-Unity-Extension
20-
public const string AnalyticsSDKVersion = "0.1.4";
20+
public const string AnalyticsSDKVersion = "1.0.0";
2121

2222
public static void PrepareEventHandlers()
2323
{

Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/WrapperSdk.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static class WrapperSdk
1313
private static bool _hasAttemptedToGetRuntimeVersion;
1414

1515
public const string Name = "appcenter.unity";
16-
public const string WrapperSdkVersion = "0.1.4";
16+
public const string WrapperSdkVersion = "1.0.0";
1717

1818
internal static string WrapperRuntimeVersion
1919
{

Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/Crashes.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.AppCenter.Unity.Crashes
2121
public class Crashes
2222
{
2323
// Used by App Center Unity Editor Extensions: https://github.com/Microsoft/AppCenter-SDK-Unity-Extension
24-
public const string CrashesSDKVersion = "0.1.4";
24+
public const string CrashesSDKVersion = "1.0.0";
2525
private static bool _reportUnhandledExceptions = false;
2626
private static readonly object _objectLock = new object();
2727

@@ -326,7 +326,7 @@ private static IEnumerator SendUnhandledExceptionReports()
326326
private static WrapperException CreateWrapperException(Exception exception)
327327
{
328328
var exceptionWrapper = new WrapperException();
329-
exceptionWrapper.SetWrapperSdkName(WrapperSdk.Name);
329+
exceptionWrapper.SetWrapperSdkName(GetExceptionWrapperSdkName());
330330
exceptionWrapper.SetStacktrace(exception.StackTrace);
331331
exceptionWrapper.SetMessage(exception.Message);
332332
exceptionWrapper.SetType(exception.GetType().ToString());
@@ -343,7 +343,7 @@ private static WrapperException CreateWrapperException(Exception exception)
343343
private static WrapperException CreateWrapperException(string logString, string stackTrace, LogType type)
344344
{
345345
var exception = new WrapperException();
346-
exception.SetWrapperSdkName(WrapperSdk.Name);
346+
exception.SetWrapperSdkName(GetExceptionWrapperSdkName());
347347

348348
string sanitizedLogString = logString.Replace("\n", " ");
349349
exception.SetMessage(sanitizedLogString);
@@ -362,5 +362,11 @@ private static WrapperException CreateWrapperException(string logString, string
362362

363363
return exception;
364364
}
365+
366+
private static string GetExceptionWrapperSdkName()
367+
{
368+
//return WrapperSdk.Name;
369+
return "appcenter.xamarin"; // fix stack traces are not showing up in the portal UI
370+
}
365371
}
366372
}

Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/Distribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Microsoft.AppCenter.Unity.Distribute
1717
public class Distribute
1818
{
1919
// Used by App Center Unity Editor Extensions: https://github.com/Microsoft/AppCenter-SDK-Unity-Extension
20-
public const string DistributeSDKVersion = "0.1.4";
20+
public const string DistributeSDKVersion = "1.0.0";
2121

2222
public static void PrepareEventHandlers()
2323
{

Assets/AppCenter/Plugins/AppCenterSDK/Push/Shared/Push.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ namespace Microsoft.AppCenter.Unity.Push
1616

1717
public class Push
1818
{
19+
// Used by App Center Unity Editor Extensions: https://github.com/Microsoft/AppCenter-SDK-Unity-Extension
20+
public const string PushSDKVersion = "1.0.0";
1921
private static readonly object _lockObject = new object();
2022
private static bool _needsReplay = true;
2123

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# App Center SDK for Unity Change Log
22

3+
## Release 1.0.0
4+
5+
**Analytics**
6+
7+
* [Feature] Preparation work for a future change in transmission protocol and endpoint for Analytics data. There is no impact on your current workflow when using App Center.
8+
9+
**UWP**
10+
11+
* **[Bug fix]** Fix build errors when building the `UWP` app with `.Net` scripting backend
12+
* **[Bug fix]** Fix issue with reporting analytics events from `Start` method
13+
* **[Bug fix]** Automatically add the `InternetAccess` capability when building `UWP` apps in order for analytics to work properly
14+
15+
**Android**
16+
17+
* **[Bug fix]** Fix error occuring when trying to send crash report
18+
* **[Bug fix]** Fix performance issue caused by exceptions reporting logic
19+
20+
___
21+
322
## Release 0.1.4
423

524
* **[Feature]** Add pause/resume APIs which pause/resume sending Analytics logs to App Center.

RELEASE.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
# Release 0.1.4
1+
# Release 1.0.0
22

3-
* **[Feature]** Add pause/resume APIs which pause/resume sending Analytics logs to App Center.
4-
* **[Feature]** Add ability to specify maximum size limit on the local SQLite storage. Previously, up to 300 logs were stored of any size. The default value is 10MB.
3+
**Analytics**
4+
5+
* [Feature] Preparation work for a future change in transmission protocol and endpoint for Analytics data. There is no impact on your current workflow when using App Center.
56

67
**UWP**
7-
* **[Bug fix]** Fixed missing namespace import when building with `.Net` scripting backend.
8+
9+
* **[Bug fix]** Fix build errors when building the `UWP` app with `.Net` scripting backend
10+
* **[Bug fix]** Fix issue with reporting analytics events from `Start` method
11+
* **[Bug fix]** Automatically add the `InternetAccess` capability when building `UWP` apps in order for analytics to work properly
12+
13+
**Android**
14+
15+
* **[Bug fix]** Fix error occuring when trying to send crash report
16+
* **[Bug fix]** Fix performance issue caused by exceptions reporting logic

UnityPackageSpecs/AppCenter.unitypackagespec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<package name="AppCenter" version="0.1.4">
2+
<package name="AppCenter" version="1.0.0">
33
<include>
44
<!-- Editor related files -->
55
<file path="Assets/AppCenter/Editor" />

UnityPackageSpecs/AppCenterAnalytics.unitypackagespec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<package name="AppCenterAnalytics" version="0.1.4" needsCore="true">
2+
<package name="AppCenterAnalytics" version="1.0.0" needsCore="true">
33
<include>
44
<!-- Shared files -->
55
<file path="Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared" />

UnityPackageSpecs/AppCenterCrashes.unitypackagespec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<package name="AppCenterCrashes" version="0.1.4" needsCore="true">
2+
<package name="AppCenterCrashes" version="1.0.0" needsCore="true">
33
<include>
44
<!-- Shared files -->
55
<file path="Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared" />

0 commit comments

Comments
 (0)