This commit is contained in:
Evgenii Poletaikin 2018-12-14 11:38:35 +03:00 коммит произвёл GitHub
Родитель 68f576b089
Коммит 7ea529862f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
16 изменённых файлов: 38 добавлений и 24 удалений

Просмотреть файл

@ -17,7 +17,7 @@ namespace Microsoft.AppCenter.Unity.Analytics
public class Analytics
{
// Used by App Center Unity Editor Extensions: https://github.com/Microsoft/AppCenter-SDK-Unity-Extension
public const string AnalyticsSDKVersion = "1.1.0";
public const string AnalyticsSDKVersion = "1.2.0";
public static void PrepareEventHandlers()
{

Просмотреть файл

@ -13,7 +13,7 @@ namespace Microsoft.AppCenter.Unity
private static bool _hasAttemptedToGetRuntimeVersion;
public const string Name = "appcenter.unity";
public const string WrapperSdkVersion = "1.1.0";
public const string WrapperSdkVersion = "1.2.0";
internal static string WrapperRuntimeVersion
{

Просмотреть файл

@ -21,7 +21,7 @@ namespace Microsoft.AppCenter.Unity.Crashes
public class Crashes
{
// Used by App Center Unity Editor Extensions: https://github.com/Microsoft/AppCenter-SDK-Unity-Extension
public const string CrashesSDKVersion = "1.1.0";
public const string CrashesSDKVersion = "1.2.0";
private static bool _reportUnhandledExceptions = false;
private static readonly object _objectLock = new object();

Просмотреть файл

@ -17,7 +17,7 @@ namespace Microsoft.AppCenter.Unity.Distribute
public class Distribute
{
// Used by App Center Unity Editor Extensions: https://github.com/Microsoft/AppCenter-SDK-Unity-Extension
public const string DistributeSDKVersion = "1.1.0";
public const string DistributeSDKVersion = "1.2.0";
public static void PrepareEventHandlers()
{

Просмотреть файл

@ -17,7 +17,7 @@ namespace Microsoft.AppCenter.Unity.Push
public class Push
{
// Used by App Center Unity Editor Extensions: https://github.com/Microsoft/AppCenter-SDK-Unity-Extension
public const string PushSDKVersion = "1.1.0";
public const string PushSDKVersion = "1.2.0";
private static readonly object _lockObject = new object();
private static bool _needsReplay = true;

Просмотреть файл

@ -12,7 +12,7 @@ void appcenter_unity_property_configurator_set_app_name(MSPropertyConfigurator *
}
void appcenter_unity_property_configurator_set_user_id(MSPropertyConfigurator *configurator, char* userId) {
//[configurator setUserId: appcenter_unity_cstr_to_ns_string(userId)];
[configurator setUserId: appcenter_unity_cstr_to_ns_string(userId)];
}
void appcenter_unity_property_configurator_set_app_version(MSPropertyConfigurator *configurator, char* appVersion) {

Просмотреть файл

@ -37,7 +37,7 @@ void appcenter_unity_set_log_url(const char* logUrl)
void appcenter_unity_set_user_id(char* userId)
{
//[MSAppCenter setUserId: appcenter_unity_cstr_to_ns_string(userId)];
[MSAppCenter setUserId: appcenter_unity_cstr_to_ns_string(userId)];
}
void appcenter_unity_set_enabled(bool isEnabled)

Просмотреть файл

@ -1,5 +1,19 @@
# App Center SDK for Unity Change Log
## Release 1.2.0
App Center SDK for Unity now uses the latest native SDKs:
* App Center SDK for Android version 1.11.0
* App Center SDK for iOS version 1.12.0
* App Center SDK for .NET version 1.11.0
* **[Feature]** Add support for `Push`.
* **[Feature]** Implement `AppCenter.SetUserId` that allows users to set userId that applies to crashes, error and push logs.
* **[Feature]** 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.
* **[Bug Fix]** Fix AppCenter Analytics working incorrectly in case there's no advanced behavior but this file exists.
___
## Release 1.1.0
**Analytics**

Просмотреть файл

@ -1,10 +1,11 @@
# Release 1.1.0
# Release 1.2.0
**Analytics**
App Center SDK for Unity now uses the latest native SDKs:
* App Center SDK for Android version 1.11.0
* App Center SDK for iOS version 1.12.0
* App Center SDK for .NET version 1.11.0
* **[Feature]** Add new trackEvent APIs that take priority (normal or critical) of event logs. Events tracked with critical flag will take precedence over all other logs except crash logs (when AppCenterCrashes is enabled), and only be dropped if storage is full and must make room for newer critical events or crashes logs.
* **[Feature]** Add support for typed properties. Note that these APIs still convert properties back to strings on the App Center backend. More work is needed to store and display typed properties in the App Center portal. Using the new APIs now will enable future scenarios, but for now the behavior will be the same as it is for current event properties.
**Android**
* **[Fix]** Preventing stack overflow crash while reading a huge throwable file.
* **[Feature]** Add support for `Push`.
* **[Feature]** Implement `AppCenter.SetUserId` that allows users to set userId that applies to crashes, error and push logs.
* **[Feature]** 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.
* **[Bug Fix]** Fix AppCenter Analytics working incorrectly in case there's no advanced behavior but this file exists.

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<package name="AppCenter" version="1.1.0">
<package name="AppCenter" version="1.2.0">
<include>
<!-- Editor related files -->
<file path="Assets/AppCenter/Editor" />

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<package name="AppCenterAnalytics" version="1.1.0" needsCore="true">
<package name="AppCenterAnalytics" version="1.2.0" needsCore="true">
<include>
<!-- Shared files -->
<file path="Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared" />

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<package name="AppCenterCrashes" version="1.1.0" needsCore="true">
<package name="AppCenterCrashes" version="1.2.0" needsCore="true">
<include>
<!-- Shared files -->
<file path="Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared" />

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<package name="AppCenterDistribute" version="1.1.0" needsCore="true">
<package name="AppCenterDistribute" version="1.2.0" needsCore="true">
<include>
<!-- Shared files -->
<file path="Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared" />

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<package name="AppCenterPush" version="1.1.0" needsCore="true">
<package name="AppCenterPush" version="1.2.0" needsCore="true">
<include>
<!-- Shared files -->
<file path="Assets/AppCenter/Plugins/AppCenterSDK/Push/Shared" />

Просмотреть файл

@ -12,8 +12,8 @@ using System.Runtime.Versioning;
using NuGet;
// Native SDK versions
var AndroidSdkVersion = "1.10.0";
var IosSdkVersion = "1.11.0";
var AndroidSdkVersion = "1.11.0";
var IosSdkVersion = "1.12.0";
var UwpSdkVersion = "1.11.0";
// URLs for downloading binaries.

Просмотреть файл

@ -151,8 +151,7 @@ static IEnumerable<string> GetBuiltPackages()
var files = Statics.Context.GetFiles("output/*.unitypackage");
foreach (var file in files)
{
if (!file.FullPath.Contains("AppCenter-v") &&
!file.FullPath.Contains("AppCenterPush-v"))
if (!file.FullPath.Contains("AppCenter-v"))
{
yield return file.FullPath;
}