diff --git a/Assets/AppCenter.meta b/Assets/AppCenter.meta deleted file mode 100644 index 8c32f740..00000000 --- a/Assets/AppCenter.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3924cc2cd3f083b4b89f4ade5ab4137f -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/AppCenterBehavior.cs b/Assets/AppCenter/AppCenterBehavior.cs deleted file mode 100644 index 2c5dc7cf..00000000 --- a/Assets/AppCenter/AppCenterBehavior.cs +++ /dev/null @@ -1,200 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using Microsoft.AppCenter.Unity; -using UnityEngine; -using System; -using System.Reflection; -using Microsoft.AppCenter.Unity.Internal; -using System.Linq; -using Assets.Scenes.Ride.Scripts; - -[HelpURL("https://docs.microsoft.com/en-us/appcenter/sdk/crashes/unity")] -public class AppCenterBehavior : MonoSingleton -{ - public static event Action InitializingServices; - public static event Action InitializedAppCenterAndServices; - public static event Action Started; - - private static AppCenterBehavior _instance; - - public AppCenterSettings Settings; - - private void Awake() - { - // Make sure that App Center have only one instance. - if (_instance != null) - { - //Debug.LogError("App Center Behavior should have only one instance!"); - //DestroyImmediate(gameObject); - return; - } - _instance = this; - DontDestroyOnLoad(gameObject); -#if UNITY_WSA_10_0 - StartAppCenter(); -#endif - } - - private void Start() - { -#if !UNITY_WSA_10_0 - StartAppCenter(); -#endif - } - -#if UNITY_EDITOR - public void Reset() - { - if (FindObjectsOfType().Length > 1) - { - Debug.LogError("Only one game object with App Center Behaviour should exist."); - DestroyImmediate(this); - } - } -#endif - - private void StartAppCenter() - { - if (Settings == null) - { - Debug.LogError("App Center isn't configured!"); - return; - } - var services = Settings.Services; - PrepareEventHandlers(services); - InvokeInitializingServices(); - AppCenter.SetWrapperSdk(); - AppCenter.CacheStorageSize(Settings.MaxStorageSize.Size); - if (Settings.CustomLogUrl.UseCustomUrl) - { - AppCenter.CacheLogUrl(Settings.CustomLogUrl.Url); - } - var appSecret = AppCenter.ParseAndSaveSecretForPlatform(Settings.AppSecret); - var advancedSettings = GetComponent(); - AppCenter.NetworkRequestsAllowed = Settings.AllowNetworkRequests; - if (IsStartFromAppCenterBehavior(advancedSettings)) - { - AppCenter.LogLevel = Settings.InitialLogLevel; - if (Settings.CustomLogUrl.UseCustomUrl) - { - AppCenter.SetLogUrl(Settings.CustomLogUrl.Url); - } - if (Settings.MaxStorageSize.UseCustomMaxStorageSize && Settings.MaxStorageSize.Size > 0) - { - AppCenterInternal.SetMaxStorageSize(Settings.MaxStorageSize.Size); - } - var startupType = GetStartupType(advancedSettings); - if (startupType != StartupType.Skip) - { - var transmissionTargetToken = GetTransmissionTargetToken(advancedSettings); - var appSecretString = GetAppSecretString(appSecret, transmissionTargetToken, startupType); - if (string.IsNullOrEmpty(appSecretString)) - { - AppCenterInternal.Start(services); - } - else - { - AppCenterInternal.Start(appSecretString, services); - } - } - } -#if UNITY_IOS || UNITY_ANDROID - else - { - foreach (var service in services) - { -#if UNITY_IOS || UNITY_ANDROID - // On iOS and Android we start crash service here, to give app an opportunity to assign handlers after crash and restart in Awake method - var startCrashes = service.GetMethod("StartCrashes"); - if (startCrashes != null) - startCrashes.Invoke(null, null); - - // On iOS and Android we start distribute service here, to give app an opportunity to assign handlers after distribute and restart in Awake method - var startDistribute = service.GetMethod("StartDistribute"); - if (startDistribute != null) - startDistribute.Invoke(null, null); -#endif - } - } -#endif - InvokeInitializedServices(); - if (Started != null) - { - Started.Invoke(); - } - } - - private bool IsStartFromAppCenterBehavior(AppCenterBehaviorAdvanced advancedSettings) - { -#if UNITY_IOS - return advancedSettings != null && advancedSettings.SettingsAdvanced != null && advancedSettings.SettingsAdvanced.StartIOSNativeSDKFromAppCenterBehavior; -#elif UNITY_ANDROID - return advancedSettings != null && advancedSettings.SettingsAdvanced != null && advancedSettings.SettingsAdvanced.StartAndroidNativeSDKFromAppCenterBehavior; -#else - return true; -#endif - } - - private StartupType GetStartupType(AppCenterBehaviorAdvanced advancedSettings) - { - return advancedSettings != null && advancedSettings.SettingsAdvanced != null ? - advancedSettings.SettingsAdvanced.GetStartupType() : - StartupType.AppCenter; - } - - private string GetTransmissionTargetToken(AppCenterBehaviorAdvanced advancedSettings) - { - return advancedSettings != null && advancedSettings.SettingsAdvanced != null ? - advancedSettings.SettingsAdvanced.TransmissionTargetToken : - string.Empty; - } - - private string GetAppSecretString(string appSecret, string transmissionTargetToken, StartupType startupType) - { -#if UNITY_WSA_10_0 - return appSecret; -#else - switch (startupType) - { - default: - case StartupType.AppCenter: - return appSecret; - case StartupType.NoSecret: - return string.Empty; - case StartupType.OneCollector: - return string.Format("target={0}", transmissionTargetToken); - case StartupType.Both: - return string.Format("appsecret={0};target={1}", appSecret, transmissionTargetToken); - } -#endif - } - - private static void PrepareEventHandlers(Type[] services) - { - foreach (var service in services) - { - var method = service.GetMethod("PrepareEventHandlers"); - if (method != null) - { - method.Invoke(null, null); - } - } - } - - private static void InvokeInitializingServices() - { - if (InitializingServices != null) - { - InitializingServices.Invoke(); - } - } - - private static void InvokeInitializedServices() - { - if (InitializedAppCenterAndServices != null) - { - InitializedAppCenterAndServices.Invoke(); - } - } -} diff --git a/Assets/AppCenter/AppCenterBehavior.cs.meta b/Assets/AppCenter/AppCenterBehavior.cs.meta deleted file mode 100644 index eb6b6468..00000000 --- a/Assets/AppCenter/AppCenterBehavior.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b9a3a6a28c6a80a46adde9b4e01eeb93 -timeCreated: 1502267991 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {fileID: 2800000, guid: 2778c316eec875d46bbd2ecbfba6db4a, type: 3} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/AppCenterBehaviorAdvanced.cs b/Assets/AppCenter/AppCenterBehaviorAdvanced.cs deleted file mode 100644 index 39b82a67..00000000 --- a/Assets/AppCenter/AppCenterBehaviorAdvanced.cs +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using UnityEngine; - -[HelpURL("https://docs.microsoft.com/en-us/appcenter/sdk/crashes/unity")] -public class AppCenterBehaviorAdvanced : MonoBehaviour -{ - public AppCenterSettingsAdvanced SettingsAdvanced; - - private void Awake() - { - // Make sure that App Center have the default behavior attached. - if (gameObject.GetComponent() == null) - { - Debug.LogError("App Center Behavior Advanced should have the App Center Behavior instance attached to the same game object."); - } - } - -#if UNITY_EDITOR - public void Reset() - { - if (FindObjectsOfType().Length > 1) - { - Debug.LogError("Only one game object with App Center Behaviour Advanced should exist."); - DestroyImmediate(this); - } - } -#endif -} diff --git a/Assets/AppCenter/AppCenterBehaviorAdvanced.cs.meta b/Assets/AppCenter/AppCenterBehaviorAdvanced.cs.meta deleted file mode 100644 index e2693657..00000000 --- a/Assets/AppCenter/AppCenterBehaviorAdvanced.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0d5e2b5dc171f164b8ef2a7b94198b04 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {fileID: 2800000, guid: 2778c316eec875d46bbd2ecbfba6db4a, type: 3} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/AppCenterSettings.asset b/Assets/AppCenter/AppCenterSettings.asset deleted file mode 100644 index af0875d4..00000000 --- a/Assets/AppCenter/AppCenterSettings.asset +++ /dev/null @@ -1,40 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 07ef30b23b2586041aedf18c9486176d, type: 3} - m_Name: AppCenterSettings - m_EditorClassIdentifier: - iOSAppSecret: d8e69880-4b16-468e-9216-d0eec8fff482 - AndroidAppSecret: d212c44e-8438-499e-83b8-dbb0b6cafc54 - UWPAppSecret: 43bc58e0-d103-4d4a-87e6-ddc26adff8ba - UseAnalytics: 1 - UseCrashes: 1 - UseDistribute: 1 - CustomApiUrl: - UrlName: API - UseCustomUrl: 0 - Url: - CustomInstallUrl: - UrlName: Install - UseCustomUrl: 0 - Url: - EnableDistributeForDebuggableBuild: 0 - AutomaticCheckForUpdate: 1 - InitialLogLevel: 4 - AllowNetworkRequests: 1 - UpdateTrack: 1 - CustomLogUrl: - UrlName: Log - UseCustomUrl: 0 - Url: - MaxStorageSize: - UseCustomMaxStorageSize: 0 - Size: 0 diff --git a/Assets/AppCenter/AppCenterSettings.asset.meta b/Assets/AppCenter/AppCenterSettings.asset.meta deleted file mode 100644 index f782ad75..00000000 --- a/Assets/AppCenter/AppCenterSettings.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a4dbc5962d52f8a4886748301216ab73 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 11400000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/AppCenterSettings.cs b/Assets/AppCenter/AppCenterSettings.cs deleted file mode 100644 index 65b8054a..00000000 --- a/Assets/AppCenter/AppCenterSettings.cs +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using Microsoft.AppCenter.Unity; -using UnityEngine; - -[Serializable] -public class AppCenterSettings : ScriptableObject -{ - [AppSecret("iOS App Secret")] - public string iOSAppSecret = ""; - - [AppSecret] - public string AndroidAppSecret = ""; - - [AppSecret] - public string UWPAppSecret = ""; - - [Tooltip("App Center Analytics helps you understand user behavior and customer engagement to improve your app.")] - public bool UseAnalytics = true; - - [Tooltip("App Center Crashes will automatically generate a crash log every time your app crashes.")] - public bool UseCrashes = true; - - [Tooltip("App Center Distribute will let your users install a new version of the app when you distribute it via the App Center.")] - public bool UseDistribute = true; - - public CustomUrlProperty CustomApiUrl = new CustomUrlProperty("API"); - - public CustomUrlProperty CustomInstallUrl = new CustomUrlProperty("Install"); - - [Tooltip("By default, App Center Distribute is disabled for debuggable builds. Check this to enable it.")] - public bool EnableDistributeForDebuggableBuild = false; - - [Tooltip("By default, App Center Distribute checks for update at application startup automatically. Uncheck this to check for updates manually instead.")] - public bool AutomaticCheckForUpdate = true; - - public LogLevel InitialLogLevel = LogLevel.Info; - - [Tooltip("By default, the network requests is allowed. Uncheck this to disallow network requests.")] - public bool AllowNetworkRequests = true; - - [CustomDropDownProperty("Public", 1)] - [CustomDropDownProperty("Private", 2)] - public int UpdateTrack; - - public CustomUrlProperty CustomLogUrl = new CustomUrlProperty("Log"); - - public MaxStorageSizeProperty MaxStorageSize = new MaxStorageSizeProperty(); - - public string AppSecret - { - get - { - var appSecrets = new Dictionary - { - { "ios", iOSAppSecret }, - { "android", AndroidAppSecret }, - { "uwp", UWPAppSecret } - }; - return string.Concat(appSecrets - .Where(i => !string.IsNullOrEmpty(i.Value)) - .Select(i => string.Format("{0}={1};", i.Key, i.Value)) - .ToArray()); - } - } - - public Type[] Services - { - get - { - var services = new List(); - if (UseAnalytics) - { - services.Add(AppCenter.Analytics); - } - if (UseCrashes) - { - services.Add(AppCenter.Crashes); - } - if (UseDistribute) - { - services.Add(AppCenter.Distribute); - } - return services.Where(i => i != null).ToArray(); - } - } -} diff --git a/Assets/AppCenter/AppCenterSettings.cs.meta b/Assets/AppCenter/AppCenterSettings.cs.meta deleted file mode 100644 index cd0da5fb..00000000 --- a/Assets/AppCenter/AppCenterSettings.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 07ef30b23b2586041aedf18c9486176d -timeCreated: 1502272754 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/AppCenterSettingsAdvanced.cs b/Assets/AppCenter/AppCenterSettingsAdvanced.cs deleted file mode 100644 index 9e93695c..00000000 --- a/Assets/AppCenter/AppCenterSettingsAdvanced.cs +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using System.Reflection; -using Microsoft.AppCenter.Unity; -using UnityEngine; - -[Serializable] -public class AppCenterSettingsAdvanced : ScriptableObject -{ - [AppSecret("Transmission Target Token")] - public string TransmissionTargetToken = ""; - - [Tooltip("Configure the way App Center is started. For more info on startup types refer to the documentation.")] - public StartupType AppCenterStartupType = StartupType.Both; - - [Tooltip("Start Android native SDK from the App Center Behavior script instead of the native plugin")] -#if APPCENTER_DONT_USE_NATIVE_STARTER - public bool StartAndroidNativeSDKFromAppCenterBehavior = true; -#else - public bool StartAndroidNativeSDKFromAppCenterBehavior = false; -#endif - - [Tooltip("Start iOS native SDK from the App Center Behavior script instead of the native plugin")] -#if APPCENTER_DONT_USE_NATIVE_STARTER - public bool StartIOSNativeSDKFromAppCenterBehavior = true; -#else - public bool StartIOSNativeSDKFromAppCenterBehavior = false; -#endif - - public StartupType GetStartupType() - { - return AppCenterStartupType == StartupType.Both && string.IsNullOrEmpty(TransmissionTargetToken) ? - StartupType.AppCenter : - AppCenterStartupType; - } - - private static Assembly AppCenterAssembly - { - get - { -#if !UNITY_EDITOR && UNITY_WSA_10_0 - return typeof(AppCenterSettingsAdvanced).GetTypeInfo().Assembly; -#else - return Assembly.GetExecutingAssembly(); -#endif - } - } -} diff --git a/Assets/AppCenter/AppCenterSettingsAdvanced.cs.meta b/Assets/AppCenter/AppCenterSettingsAdvanced.cs.meta deleted file mode 100644 index b4cb3bf6..00000000 --- a/Assets/AppCenter/AppCenterSettingsAdvanced.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0254b6f16506aa345aa7e5b4229b8fdc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor.meta b/Assets/AppCenter/Editor.meta deleted file mode 100644 index 8773dabd..00000000 --- a/Assets/AppCenter/Editor.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 1d57433ef86b55d4f891a2bae99af818 -folderAsset: yes -timeCreated: 1502266378 -licenseType: Free -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/AndroidLibraryHelper.cs b/Assets/AppCenter/Editor/AndroidLibraryHelper.cs deleted file mode 100644 index 18f56949..00000000 --- a/Assets/AppCenter/Editor/AndroidLibraryHelper.cs +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System.Diagnostics; -using System.Text; -using UnityEngine; - -public static class AndroidLibraryHelper -{ - public static void ZipFile(string sourceFile, string destinationFile) - { - var stringBuilder = new StringBuilder(); - var args = ""; - var processName = ""; - if (Application.platform == RuntimePlatform.WindowsEditor) - { - args = stringBuilder - .Append("/c powershell") - .Append(" -executionpolicy bypass") - .Append(" -File \"") - .Append(AppCenterSettingsContext.AppCenterPath) - .Append("/Plugins/Android/Utility/archive.ps1 \"") - .Append(" -Source ") - .Append(sourceFile) - .Append(" -Destination ") - .Append(destinationFile) - .ToString(); - processName = "cmd"; - } - else if (Application.platform == RuntimePlatform.OSXEditor) - { - args = stringBuilder - .Append("-c \"cd ") - .Append(sourceFile) - .Append(" ; zip -r ") - .Append("../") - .Append(destinationFile) - .Append(" * \"") - .ToString(); - processName = "/bin/bash"; - } - if (processName.Length > 0) - { - ExecuteProcess(processName, args); - } - } - - public static void UnzipFile(string sourceFile, string destinationFile) - { - var stringBuilder = new StringBuilder(); - var args = ""; - var processName = ""; - if (Application.platform == RuntimePlatform.WindowsEditor) - { - args = stringBuilder - .Append("/c powershell") - .Append(" -executionpolicy bypass") - .Append(" -File \"") - .Append(AppCenterSettingsContext.AppCenterPath) - .Append("/Plugins/Android/Utility/unarchive.ps1 \"") - .Append(" -Source ") - .Append(sourceFile) - .Append(" -Destination ") - .Append(destinationFile) - .ToString(); - processName = "cmd"; - } - else if (Application.platform == RuntimePlatform.OSXEditor) - { - args = stringBuilder - .Append("-c \"unzip ") - .Append(sourceFile) - .Append(" -d ") - .Append(destinationFile) - .Append(" \"") - .ToString(); - processName = "/bin/bash"; - } - if (processName.Length > 0) - { - ExecuteProcess(processName, args); - } - } - - private static void ExecuteProcess(string processName, string args) - { - var process = new Process() - { - StartInfo = new ProcessStartInfo - { - FileName = processName, - Arguments = args, - RedirectStandardOutput = true, - RedirectStandardError = true, - UseShellExecute = false, - CreateNoWindow = true, - } - }; - process.Start(); - string output = process.StandardOutput.ReadToEnd(); - string error = process.StandardError.ReadToEnd(); - process.WaitForExit(); - if (output.Length > 0 || error.Length > 0) - { - UnityEngine.Debug.Log(output + error); - } - } -} diff --git a/Assets/AppCenter/Editor/AndroidLibraryHelper.cs.meta b/Assets/AppCenter/Editor/AndroidLibraryHelper.cs.meta deleted file mode 100644 index 6a21b825..00000000 --- a/Assets/AppCenter/Editor/AndroidLibraryHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2dd8894ba1c74f64eba3405e0e466702 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/AppCenterBehaviorEditor.cs b/Assets/AppCenter/Editor/AppCenterBehaviorEditor.cs deleted file mode 100644 index 45abd03b..00000000 --- a/Assets/AppCenter/Editor/AppCenterBehaviorEditor.cs +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using UnityEditor; -using UnityEditor.SceneManagement; - -[CustomEditor(typeof(AppCenterBehavior))] -public class AppCenterBehaviorEditor : Editor -{ - private Editor settingsEditor; - - public override void OnInspectorGUI() - { - // Load or create settings. - var behaviour = (AppCenterBehavior) target; - if (behaviour.Settings == null) - { - behaviour.Settings = AppCenterSettingsContext.SettingsInstance; - EditorUtility.SetDirty(behaviour); - EditorSceneManager.MarkSceneDirty(behaviour.gameObject.scene); - } - - // Draw settings. - if (settingsEditor == null) - { - settingsEditor = CreateEditor(behaviour.Settings); - } - settingsEditor.OnInspectorGUI(); - } -} diff --git a/Assets/AppCenter/Editor/AppCenterBehaviorEditor.cs.meta b/Assets/AppCenter/Editor/AppCenterBehaviorEditor.cs.meta deleted file mode 100644 index ef89b1fa..00000000 --- a/Assets/AppCenter/Editor/AppCenterBehaviorEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 8b75da1d7e1a6444bb6ca0bfefc96bca -timeCreated: 1502266489 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/AppCenterBehaviorEditorAdvanced.cs b/Assets/AppCenter/Editor/AppCenterBehaviorEditorAdvanced.cs deleted file mode 100644 index 036b92af..00000000 --- a/Assets/AppCenter/Editor/AppCenterBehaviorEditorAdvanced.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using UnityEditor; - -[CustomEditor(typeof(AppCenterBehaviorAdvanced))] -public class AppCenterBehaviorEditorAdvanced : Editor -{ - private Editor settingsEditorAdvanced; - - public override void OnInspectorGUI() - { - // Load or create settings. - var behaviour = (AppCenterBehaviorAdvanced) target; - if (behaviour.SettingsAdvanced == null) - { - behaviour.SettingsAdvanced = AppCenterSettingsContext.CreateSettingsInstanceAdvanced(); - } - - // Draw settings. - if (settingsEditorAdvanced == null) - { - settingsEditorAdvanced = CreateEditor(behaviour.SettingsAdvanced); - } - settingsEditorAdvanced.OnInspectorGUI(); - } - - public void OnDestroy() - { - // If the component is removed from GameObject then remove the related asset. - if (!target && FindObjectsOfType().Length == 0) - { - AppCenterSettingsContext.DeleteSettingsInstanceAdvanced(); - } - } -} diff --git a/Assets/AppCenter/Editor/AppCenterBehaviorEditorAdvanced.cs.meta b/Assets/AppCenter/Editor/AppCenterBehaviorEditorAdvanced.cs.meta deleted file mode 100644 index 67d96b6c..00000000 --- a/Assets/AppCenter/Editor/AppCenterBehaviorEditorAdvanced.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a931e43ece37e0f49a55725bf9250637 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/AppCenterIcon.png b/Assets/AppCenter/Editor/AppCenterIcon.png deleted file mode 100644 index ffb7e3b4..00000000 Binary files a/Assets/AppCenter/Editor/AppCenterIcon.png and /dev/null differ diff --git a/Assets/AppCenter/Editor/AppCenterIcon.png.meta b/Assets/AppCenter/Editor/AppCenterIcon.png.meta deleted file mode 100644 index 3aba741c..00000000 --- a/Assets/AppCenter/Editor/AppCenterIcon.png.meta +++ /dev/null @@ -1,106 +0,0 @@ -fileFormatVersion: 2 -guid: 2778c316eec875d46bbd2ecbfba6db4a -timeCreated: 1502267776 -licenseType: Free -TextureImporter: - fileIDToRecycleName: {} - serializedVersion: 4 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 0 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: 1 - mipBias: -1 - wrapU: 1 - wrapV: -1 - wrapW: -1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spritePixelsToUnits: 100 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 2 - textureShape: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Standalone - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: iPhone - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Android - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Windows Store Apps - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - spritePackingTag: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/AppCenterPostBuild.cs b/Assets/AppCenter/Editor/AppCenterPostBuild.cs deleted file mode 100644 index a164df08..00000000 --- a/Assets/AppCenter/Editor/AppCenterPostBuild.cs +++ /dev/null @@ -1,340 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using Microsoft.AppCenter.Unity; -using System.IO; -using System.Linq; -using System.Text.RegularExpressions; -using System.Xml.Linq; -using System; -using System.Collections.Generic; -using UnityEditor.Build.Reporting; -using UnityEditor.Build; -using UnityEditor; -using UnityEngine; -using System.Reflection; - -// Warning: Don't use #if #endif for conditional compilation here as Unity -// doesn't always set the flags early enough. - -public class AppCenterPostBuild : IPostprocessBuildWithReport -{ - public int callbackOrder { get { return 0; } } - - private const string AppManifestFileName = "Package.appxmanifest"; - private const string CapabilitiesElement = "Capabilities"; - private const string CapabilityElement = "Capability"; - private const string CapabilityNameAttribute = "Name"; - private const string CapabilityNameAttributeValue = "internetClient"; - private const string AppIl2cppXaml = "App.xaml.cpp"; - private const string AppIl2cppD3d = "App.cpp"; - - public void OnPostprocessBuild(BuildReport report) - { - OnPostprocessBuild(report.summary.platform, report.summary.outputPath); - } - - public void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) - { - if (target == BuildTarget.WSAPlayer) - { - AddInternetClientCapability(pathToBuiltProject); - if (PlayerSettings.GetScriptingBackend(BuildTargetGroup.WSA) == ScriptingImplementation.IL2CPP) - { - // Fix System.Diagnostics.Debug IL2CPP implementation. - FixIl2CppLogging(pathToBuiltProject); - } - } - if (target == BuildTarget.iOS && - PBXProjectWrapper.PBXProjectIsAvailable && - PlistDocumentWrapper.PlistDocumentIsAvailable) - { - var pbxProject = new PBXProjectWrapper(pathToBuiltProject); - - // Update project. - OnPostprocessProject(pbxProject); - pbxProject.WriteToFile(); - - // Update Info.plist. - var settings = AppCenterSettingsContext.SettingsInstance; - var infoPath = pathToBuiltProject + "/Info.plist"; - var info = new PlistDocumentWrapper(infoPath); - OnPostprocessInfo(info, settings); - info.WriteToFile(); - - // Update capabilities (if possible). - if (ProjectCapabilityManagerWrapper.ProjectCapabilityManagerIsAvailable) - { - var capabilityManager = new ProjectCapabilityManagerWrapper(pbxProject.ProjectPath, - PBXProjectWrapper.GetUnityTargetName(), - pbxProject.GetUnityTargetGuid()); - capabilityManager.WriteToFile(); - } - } - } - - #region UWP Methods - - /// - /// In order to have App Center SDK logs we are using 'OutputDebugStringW' func to display them. - /// To use 'OutputDebugStringW' we should update autogenerated Debugger.cpp file. - /// - /// Path to build project - public static void FixIl2CppLogging(string pathToBuiltProject) - { - var destDebuggerPath = Path.Combine(pathToBuiltProject, - "Il2CppOutputProject\\IL2CPP\\libil2cpp\\icalls\\mscorlib\\System.Diagnostics\\Debugger.cpp"); - if (!File.Exists(destDebuggerPath)) - { - throw new FileNotFoundException("Debugger.cpp file not found"); - } - var codeLines = File.ReadAllLines(destDebuggerPath).ToList(); - - // Update #include and #undef derictives. - var lastIncludeLineIndex = SearchForLine(codeLines, "#include", true); - if (lastIncludeLineIndex == -1) - { - throw new Exception("Unexpected content of Debugger.cpp"); - } - - // Add '#include ' which provides 'OutputDebugStringW'. - codeLines.Insert(lastIncludeLineIndex + 1, "#include "); - - /* - * 'GetCurrentDirectory' define conflicts with generated code and new versions of Unity - * combine some files on the compilation so the changes in one file can affect another. - */ - codeLines.Insert(lastIncludeLineIndex + 2, "#undef GetCurrentDirectory"); - - // Add logging method. - var logMethodLineIndex = SearchForLine(codeLines, "void Debugger::Log"); - if (logMethodLineIndex == -1) - { - throw new Exception("Unexpected content of Debugger.cpp"); - } - var insertingPosition = GetFirstLineInMethodBody(codeLines, logMethodLineIndex); - codeLines.Insert(insertingPosition, "OutputDebugStringW(message->chars);"); - - // Enable logging. - var isLoggingMethodLineIndex = SearchForLine(codeLines, "bool Debugger::IsLogging"); - if (isLoggingMethodLineIndex == -1) - { - throw new Exception("Unexpected content of Debugger.cpp"); - } - var firstLineInMethodBody = GetFirstLineInMethodBody(codeLines, isLoggingMethodLineIndex); - var lastLineInMethodBody = GetLastLineInMethodBody(codeLines, isLoggingMethodLineIndex); - codeLines.RemoveRange(firstLineInMethodBody, lastLineInMethodBody - firstLineInMethodBody); - codeLines.Insert(firstLineInMethodBody, "return true;"); - File.WriteAllLines(destDebuggerPath, codeLines.ToArray()); - } - - private static int GetFirstLineInMethodBody(List lines, int currentLineIndex) - { - while (currentLineIndex <= lines.Count && !lines[currentLineIndex].Contains("{")) - { - currentLineIndex++; - } - if (currentLineIndex >= lines.Count) - { - throw new Exception("Unexpected content of Debugger.cpp"); - } - return currentLineIndex + 1; - } - - private static int GetLastLineInMethodBody(List lines, int currentLineIndex) - { - var lineIndex = GetFirstLineInMethodBody(lines, currentLineIndex); - int bracketsBalance = lines[lineIndex - 1].Count((item) => item == '{'); - while (lineIndex <= lines.Count && bracketsBalance != 0) - { - bracketsBalance += lines[lineIndex].Count((item) => item == '{'); - bracketsBalance -= lines[lineIndex].Count((item) => item == '}'); - lineIndex++; - } - if (bracketsBalance != 0) - { - throw new Exception("Unexpected content of Debugger.cpp"); - } - return lineIndex - 1; - } - - private static int SearchForLine(List lines, string searchString, bool returnTheLast = false) - { - int position = -1; - for (var i = 0; i < lines.Count; i++) - { - if (lines[i].Contains(searchString)) - { - if (returnTheLast) - { - position = i; - } - else - { - return i; - } - } - } - return position; - } - - public static string GetAppFilePath(string pathToBuiltProject, string filename) - { - var candidate = Path.Combine(pathToBuiltProject, Application.productName); - candidate = Path.Combine(candidate, filename); - return File.Exists(candidate) ? candidate : null; - } - - public static void ProcessUwpIl2CppDependencies() - { - var binaries = AssetDatabase.FindAssets("*", new[] { AppCenterSettingsContext.AppCenterPath + "/Plugins/WSA/IL2CPP" }); - foreach (var guid in binaries) - { - var assetPath = AssetDatabase.GUIDToAssetPath(guid); - var importer = AssetImporter.GetAtPath(assetPath) as PluginImporter; - if (importer != null) - { - importer.SetPlatformData(BuildTarget.WSAPlayer, "SDK", "UWP"); - importer.SetPlatformData(BuildTarget.WSAPlayer, "ScriptingBackend", "Il2Cpp"); - importer.SaveAndReimport(); - } - } - } - - private static void ExecuteCommand(string command, string arguments, int timeout = 600) - { - try - { - var buildProcess = new System.Diagnostics.Process - { - StartInfo = - { - FileName = command, - Arguments = arguments - } - }; - buildProcess.Start(); - buildProcess.WaitForExit(timeout * 1000); - } - catch (Exception exception) - { - Debug.LogException(exception); - } - } - - private static void AddInternetClientCapability(string pathToBuiltProject) - { - /* Package.appxmanifest file example: - - - - - */ - - var appManifests = Directory.GetFiles(pathToBuiltProject, AppManifestFileName, SearchOption.AllDirectories); - if (appManifests.Length == 0) - { - Debug.LogWarning("Failed to add the `InternetClient` capability, file `" + AppManifestFileName + "` is not found"); - return; - } - else if (appManifests.Length > 1) - { - Debug.LogWarning("Failed to add the `InternetClient` capability, multiple `" + AppManifestFileName + "` files found"); - return; - } - - var appManifestFilePath = appManifests[0]; - var xmlFile = XDocument.Load(appManifestFilePath); - var defaultNamespace = xmlFile.Root.GetDefaultNamespace().NamespaceName; - var capabilitiesElements = xmlFile.Root.Elements().Where(element => element.Name.LocalName == CapabilitiesElement).ToList(); - if (capabilitiesElements.Count > 1) - { - Debug.LogWarning("Failed to add the `InternetClient` capability, multiple `Capabilities` elements found inside `" + appManifestFilePath + "` file"); - return; - } - else if (capabilitiesElements.Count == 0) - { - xmlFile.Root.Add(new XElement(XName.Get(CapabilitiesElement, defaultNamespace), GetInternetClientCapabilityElement(defaultNamespace))); - } - else // capabilitiesElements.Count == 1 - { - var capabilitiesElement = capabilitiesElements[0]; - foreach (var element in capabilitiesElement.Elements()) - { - if (element.Name.LocalName == CapabilityElement && - GetAttributeValue(element, CapabilityNameAttribute) == CapabilityNameAttributeValue) - { - return; - } - } - capabilitiesElement.Add(GetInternetClientCapabilityElement(defaultNamespace)); - } - xmlFile.Save(appManifestFilePath); - } - - private static XElement GetInternetClientCapabilityElement(string defaultNamespace) - { - return new XElement(XName.Get(CapabilityElement, defaultNamespace), - new XAttribute(CapabilityNameAttribute, CapabilityNameAttributeValue)); - } - - internal static string GetAttributeValue(XElement element, string attributeName) - { - var attribute = element.Attribute(attributeName); - return attribute == null ? null : attribute.Value; - } - - #endregion - - #region iOS Methods - private static void OnPostprocessProject(PBXProjectWrapper project) - { - // Need to add SQLite and zlib dependencies. - project.AddBuildProperty("OTHER_LDFLAGS", "-lsqlite3 -lz"); -#if UNITY_2019_3_OR_NEWER - project.AddBuildProperty("CLANG_ENABLE_MODULES", "YES", true); -#else - project.AddBuildProperty("CLANG_ENABLE_MODULES", "YES"); -#endif - } - - private static void OnPostprocessInfo(PlistDocumentWrapper info, AppCenterSettings settings) - { - if (settings.UseDistribute && AppCenter.Distribute != null) - { - // Add App Center URL scemes. - var schemes = new List() { "appcenter-" + settings.iOSAppSecret }; - - // Create a reflection call for getting custom schemes from iOS settings. - var playerSettingsClass = typeof(PlayerSettings.iOS); - var iOSURLSchemesMethod = playerSettingsClass.GetMethod("GetURLSchemes", BindingFlags.Static | BindingFlags.NonPublic); - - // Verify that method exists and call it for getting custom schemes. - if (iOSURLSchemesMethod != null) - { - var schemesFromSettings = (string[])iOSURLSchemesMethod.Invoke(null, null); - schemes.AddRange(schemesFromSettings.ToList()); - } - - // Generate scheme information. - var root = info.GetRoot(); - var urlTypes = root.GetType().GetMethod("CreateArray").Invoke(root, new object[] { "CFBundleURLTypes" }); - if (settings.UseDistribute && AppCenter.Distribute != null) - { - var urlType = urlTypes.GetType().GetMethod("AddDict").Invoke(urlTypes, null); - var setStringMethod = urlType.GetType().GetMethod("SetString"); - setStringMethod.Invoke(urlType, new object[] { "CFBundleTypeRole", "None" }); - setStringMethod.Invoke(urlType, new object[] { "CFBundleURLName", ApplicationIdHelper.GetApplicationId() }); - var urlSchemes = urlType.GetType().GetMethod("CreateArray").Invoke(urlType, new[] { "CFBundleURLSchemes" }); - - // Add custom schemes defined in Unity players settings. - foreach (var scheme in schemes) - { - urlSchemes.GetType().GetMethod("AddString").Invoke(urlSchemes, new[] { scheme }); - } - } - } - } - - #endregion -} diff --git a/Assets/AppCenter/Editor/AppCenterPostBuild.cs.meta b/Assets/AppCenter/Editor/AppCenterPostBuild.cs.meta deleted file mode 100644 index 2e5f1e7c..00000000 --- a/Assets/AppCenter/Editor/AppCenterPostBuild.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 1c0067cc6476946b180484e48966b142 -timeCreated: 1497896393 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/AppCenterPreBuild.cs b/Assets/AppCenter/Editor/AppCenterPreBuild.cs deleted file mode 100644 index ecc42938..00000000 --- a/Assets/AppCenter/Editor/AppCenterPreBuild.cs +++ /dev/null @@ -1,190 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using Microsoft.AppCenter.Unity; -using System; -using System.IO; -using UnityEditor; -using UnityEditor.Build; -using UnityEditor.Build.Reporting; -using UnityEngine; - -public class AppCenterPreBuild : IPreprocessBuildWithReport -{ - private const string AarFilePattern = "appcenter-{0}-release"; - public int callbackOrder { get { return 0; } } -#if UNITY_WSA - private readonly Version RequiredMinimalUWPVersion = new Version("10.0.16299.0"); -#endif - - public void OnPreprocessBuild(BuildReport report) - { - OnPreprocessBuild(report.summary.platform, report.summary.outputPath); - } - - public void OnPreprocessBuild(BuildTarget target, string path) - { - if (target == BuildTarget.Android) - { -#if !APPCENTER_DONT_USE_NATIVE_STARTER - var settingsMaker = new AppCenterSettingsMakerAndroid(); - AddStartupCode(settingsMaker); -#if UNITY_ANDROID - AddSettingsFileToLoader(settingsMaker); -#endif -#endif - } - else if (target == BuildTarget.iOS) - { -#if !APPCENTER_DONT_USE_NATIVE_STARTER - AddStartupCode(new AppCenterSettingsMakerIos()); -#endif - } - else if (target == BuildTarget.WSAPlayer) - { -#if UNITY_WSA - var currentMinimalPlatformVersion = new Version(EditorUserBuildSettings.wsaMinUWPSDK); - if (currentMinimalPlatformVersion < RequiredMinimalUWPVersion) - { - Debug.LogWarning($"Minimum platform version should be set to {RequiredMinimalUWPVersion} or higher. App Center does not support lower versions but it is set to {currentMinimalPlatformVersion}"); - } -#endif - } - if (target == BuildTarget.Android) - { - // No linking/unlinking in case module isn't added. - if (AppCenter.Distribute != null) - { - LinkModule(AppCenterSettingsContext.SettingsInstance.UseDistribute, "distribute"); - } - if (AppCenter.Analytics != null) - { - LinkModule(AppCenterSettingsContext.SettingsInstance.UseAnalytics, "analytics"); - } - if (AppCenter.Crashes != null) - { - LinkModule(AppCenterSettingsContext.SettingsInstance.UseCrashes, "crashes"); - } - } - } - -#if UNITY_ANDROID - public static void AddSettingsFileToLoader(AppCenterSettingsMakerAndroid settingsMaker) - { - var loaderZipFile = AppCenterSettingsContext.AppCenterPath + "/Plugins/Android/appcenter-loader-release.aar"; - const string loaderFolder = "appcenter-loader-release"; - const string settingsFilePath = loaderFolder + "/res/values/appcenter-settings.xml"; - const string settingsMetaFilePath = loaderFolder + "/res/values/appcenter-settings.xml.meta"; - - if (!File.Exists(loaderZipFile)) - { - throw new IOException("Failed to load dependency file appcenter-loader-release.aar"); - } - - // Delete unzipped directory if it already exists. - if (Directory.Exists(loaderFolder)) - { - Directory.Delete(loaderFolder, true); - } - - AndroidLibraryHelper.UnzipFile(loaderZipFile, loaderFolder); - if (!Directory.Exists(loaderFolder)) - { - throw new IOException("Unzipping loader folder failed."); - } - - settingsMaker.CommitSettings(settingsFilePath); - - // Delete the appcenter-settings.xml.meta file if generated. - if (File.Exists(settingsMetaFilePath)) - { - File.Delete(settingsMetaFilePath); - } - - // Delete the original aar file and zipped the extracted folder to generate a new one. - File.Delete(loaderZipFile); - AndroidLibraryHelper.ZipFile(loaderFolder, loaderZipFile); - Directory.Delete(loaderFolder, true); - } -#endif - - private void AddStartupCode(IAppCenterSettingsMaker settingsMaker) - { - var settings = AppCenterSettingsContext.SettingsInstance; - var advancedSettings = AppCenterSettingsContext.SettingsInstanceAdvanced; - settingsMaker.SetAppSecret(settings); - settingsMaker.SetLogLevel((int)settings.InitialLogLevel); - settingsMaker.IsAllowNetworkRequests((bool)settings.AllowNetworkRequests); - if (settings.CustomLogUrl.UseCustomUrl) - { - settingsMaker.SetLogUrl(settings.CustomLogUrl.Url); - } - if (settings.MaxStorageSize.UseCustomMaxStorageSize && settings.MaxStorageSize.Size > 0) - { - settingsMaker.SetMaxStorageSize(settings.MaxStorageSize.Size); - } - if (settings.UseAnalytics && settingsMaker.IsAnalyticsAvailable()) - { - settingsMaker.StartAnalyticsClass(); - } - if (settings.UseCrashes && settingsMaker.IsCrashesAvailable()) - { - settingsMaker.StartCrashesClass(); - } - if (settings.UseDistribute && settingsMaker.IsDistributeAvailable()) - { - if (settings.CustomApiUrl.UseCustomUrl) - { - settingsMaker.SetApiUrl(settings.CustomApiUrl.Url); - } - if (settings.CustomInstallUrl.UseCustomUrl) - { - settingsMaker.SetInstallUrl(settings.CustomInstallUrl.Url); - } - if (settings.EnableDistributeForDebuggableBuild) - { - settingsMaker.SetShouldEnableDistributeForDebuggableBuild(); - } - if (!settings.AutomaticCheckForUpdate) - { - settingsMaker.SetDistributeDisableAutomaticCheckForUpdate(); - } - settingsMaker.SetUpdateTrack(settings.UpdateTrack); - settingsMaker.StartDistributeClass(); - } - if (advancedSettings != null) - { - var startupType = settingsMaker.IsStartFromAppCenterBehavior(advancedSettings) ? StartupType.Skip : advancedSettings.GetStartupType(); - settingsMaker.SetStartupType((int)startupType); - settingsMaker.SetTransmissionTargetToken(advancedSettings.TransmissionTargetToken); - } - else - { - settingsMaker.SetStartupType((int)StartupType.AppCenter); - } - settingsMaker.CommitSettings(); - } - - #region Android Methods - - private static void LinkModule(bool isEnabled, string moduleName) - { - var aarName = string.Format(AarFilePattern, moduleName); - var aarFileAsset = AssetDatabase.FindAssets(aarName, new[] { AppCenterSettingsContext.AppCenterPath + "/Plugins/Android" }); - if (aarFileAsset.Length == 0) - { - Debug.LogWarning("Failed to link " + moduleName + ", file `" + aarName + "` is not found"); - return; - } - var assetPath = AssetDatabase.GUIDToAssetPath(aarFileAsset[0]); - var importer = AssetImporter.GetAtPath(assetPath) as PluginImporter; - if (importer != null) - { - Debug.Log (moduleName + " is " + (isEnabled ? "" : "not ") + "enabled. " + - (isEnabled ? "Linking " : "Unlinking ") + aarName); - importer.SetCompatibleWithPlatform(BuildTarget.Android, isEnabled); - importer.SaveAndReimport(); - } - } - #endregion -} diff --git a/Assets/AppCenter/Editor/AppCenterPreBuild.cs.meta b/Assets/AppCenter/Editor/AppCenterPreBuild.cs.meta deleted file mode 100644 index e4ad3915..00000000 --- a/Assets/AppCenter/Editor/AppCenterPreBuild.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 16e4e6da5f50549cfb7ca7a683d8ae8f -timeCreated: 1513203132 -licenseType: Pro -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/AppCenterSettingsContext.cs b/Assets/AppCenter/Editor/AppCenterSettingsContext.cs deleted file mode 100644 index 7ede1edf..00000000 --- a/Assets/AppCenter/Editor/AppCenterSettingsContext.cs +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using UnityEngine; -using UnityEditor; -using System.IO; -using System.Linq; - -public class AppCenterSettingsContext : ScriptableObject -{ - private static string appCenterPath; - private static readonly string SettingsPath = AppCenterPath + "/AppCenterSettings.asset"; - private static readonly string AdvancedSettingsPath = AppCenterPath + "/AppCenterSettingsAdvanced.asset"; - public static string AppCenterPath - { - get - { - if (string.IsNullOrEmpty(appCenterPath)) - { - appCenterPath = FindSubfolderPath("Assets", "AppCenter"); - } - return appCenterPath; - } - } - - public static AppCenterSettings SettingsInstance - { - get - { - // No need to lock because this can only be accessed from the main thread. - var instance = AssetDatabase.LoadAssetAtPath(SettingsPath); - if (instance == null) - { - instance = CreateInstance(); - AssetDatabase.CreateAsset(instance, SettingsPath); - AssetDatabase.SaveAssets(); - } - return instance; - } - } - - public static AppCenterSettingsAdvanced SettingsInstanceAdvanced - { - get - { - // No need to lock because this can only be accessed from the main thread. - return AssetDatabase.LoadAssetAtPath(AdvancedSettingsPath); - } - } - - private static string FindSubfolderPath(string parentFolder, string searchFolder) - { - string[] folders = AssetDatabase.GetSubFolders(parentFolder); - string resultFolder = folders.FirstOrDefault(folder => (new DirectoryInfo(folder)).Name == searchFolder); - if (string.IsNullOrEmpty(resultFolder) && folders.Length > 0) - { - string temp; - for (int i = 0; i < folders.Length; i++) - { - temp = FindSubfolderPath(folders[i], searchFolder); - if (!string.IsNullOrEmpty(temp)) - { - return temp; - } - } - } - return resultFolder; - } - - public static AppCenterSettingsAdvanced CreateSettingsInstanceAdvanced() - { - var instance = AssetDatabase.LoadAssetAtPath(AdvancedSettingsPath); - if (instance == null) - { - instance = CreateInstance(); - AssetDatabase.CreateAsset(instance, AdvancedSettingsPath); - AssetDatabase.SaveAssets(); - } - return instance; - } - - public static void DeleteSettingsInstanceAdvanced() - { - AssetDatabase.DeleteAsset(AdvancedSettingsPath); - } -} diff --git a/Assets/AppCenter/Editor/AppCenterSettingsContext.cs.meta b/Assets/AppCenter/Editor/AppCenterSettingsContext.cs.meta deleted file mode 100644 index 653e81b8..00000000 --- a/Assets/AppCenter/Editor/AppCenterSettingsContext.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: a2039654418774fd1a596ae0de6ec117 -timeCreated: 1513203491 -licenseType: Pro -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/AppCenterSettingsEditor.cs b/Assets/AppCenter/Editor/AppCenterSettingsEditor.cs deleted file mode 100644 index 9520aead..00000000 --- a/Assets/AppCenter/Editor/AppCenterSettingsEditor.cs +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using UnityEngine; -using UnityEditor; -using Microsoft.AppCenter.Unity; - -[CustomEditor(typeof(AppCenterSettings))] -public class AppCenterSettingsEditor : Editor -{ - public override void OnInspectorGUI() - { - serializedObject.Update(); - - // Draw app secrets. - Header("App Secrets"); - EditorGUILayout.PropertyField(serializedObject.FindProperty("iOSAppSecret")); - EditorGUILayout.PropertyField(serializedObject.FindProperty("AndroidAppSecret")); - EditorGUILayout.PropertyField(serializedObject.FindProperty("UWPAppSecret")); - - // Draw modules. - if (AppCenter.Analytics != null) - { - Header("Analytics"); - EditorGUILayout.PropertyField(serializedObject.FindProperty("UseAnalytics")); - EditorGUILayout.PropertyField(serializedObject.FindProperty("MaxStorageSize")); - } - if (AppCenter.Crashes != null) - { - Header("Crashes"); - EditorGUILayout.PropertyField(serializedObject.FindProperty("UseCrashes")); - } - if (AppCenter.Distribute != null) - { - Header("Distribute"); - var serializedProperty = serializedObject.FindProperty("UseDistribute"); - EditorGUILayout.PropertyField(serializedProperty); - EditorGUILayout.PropertyField(serializedObject.FindProperty("UpdateTrack")); - EditorGUILayout.PropertyField(serializedObject.FindProperty("AutomaticCheckForUpdate")); - EditorGUILayout.PropertyField(serializedObject.FindProperty("EnableDistributeForDebuggableBuild")); - EditorGUILayout.PropertyField(serializedObject.FindProperty("CustomApiUrl")); - EditorGUILayout.PropertyField(serializedObject.FindProperty("CustomInstallUrl")); - } - - // Draw other. - Header("Other Setup"); - EditorGUILayout.PropertyField(serializedObject.FindProperty("InitialLogLevel")); - EditorGUILayout.PropertyField(serializedObject.FindProperty("CustomLogUrl")); - EditorGUILayout.PropertyField(serializedObject.FindProperty("AllowNetworkRequests")); - serializedObject.ApplyModifiedProperties(); - } - - private static void Header(string label) - { - GUILayout.Label(label, EditorStyles.boldLabel); - GUILayout.Space(-4); - } -} diff --git a/Assets/AppCenter/Editor/AppCenterSettingsEditor.cs.meta b/Assets/AppCenter/Editor/AppCenterSettingsEditor.cs.meta deleted file mode 100644 index 74feeccb..00000000 --- a/Assets/AppCenter/Editor/AppCenterSettingsEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a8247f056cc059c4aa3d9b57058f5d64 -timeCreated: 1502269651 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/AppCenterSettingsEditorAdvanced.cs b/Assets/AppCenter/Editor/AppCenterSettingsEditorAdvanced.cs deleted file mode 100644 index aa10036f..00000000 --- a/Assets/AppCenter/Editor/AppCenterSettingsEditorAdvanced.cs +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using UnityEditor; -using UnityEngine; - -[CustomEditor(typeof(AppCenterSettingsAdvanced))] -public class AppCenterSettingsEditorAdvanced : Editor -{ - public override void OnInspectorGUI() - { - serializedObject.Update(); - EditorGUILayout.PropertyField(serializedObject.FindProperty("TransmissionTargetToken")); - EditorGUILayout.PropertyField(serializedObject.FindProperty("StartAndroidNativeSDKFromAppCenterBehavior")); - EditorGUILayout.PropertyField(serializedObject.FindProperty("StartIOSNativeSDKFromAppCenterBehavior"), new GUIContent("Start iOS Native SDK From App Center Behavior")); - //The following line can be useful if you want to be able to configure StartupType from AppCenter Behaviour Advanced. - //EditorGUILayout.PropertyField(serializedObject.FindProperty("AppCenterStartupType")); - serializedObject.ApplyModifiedProperties(); - } -} diff --git a/Assets/AppCenter/Editor/AppCenterSettingsEditorAdvanced.cs.meta b/Assets/AppCenter/Editor/AppCenterSettingsEditorAdvanced.cs.meta deleted file mode 100644 index 64f4b5cd..00000000 --- a/Assets/AppCenter/Editor/AppCenterSettingsEditorAdvanced.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3a11f2b13c794884191a36df20b65b1a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/AppCenterSettingsMakerAndroid.cs b/Assets/AppCenter/Editor/AppCenterSettingsMakerAndroid.cs deleted file mode 100644 index aeaff764..00000000 --- a/Assets/AppCenter/Editor/AppCenterSettingsMakerAndroid.cs +++ /dev/null @@ -1,140 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System.Collections.Generic; -using System.IO; - -public class AppCenterSettingsMakerAndroid : IAppCenterSettingsMaker -{ - private const string AppSecretKey = "appcenter_app_secret"; - private const string AllowNetworkRequestsKey = "allow_network_requests"; - private const string TransmissionTargetTokenKey = "appcenter_transmission_target_token"; - private const string CustomLogUrlKey = "appcenter_custom_log_url"; - private const string UseCustomLogUrlKey = "appcenter_use_custom_log_url"; - private const string InitialLogLevelKey = "appcenter_initial_log_level"; - private const string StartupTypeKey = "appcenter_startup_type"; - private const string UseCrashesKey = "appcenter_use_crashes"; - private const string UseAnalyticsKey = "appcenter_use_analytics"; - private const string UseDistributeKey = "appcenter_use_distribute"; - private const string DistributeDisableAutomaticCheckForUpdateKey = "appcenter_distribute_disable_automatic_check_for_update"; - private const string CustomApiUrlKey = "appcenter_custom_api_url"; - private const string UseCustomApiUrlKey = "appcenter_use_custom_api_url"; - private const string CustomInstallUrlKey = "appcenter_custom_install_url"; - private const string UseCustomInstallUrlKey = "appcenter_use_custom_install_url"; - private const string MaxStorageSizeKey = "appcenter_max_storage_size"; - private const string UpdateTrackKey = "appcenter_update_track"; - private const string EnableDistributeForDebuggableBuildKey = "appcenter_enable_distribute_for_debuggable_build"; - - private readonly IDictionary _resourceValues = new Dictionary(); - - public void SetLogLevel(int logLevel) - { - _resourceValues[InitialLogLevelKey] = logLevel.ToString(); - } - - public void SetStartupType(int startupType) - { - _resourceValues[StartupTypeKey] = startupType.ToString(); - } - - public void SetUpdateTrack(int updateTrack) - { - _resourceValues[UpdateTrackKey] = updateTrack.ToString(); - } - - public void SetLogUrl(string logUrl) - { - _resourceValues[CustomLogUrlKey] = logUrl; - _resourceValues[UseCustomLogUrlKey] = true.ToString(); - } - - public void IsAllowNetworkRequests(bool isAllowed) - { - _resourceValues[AllowNetworkRequestsKey] = isAllowed.ToString(); - } - - public void SetAppSecret(AppCenterSettings settings) - { - _resourceValues[AppSecretKey] = settings.AndroidAppSecret; - } - - public void SetTransmissionTargetToken(string transmissionTargetToken) - { - _resourceValues[TransmissionTargetTokenKey] = transmissionTargetToken; - } - - public void StartCrashesClass() - { - _resourceValues[UseCrashesKey] = true.ToString(); - } - - public void StartAnalyticsClass() - { - _resourceValues[UseAnalyticsKey] = true.ToString(); - } - - public void StartDistributeClass() - { - _resourceValues[UseDistributeKey] = true.ToString(); - } - - public void SetDistributeDisableAutomaticCheckForUpdate() - { - _resourceValues[DistributeDisableAutomaticCheckForUpdateKey] = true.ToString(); - } - - public void SetApiUrl(string apiUrl) - { - _resourceValues[CustomApiUrlKey] = apiUrl; - _resourceValues[UseCustomApiUrlKey] = true.ToString(); - } - - public void SetInstallUrl(string installUrl) - { - _resourceValues[CustomInstallUrlKey] = installUrl; - _resourceValues[UseCustomInstallUrlKey] = true.ToString(); - } - - public void SetMaxStorageSize(long size) - { - _resourceValues[MaxStorageSizeKey] = size.ToString(); - } - - public void CommitSettings() - { - } - - public void CommitSettings(string filePath) - { - if (File.Exists(filePath)) - { - File.Delete(filePath); - } - XmlResourceHelper.WriteXmlResource(filePath, _resourceValues); - } - - public bool IsStartFromAppCenterBehavior(AppCenterSettingsAdvanced advancedSettings) - { - return advancedSettings.StartAndroidNativeSDKFromAppCenterBehavior; - } - - public bool IsAnalyticsAvailable() - { - return File.Exists(AppCenterSettingsContext.AppCenterPath + "/Plugins/Android/appcenter-analytics-release.aar"); - } - - public bool IsCrashesAvailable() - { - return File.Exists(AppCenterSettingsContext.AppCenterPath + "/Plugins/Android/appcenter-crashes-release.aar"); - } - - public bool IsDistributeAvailable() - { - return File.Exists(AppCenterSettingsContext.AppCenterPath + "/Plugins/Android/appcenter-distribute-release.aar"); - } - - public void SetShouldEnableDistributeForDebuggableBuild() - { - _resourceValues[EnableDistributeForDebuggableBuildKey] = true.ToString(); - } -} diff --git a/Assets/AppCenter/Editor/AppCenterSettingsMakerAndroid.cs.meta b/Assets/AppCenter/Editor/AppCenterSettingsMakerAndroid.cs.meta deleted file mode 100644 index a51051d0..00000000 --- a/Assets/AppCenter/Editor/AppCenterSettingsMakerAndroid.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0b2133faca91a47b49acd4d0fe6e076f -timeCreated: 1502322233 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/AppCenterSettingsMakerIos.cs b/Assets/AppCenter/Editor/AppCenterSettingsMakerIos.cs deleted file mode 100644 index e0eb2d3b..00000000 --- a/Assets/AppCenter/Editor/AppCenterSettingsMakerIos.cs +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System.IO; -using UnityEditor; - -public class AppCenterSettingsMakerIos : IAppCenterSettingsMaker -{ - private static readonly string TemplateFilePath = AppCenterSettingsContext.AppCenterPath + "/Plugins/iOS/Core/AppCenterStarter.original"; - private static readonly string TargetFilePath = AppCenterSettingsContext.AppCenterPath + "/Plugins/iOS/Core/AppCenterStarter.m"; - private const string AppSecretSearchText = "appcenter-app-secret"; - private const string AllowNetworkRequestsText = "allow-network-requests"; - private const string TransmissionTargetTokenSearchText = "appcenter-transmission-target-token"; - private const string LogUrlSearchText = "custom-log-url"; - private const string LogUrlToken = "APPCENTER_UNITY_USE_CUSTOM_LOG_URL"; - private const string LogLevelSearchText = "0/*LOG_LEVEL*/"; - private const string StartupTypeSearchText = "0/*STARTUP_TYPE*/"; - private const string UseCrashesToken = "APPCENTER_UNITY_USE_CRASHES"; - private const string UseAnalyticsToken = "APPCENTER_UNITY_USE_ANALYTICS"; - private const string UseDistributeToken = "APPCENTER_UNITY_USE_DISTRIBUTE"; - private const string DistributeDisableAutomaticCheckForUpdateToken = "APPCENTER_DISTRIBUTE_DISABLE_AUTOMATIC_CHECK_FOR_UPDATE"; - private const string ApiUrlSearchText = "custom-api-url"; - private const string ApiUrlToken = "APPCENTER_UNITY_USE_CUSTOM_API_URL"; - private const string InstallUrlSearchText = "custom-install-url"; - private const string InstallUrlToken = "APPCENTER_UNITY_USE_CUSTOM_INSTALL_URL"; - private const string UseCustomMaxStorageSize = "APPCENTER_USE_CUSTOM_MAX_STORAGE_SIZE"; - private const string MaxStorageSize = "APPCENTER_MAX_STORAGE_SIZE"; - private const string UpdateTrackSearchText = "1 /*UPDATE_TRACK*/"; - - private string _loaderFileText; - private bool _enableDistributeForDebuggableBuild; - - public AppCenterSettingsMakerIos() - { - _loaderFileText = File.ReadAllText(TemplateFilePath); - } - - public void SetLogLevel(int logLevel) - { - _loaderFileText = _loaderFileText.Replace(LogLevelSearchText, logLevel.ToString()); - } - - public void IsAllowNetworkRequests(bool isAllowed) - { - _loaderFileText = _loaderFileText.Replace(AllowNetworkRequestsText, isAllowed ? "YES" : "NO"); - } - - public void SetStartupType(int startupType) - { - _loaderFileText = _loaderFileText.Replace(StartupTypeSearchText, startupType.ToString()); - } - - public void SetLogUrl(string logUrl) - { - AddToken(LogUrlToken); - _loaderFileText = _loaderFileText.Replace(LogUrlSearchText, logUrl); - } - - public void SetAppSecret(AppCenterSettings settings) - { - _loaderFileText = _loaderFileText.Replace(AppSecretSearchText, settings.iOSAppSecret); - } - - public void SetTransmissionTargetToken(string transmissionTargetToken) - { - _loaderFileText = _loaderFileText.Replace(TransmissionTargetTokenSearchText, transmissionTargetToken); - } - - public void StartCrashesClass() - { - AddToken(UseCrashesToken); - } - - public void StartDistributeClass() - { - if (_enableDistributeForDebuggableBuild || !EditorUserBuildSettings.development) - { - AddToken(UseDistributeToken); - } - } - - public void StartAnalyticsClass() - { - AddToken(UseAnalyticsToken); - } - - public void SetApiUrl(string apiUrl) - { - AddToken(ApiUrlToken); - _loaderFileText = _loaderFileText.Replace(ApiUrlSearchText, apiUrl); - } - - public void SetInstallUrl(string installUrl) - { - AddToken(InstallUrlToken); - _loaderFileText = _loaderFileText.Replace(InstallUrlSearchText, installUrl); - } - - public void CommitSettings() - { - File.WriteAllText(TargetFilePath, _loaderFileText); - } - - public void SetMaxStorageSize(long size) - { - AddToken(UseCustomMaxStorageSize); - _loaderFileText = _loaderFileText.Replace(MaxStorageSize, size.ToString()); - } - - private void AddToken(string token) - { - var tokenText = "#define " + token + "\n"; - _loaderFileText = tokenText + _loaderFileText; - } - - public bool IsStartFromAppCenterBehavior(AppCenterSettingsAdvanced advancedSettings) - { - return advancedSettings.StartIOSNativeSDKFromAppCenterBehavior; - } - - public bool IsAnalyticsAvailable() - { - return Directory.Exists(AppCenterSettingsContext.AppCenterPath + "/Plugins/iOS/Analytics"); - } - - public bool IsCrashesAvailable() - { - return Directory.Exists(AppCenterSettingsContext.AppCenterPath + "/Plugins/iOS/Crashes"); - } - - public bool IsDistributeAvailable() - { - return Directory.Exists(AppCenterSettingsContext.AppCenterPath + "/Plugins/iOS/Distribute"); - } - - public void SetShouldEnableDistributeForDebuggableBuild() - { - _enableDistributeForDebuggableBuild = true; - } - - public void SetDistributeDisableAutomaticCheckForUpdate() - { - AddToken(DistributeDisableAutomaticCheckForUpdateToken); - } - - public void SetUpdateTrack(int updateTrack) - { - _loaderFileText = _loaderFileText.Replace(UpdateTrackSearchText, updateTrack.ToString()); - } -} diff --git a/Assets/AppCenter/Editor/AppCenterSettingsMakerIos.cs.meta b/Assets/AppCenter/Editor/AppCenterSettingsMakerIos.cs.meta deleted file mode 100644 index 7914cd82..00000000 --- a/Assets/AppCenter/Editor/AppCenterSettingsMakerIos.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: bb87d249dd7a048688f34b63e118a7b0 -timeCreated: 1502216315 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/AppSecretDrawer.cs b/Assets/AppCenter/Editor/AppSecretDrawer.cs deleted file mode 100644 index e4fb4bf9..00000000 --- a/Assets/AppCenter/Editor/AppSecretDrawer.cs +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using UnityEditor; -using UnityEngine; - -[CustomPropertyDrawer(typeof(AppSecretAttribute))] -public class AppSecretDrawer : PropertyDrawer -{ - public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) - { - var name = ((AppSecretAttribute) attribute).Name; - if (!string.IsNullOrEmpty(name)) - { - label.text = name; - } - EditorGUI.PropertyField(position, property, label); - } -} diff --git a/Assets/AppCenter/Editor/AppSecretDrawer.cs.meta b/Assets/AppCenter/Editor/AppSecretDrawer.cs.meta deleted file mode 100644 index 9126936a..00000000 --- a/Assets/AppCenter/Editor/AppSecretDrawer.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 119814cc89d1e4652975a06e6df567c6 -timeCreated: 1504046963 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/ApplicationIdHelper.cs b/Assets/AppCenter/Editor/ApplicationIdHelper.cs deleted file mode 100644 index e09488e8..00000000 --- a/Assets/AppCenter/Editor/ApplicationIdHelper.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using UnityEditor; - -public static class ApplicationIdHelper -{ - public static string GetApplicationId() - { - return PlayerSettings.applicationIdentifier; - } -} \ No newline at end of file diff --git a/Assets/AppCenter/Editor/ApplicationIdHelper.cs.meta b/Assets/AppCenter/Editor/ApplicationIdHelper.cs.meta deleted file mode 100644 index f988edf8..00000000 --- a/Assets/AppCenter/Editor/ApplicationIdHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c39732e4de5a34bfbbda09c28c8e7f9f -timeCreated: 1503349438 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/CustomDropDownPropertyDrawer.cs b/Assets/AppCenter/Editor/CustomDropDownPropertyDrawer.cs deleted file mode 100644 index 8315043c..00000000 --- a/Assets/AppCenter/Editor/CustomDropDownPropertyDrawer.cs +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System.Collections.Generic; -using System.Linq; -using UnityEditor; -using UnityEngine; - -[CustomPropertyDrawer(typeof(CustomDropDownPropertyAttribute))] -public class CustomDropDownPropertyDrawer : PropertyDrawer -{ - bool _initialized = false; - object[] _attributes = null; - Dictionary _optionsDictionary = new Dictionary(); - string[] _options = null; - int _selectedIndex = 0; - - public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) - { - if (!_initialized) - { - _attributes = fieldInfo.GetCustomAttributes(typeof(CustomDropDownPropertyAttribute), false); - foreach (var itemAttribute in _attributes) - { - var customPropertyAttribute = itemAttribute as CustomDropDownPropertyAttribute; - _optionsDictionary.Add(customPropertyAttribute.SelectedKey, customPropertyAttribute.SelectedValue); - if (customPropertyAttribute.SelectedValue == AppCenterSettingsContext.SettingsInstance.UpdateTrack) - { - _selectedIndex = ArrayUtility.IndexOf(_attributes, itemAttribute); - } - } - _options = _optionsDictionary.Keys.ToArray(); - _initialized = true; - } - - _selectedIndex = EditorGUI.Popup(position, property.displayName, _selectedIndex, _options); - property.intValue = _optionsDictionary[_options[_selectedIndex]]; - } -} diff --git a/Assets/AppCenter/Editor/CustomDropDownPropertyDrawer.cs.meta b/Assets/AppCenter/Editor/CustomDropDownPropertyDrawer.cs.meta deleted file mode 100644 index ff035c8b..00000000 --- a/Assets/AppCenter/Editor/CustomDropDownPropertyDrawer.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f0e8996e972247549b62c85a8d7aa869 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/CustomUrlPropertyDrawer.cs b/Assets/AppCenter/Editor/CustomUrlPropertyDrawer.cs deleted file mode 100644 index d5079eae..00000000 --- a/Assets/AppCenter/Editor/CustomUrlPropertyDrawer.cs +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using UnityEngine; -using UnityEditor; - -[CustomPropertyDrawer(typeof(CustomUrlProperty))] -public class CustomUrlPropertyDrawer : PropertyDrawer -{ - public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) - { - property.Next(true); - var urlName = property.stringValue; - var useLabel = new GUIContent("Use Custom " + urlName + " URL"); - var urlLabel = new GUIContent("Custom " + urlName + " URL"); - - // Though the property may have double height, each child should have - // half that height. - position.height = EditorGUIUtility.singleLineHeight; - property.Next(false); - EditorGUI.PropertyField(position, property, useLabel); - if (property.boolValue) - { - property.Next(false); - position.y += EditorGUIUtility.singleLineHeight + EditorGUIUtility.standardVerticalSpacing; - EditorGUI.PropertyField(position, property, urlLabel); - } - } - - public override float GetPropertyHeight(SerializedProperty property, GUIContent label) - { - // If "set custom log url" is true, need to make room for the text field. - property.Next(true); - property.Next(false); - - var height = base.GetPropertyHeight(property, label); - if (property.boolValue) - { - height += EditorGUIUtility.singleLineHeight + EditorGUIUtility.standardVerticalSpacing; - } - return height; - } -} diff --git a/Assets/AppCenter/Editor/CustomUrlPropertyDrawer.cs.meta b/Assets/AppCenter/Editor/CustomUrlPropertyDrawer.cs.meta deleted file mode 100644 index 98534e97..00000000 --- a/Assets/AppCenter/Editor/CustomUrlPropertyDrawer.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ebeca1d941dd04282895d881deecbc6c -timeCreated: 1504725583 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/IAppCenterSettingsMaker.cs b/Assets/AppCenter/Editor/IAppCenterSettingsMaker.cs deleted file mode 100644 index 3b68c7d7..00000000 --- a/Assets/AppCenter/Editor/IAppCenterSettingsMaker.cs +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -public interface IAppCenterSettingsMaker -{ - bool IsAnalyticsAvailable(); - bool IsCrashesAvailable(); - void IsAllowNetworkRequests(bool isAllowed); - bool IsDistributeAvailable(); - void StartAnalyticsClass(); - void StartCrashesClass(); - void StartDistributeClass(); - void SetAppSecret(AppCenterSettings settings); - void SetTransmissionTargetToken(string transmissionTargetToken); - void SetLogLevel(int logLevel); - bool IsStartFromAppCenterBehavior(AppCenterSettingsAdvanced advancedSettings); - void SetStartupType(int startupType); - void SetLogUrl(string logUrl); - void SetApiUrl(string apiUrl); - void SetInstallUrl(string installUrl); - void SetMaxStorageSize(long size); - void CommitSettings(); - void SetShouldEnableDistributeForDebuggableBuild(); - void SetDistributeDisableAutomaticCheckForUpdate(); - void SetUpdateTrack(int updateTrack); -} diff --git a/Assets/AppCenter/Editor/IAppCenterSettingsMaker.cs.meta b/Assets/AppCenter/Editor/IAppCenterSettingsMaker.cs.meta deleted file mode 100644 index 0a21f1c8..00000000 --- a/Assets/AppCenter/Editor/IAppCenterSettingsMaker.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a40c6c75c7d49cd4ab84b0d6d68a509f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/MaxStorageSizePropertyDrawer.cs b/Assets/AppCenter/Editor/MaxStorageSizePropertyDrawer.cs deleted file mode 100644 index 1b5238b8..00000000 --- a/Assets/AppCenter/Editor/MaxStorageSizePropertyDrawer.cs +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using UnityEngine; -using UnityEditor; - -[CustomPropertyDrawer(typeof(MaxStorageSizeProperty))] -public class MaxStorageSizePropertyDrawer : PropertyDrawer -{ - public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) - { - var useLabel = new GUIContent("Use Custom Max Storage Size"); - var urlLabel = new GUIContent("Max Storage Size Bytes"); - position.height = EditorGUIUtility.singleLineHeight; // Though the property may have double height, each child should have half that height. - property.Next(true); - EditorGUI.PropertyField(position, property, useLabel); - if (property.boolValue) - { - property.Next(false); - position.y += EditorGUIUtility.singleLineHeight + EditorGUIUtility.standardVerticalSpacing; - EditorGUI.PropertyField(position, property, urlLabel); - } - } - - public override float GetPropertyHeight(SerializedProperty property, GUIContent label) - { - property.Next(true); // If "Use Custom Max Storage Size" is true, need to make room for the text field. - var height = base.GetPropertyHeight(property, label); - if (property.boolValue) - { - height += EditorGUIUtility.singleLineHeight + EditorGUIUtility.standardVerticalSpacing; - } - return height; - } -} diff --git a/Assets/AppCenter/Editor/MaxStorageSizePropertyDrawer.cs.meta b/Assets/AppCenter/Editor/MaxStorageSizePropertyDrawer.cs.meta deleted file mode 100644 index 53c5553f..00000000 --- a/Assets/AppCenter/Editor/MaxStorageSizePropertyDrawer.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 428e5cf118c809a40b0fbc4b93d77e60 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/PBXProjectWrapper.cs b/Assets/AppCenter/Editor/PBXProjectWrapper.cs deleted file mode 100644 index c55de97d..00000000 --- a/Assets/AppCenter/Editor/PBXProjectWrapper.cs +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using System.Reflection; - -/* - * Wrapper class for PBXProject that invokes methods via reflection. Needed - * because there are cases when conditional compilation symbols are not - * defined soon enough to use the class directly. Using the class directly - * can cause problems on Windows machines that don't have the iOS build - * tool installed. - */ -public class PBXProjectWrapper -{ - private static readonly Type PBXProjectType; - private object _pbxProject; - private string _projectPath; - - static PBXProjectWrapper() - { - var xcExtensionsAssembly = Assembly.Load("UnityEditor.iOS.Extensions.Xcode"); - if (xcExtensionsAssembly != null) - { - PBXProjectType = xcExtensionsAssembly.GetType("UnityEditor.iOS.Xcode.PBXProject"); - } - } - - public static string GetUnityTargetName() - { - var flags = BindingFlags.Public | BindingFlags.Static; - return PBXProjectType.GetMethod("GetUnityTargetName", flags) - .Invoke(PBXProjectType, null) as string; - } - - public string GetUnityTargetGuid() - { -#if UNITY_2019_3_OR_NEWER - return PBXProjectType.GetMethod("GetUnityFrameworkTargetGuid") - .Invoke(_pbxProject, null).ToString(); -#else - return null; -#endif - } - - public static bool PBXProjectIsAvailable - { - get - { - return PBXProjectType != null; - } - } - - public string ProjectPath - { - get - { - return _projectPath; - } - } - - public PBXProjectWrapper(string pathToBuiltProject) - { - var flags = BindingFlags.Public | BindingFlags.Static; - var arguments = new object[] { pathToBuiltProject }; - _projectPath = PBXProjectType.GetMethod("GetPBXProjectPath", flags) - .Invoke(PBXProjectType, arguments) as string; - _pbxProject = PBXProjectType.GetConstructor(Type.EmptyTypes).Invoke(null); - PBXProjectType.GetMethod("ReadFromFile").Invoke(_pbxProject, new[] { _projectPath }); - } - - public void WriteToFile() - { - PBXProjectType.GetMethod("WriteToFile").Invoke(_pbxProject, new[] { _projectPath }); - } - -#if UNITY_2019_3_OR_NEWER - public void AddBuildProperty(string name, string value, bool toFrameworkTarget = false) -#else - public void AddBuildProperty(string name, string value) -#endif - { - object targetGuid; -#if UNITY_2019_3_OR_NEWER - targetGuid = PBXProjectType.GetMethod("GetUnityMainTargetGuid") - .Invoke(_pbxProject, null); - if (toFrameworkTarget) - { - object frameworkTarget = PBXProjectType.GetMethod("GetUnityFrameworkTargetGuid").Invoke(_pbxProject, null); - PBXProjectType.GetMethod("AddBuildProperty", new[] { typeof(string), typeof(string), typeof(string) }) - .Invoke(_pbxProject, new[] { frameworkTarget, name, value }); - } -#else - var targetName = GetUnityTargetName(); - targetGuid = PBXProjectType.GetMethod("TargetGuidByName") - .Invoke(_pbxProject, new object[] { targetName }); -#endif - PBXProjectType.GetMethod("AddBuildProperty", - new[] { typeof(string), typeof(string), typeof(string) }) - .Invoke(_pbxProject, - new[] { targetGuid, name, value }); - } -} \ No newline at end of file diff --git a/Assets/AppCenter/Editor/PBXProjectWrapper.cs.meta b/Assets/AppCenter/Editor/PBXProjectWrapper.cs.meta deleted file mode 100644 index 09ea9642..00000000 --- a/Assets/AppCenter/Editor/PBXProjectWrapper.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: f4e4b5327bd6d4fa1b30a0da2ba6ae46 -timeCreated: 1513288156 -licenseType: Pro -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/PlistDocumentWrapper.cs b/Assets/AppCenter/Editor/PlistDocumentWrapper.cs deleted file mode 100644 index 38540859..00000000 --- a/Assets/AppCenter/Editor/PlistDocumentWrapper.cs +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using System.Reflection; - -public class PlistDocumentWrapper -{ - private object _plistDocument; - private string _path; - private static readonly Type PlistDocumentType; - - static PlistDocumentWrapper() - { - var xcExtensionsAssembly = Assembly.Load("UnityEditor.iOS.Extensions.Xcode"); - if (xcExtensionsAssembly != null) - { - PlistDocumentType = xcExtensionsAssembly.GetType("UnityEditor.iOS.Xcode.PlistDocument"); - } - } - - public static bool PlistDocumentIsAvailable - { - get - { - return PlistDocumentType != null; - } - } - - public PlistDocumentWrapper(string path) - { - _path = path; - _plistDocument = PlistDocumentType.GetConstructor(Type.EmptyTypes).Invoke(null); - PlistDocumentType.GetMethod("ReadFromFile").Invoke(_plistDocument, new[] { _path }); - } - - public object GetRoot() - { - return PlistDocumentType.GetField("root").GetValue(_plistDocument); - } - - public void WriteToFile() - { - PlistDocumentType.GetMethod("WriteToFile").Invoke(_plistDocument, new[] { _path }); - } -} diff --git a/Assets/AppCenter/Editor/PlistDocumentWrapper.cs.meta b/Assets/AppCenter/Editor/PlistDocumentWrapper.cs.meta deleted file mode 100644 index 5f7c2566..00000000 --- a/Assets/AppCenter/Editor/PlistDocumentWrapper.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 1fce65b4e1d6646dda661bf55f78e3f6 -timeCreated: 1513288156 -licenseType: Pro -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/ProjectCapabilityManagerWrapper.cs b/Assets/AppCenter/Editor/ProjectCapabilityManagerWrapper.cs deleted file mode 100644 index 337029ae..00000000 --- a/Assets/AppCenter/Editor/ProjectCapabilityManagerWrapper.cs +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using System.Reflection; - -public class ProjectCapabilityManagerWrapper -{ - private static readonly Type ProjectCapabilityManagerType; - private object _capabilityManager; - - static ProjectCapabilityManagerWrapper() - { - var xcExtensionsAssembly = Assembly.Load("UnityEditor.iOS.Extensions.Xcode"); - if (xcExtensionsAssembly != null) - { - ProjectCapabilityManagerType = xcExtensionsAssembly.GetType("UnityEditor.iOS.Xcode.ProjectCapabilityManager"); - } - } - - public void AddRemoteNotificationsToBackgroundModes() - { - var backgroundModesEnumType = ProjectCapabilityManagerType.Assembly.GetType("UnityEditor.iOS.Xcode.BackgroundModesOptions"); - var remoteNotifEnum = Enum.Parse(backgroundModesEnumType, "RemoteNotifications"); - ProjectCapabilityManagerType.GetMethod("AddBackgroundModes").Invoke(_capabilityManager, new object[] { remoteNotifEnum }); - } - - public static bool ProjectCapabilityManagerIsAvailable - { - get - { - return ProjectCapabilityManagerType != null; - } - } - - public ProjectCapabilityManagerWrapper(string projectPath, string targetName, string targetGuid) - { -#if UNITY_2019_3_OR_NEWER - _capabilityManager = ProjectCapabilityManagerType - .GetConstructor(new[] { typeof(string), typeof(string), typeof(string), typeof(string) }) - .Invoke(new object[] { projectPath, targetName + ".entitlements", targetName, targetGuid }); -#else - _capabilityManager = ProjectCapabilityManagerType - .GetConstructor(new[] { typeof(string), typeof(string), typeof(string)}) - .Invoke(new object[] { projectPath, targetName + ".entitlements", targetName }); -#endif - } - - public void WriteToFile() - { - ProjectCapabilityManagerType.GetMethod("WriteToFile").Invoke(_capabilityManager, null); - } -} diff --git a/Assets/AppCenter/Editor/ProjectCapabilityManagerWrapper.cs.meta b/Assets/AppCenter/Editor/ProjectCapabilityManagerWrapper.cs.meta deleted file mode 100644 index 8ac5286d..00000000 --- a/Assets/AppCenter/Editor/ProjectCapabilityManagerWrapper.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 6ca2e2a428dbc432c930ec7a5b186fba -timeCreated: 1513288156 -licenseType: Pro -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Editor/XmlResourceHelper.cs b/Assets/AppCenter/Editor/XmlResourceHelper.cs deleted file mode 100644 index efe11630..00000000 --- a/Assets/AppCenter/Editor/XmlResourceHelper.cs +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System.Collections.Generic; -using System.IO; -using System.Xml; - -public static class XmlResourceHelper -{ - public static void WriteXmlResource(string path, IDictionary resourceValues) - { - var xws = new XmlWriterSettings - { - Indent = true - }; - using (var sw = File.Create(path)) - using (var xw = XmlWriter.Create(sw, xws)) - { - xw.WriteStartDocument(); - xw.WriteStartElement("resources"); - - foreach (var kvp in resourceValues) - { - if (!string.IsNullOrEmpty(kvp.Value)) - { - xw.WriteStartElement("string"); - xw.WriteAttributeString("name", kvp.Key); - xw.WriteAttributeString("translatable", "false"); - xw.WriteString(kvp.Value); - xw.WriteEndElement(); - } - } - - xw.WriteEndElement(); - xw.WriteEndDocument(); - xw.Flush(); - xw.Close(); - } - } -} diff --git a/Assets/AppCenter/Editor/XmlResourceHelper.cs.meta b/Assets/AppCenter/Editor/XmlResourceHelper.cs.meta deleted file mode 100644 index 83eabbf2..00000000 --- a/Assets/AppCenter/Editor/XmlResourceHelper.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: dc5634190b21448b6bdeac14c833304c -timeCreated: 1513106215 -licenseType: Pro -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins.meta b/Assets/AppCenter/Plugins.meta deleted file mode 100644 index e89ca3a9..00000000 --- a/Assets/AppCenter/Plugins.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e2b03a217b6ed8349b372a679a0f7aae -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android.meta b/Assets/AppCenter/Plugins/Android.meta deleted file mode 100644 index 8eb2c06b..00000000 --- a/Assets/AppCenter/Plugins/Android.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: afed194a733530a4eb52e6e0d76a80b1 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android/Utility.meta b/Assets/AppCenter/Plugins/Android/Utility.meta deleted file mode 100644 index 67ccbf59..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility.meta +++ /dev/null @@ -1,34 +0,0 @@ -fileFormatVersion: 2 -guid: 65a57d979f383420a894f22dfe19f005 -folderAsset: yes -timeCreated: 1498496047 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Android: Android - second: - enabled: 1 - settings: {} - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android/Utility/AndroidUtility.cs b/Assets/AppCenter/Plugins/Android/Utility/AndroidUtility.cs deleted file mode 100644 index 5ca6cd48..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility/AndroidUtility.cs +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using UnityEngine; - -namespace Assets.AppCenter.Plugins.Android.Utility -{ - class AndroidUtility - { - private static AndroidJavaObject _context; - private const string PREFS_NAME = "AppCenterUserPrefs"; - - public static AndroidJavaObject GetAndroidContext() - { - if (_context != null) - { - return _context; - } - var unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); - var activity = unityPlayer.GetStatic("currentActivity"); - _context = activity.Call("getApplicationContext"); - return _context; - } - - public static void SetPreferenceInt(string prefKey, int prefValue) - { - AndroidJavaObject context = GetAndroidContext(); - AndroidJavaObject sharedPreferences = context.Call("getSharedPreferences", new object[] { PREFS_NAME, 0 }); - AndroidJavaObject editor = sharedPreferences.Call("edit"); - editor = editor.Call("putInt", new object[] { prefKey, prefValue }); - editor.Call("apply"); - } - - public static void SetPreferenceString(string prefKey, string prefValue) - { - AndroidJavaObject context = GetAndroidContext(); - AndroidJavaObject sharedPreferences = context.Call("getSharedPreferences", new object[] { PREFS_NAME, 0 }); - AndroidJavaObject editor = sharedPreferences.Call("edit"); - editor = editor.Call("putString", new object[] { prefKey, prefValue }); - editor.Call("apply"); - } - } -} diff --git a/Assets/AppCenter/Plugins/Android/Utility/AndroidUtility.cs.meta b/Assets/AppCenter/Plugins/Android/Utility/AndroidUtility.cs.meta deleted file mode 100644 index c047edb2..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility/AndroidUtility.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c7653ac593f8a4859bc75b4952e2a9dc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android/Utility/JavaDateHelper.cs b/Assets/AppCenter/Plugins/Android/Utility/JavaDateHelper.cs deleted file mode 100644 index 68ccaa0e..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility/JavaDateHelper.cs +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID -using System; -using System.Globalization; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Internal.Utility -{ - public class JavaDateHelper - { - private const string DotNetDateFormat = "yyyy-MM-dd'T'HH:mm:ss.fffK"; - - private static AndroidJavaObject _javaDateFormatter; - private static AndroidJavaObject JavaDateFormatter - { - get - { - if (_javaDateFormatter == null) - { - _javaDateFormatter = new AndroidJavaObject("java.text.SimpleDateFormat", "yyyy-MM-dd'T'HH:mm:ss.SSSZ"); - } - return _javaDateFormatter; - } - } - - public static AndroidJavaObject DateTimeConvert(DateTime date) - { - // 'DotNetDateFormat' contains timezone info with time separator. - // 'javaDateFormatter' uses date format with timezone info without time separator. - // Time separator should be removed from date string before 'parse' call. - var dateString = date.ToString(DotNetDateFormat); - int separatorIndex = dateString.LastIndexOf(CultureInfo.CurrentCulture.DateTimeFormat.TimeSeparator); - dateString = dateString.Remove(separatorIndex, 1); - return JavaDateFormatter.Call("parse", dateString); - } - - public static DateTimeOffset DateTimeConvert(AndroidJavaObject date) - { - // Unable to use DateTimeOffset.ParseExact(dateString, DotNetDateFormat, CultureInfo.InvariantCulture) here - // because it throws "Invalid format string" exception - var dateString = JavaDateFormatter.Call("format", date); - var dateTime = DateTime.ParseExact(dateString, DotNetDateFormat, CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal); - return new DateTimeOffset(dateTime); - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/Android/Utility/JavaDateHelper.cs.meta b/Assets/AppCenter/Plugins/Android/Utility/JavaDateHelper.cs.meta deleted file mode 100644 index b7e444df..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility/JavaDateHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ebd2662d8c212481b8ae72fe6be77873 -timeCreated: 1498578955 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android/Utility/JavaNumberHelper.cs b/Assets/AppCenter/Plugins/Android/Utility/JavaNumberHelper.cs deleted file mode 100644 index 6d29c76b..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility/JavaNumberHelper.cs +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Internal.Utility -{ - public class JavaNumberHelper - { - public static AndroidJavaObject Convert(int val) - { - AndroidJavaObject javaInteger = new AndroidJavaObject("java.lang.Integer", val); - return javaInteger; - } - - public static AndroidJavaObject Convert(long val) - { - AndroidJavaObject javaLong = new AndroidJavaObject("java.lang.Long", val); - return javaLong; - } - - public static AndroidJavaObject Convert(float val) - { - AndroidJavaObject javaFloat = new AndroidJavaObject("java.lang.Float", val); - return javaFloat; - } - - public static AndroidJavaObject Convert(double val) - { - AndroidJavaObject javaDouble = new AndroidJavaObject("java.lang.Double", val); - return javaDouble; - } - - //TODO how to support decimal? - } -} -#endif diff --git a/Assets/AppCenter/Plugins/Android/Utility/JavaNumberHelper.cs.meta b/Assets/AppCenter/Plugins/Android/Utility/JavaNumberHelper.cs.meta deleted file mode 100644 index 7f476fb4..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility/JavaNumberHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: dcfb87d5b5fb94c77b4d361b4791a677 -timeCreated: 1498578955 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android/Utility/JavaStringMapHelper.cs b/Assets/AppCenter/Plugins/Android/Utility/JavaStringMapHelper.cs deleted file mode 100644 index 8b13efb9..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility/JavaStringMapHelper.cs +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID -using System; -using System.Linq; -using System.Collections.Generic; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Internal.Utility -{ - public class JavaStringMapHelper - { - public static Dictionary ConvertFromJava(AndroidJavaObject map) - { - var keySet = map.Call("keySet"); - var keyArray = keySet.Call("toArray"); - string[] keys = AndroidJNIHelper.ConvertFromJNIArray(keyArray.GetRawObject()); - var dictionary = new Dictionary(); - foreach (var key in keys) - { - var val = map.Call("get", key); - dictionary[key] = val; - } - return dictionary; - } - - public static AndroidJavaObject ConvertToJava(IDictionary properties) - { - if (properties == null) - { - return null; - } - string[] keys = properties.Keys.ToArray(); - string[] values = properties.Values.ToArray(); - int count = properties.Count; - var javaMap = new AndroidJavaObject("java.util.HashMap"); - for (int i = 0; i < count; ++i) - { - javaMap.Call("put", keys[i], values[i]); - } - return javaMap; - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/Android/Utility/JavaStringMapHelper.cs.meta b/Assets/AppCenter/Plugins/Android/Utility/JavaStringMapHelper.cs.meta deleted file mode 100644 index ee751ba0..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility/JavaStringMapHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 80fb4bb7b657748d399b89f4367331e8 -timeCreated: 1498496048 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android/Utility/archive.ps1 b/Assets/AppCenter/Plugins/Android/Utility/archive.ps1 deleted file mode 100644 index 4cab749d..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility/archive.ps1 +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT license. - -param -( - [Parameter(Position=0, Mandatory = $false, HelpMessage="Source folder", ValueFromPipeline = $true)] - $Source, - [Parameter(Position=1, Mandatory = $false, HelpMessage="Destination file path", ValueFromPipeline = $true)] - $Destination -) - -Try -{ - Add-Type -assembly "system.io.compression.filesystem" - [io.compression.zipfile]::CreateFromDirectory($Source, $Destination) -} -Catch -{ - $Exc = $_.Exception.Message - Write-Error "File $Destination was not created. Error: $Exc" -} diff --git a/Assets/AppCenter/Plugins/Android/Utility/archive.ps1.meta b/Assets/AppCenter/Plugins/Android/Utility/archive.ps1.meta deleted file mode 100644 index 00bbe4b0..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility/archive.ps1.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 27462eedb9e0e4dee8d0ff51fe4dee0d -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android/Utility/unarchive.ps1 b/Assets/AppCenter/Plugins/Android/Utility/unarchive.ps1 deleted file mode 100644 index 7ffaa97e..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility/unarchive.ps1 +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT license. - -param -( - [Parameter(Position=0, Mandatory = $false, HelpMessage="Source file", ValueFromPipeline = $true)] - $Source, - [Parameter(Position=1, Mandatory = $false, HelpMessage="Destination path", ValueFromPipeline = $true)] - $Destination -) - -New-Item -ItemType directory -Path $Destination - -Try -{ - Add-Type -assembly "system.io.compression.filesystem" - [io.compression.zipfile]::ExtractToDirectory($Source, $Destination) -} -Catch -{ - $Exc = $_.Exception.Message - Write-Error "Folder $Destination was not created. Error: $Exc" -} diff --git a/Assets/AppCenter/Plugins/Android/Utility/unarchive.ps1.meta b/Assets/AppCenter/Plugins/Android/Utility/unarchive.ps1.meta deleted file mode 100644 index cf868257..00000000 --- a/Assets/AppCenter/Plugins/Android/Utility/unarchive.ps1.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7fff91df92b854ad680ee28ba1c36fce -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android/appcenter-analytics-release.aar b/Assets/AppCenter/Plugins/Android/appcenter-analytics-release.aar deleted file mode 100644 index 5e868d0f..00000000 Binary files a/Assets/AppCenter/Plugins/Android/appcenter-analytics-release.aar and /dev/null differ diff --git a/Assets/AppCenter/Plugins/Android/appcenter-analytics-release.aar.meta b/Assets/AppCenter/Plugins/Android/appcenter-analytics-release.aar.meta deleted file mode 100644 index 269f4d42..00000000 --- a/Assets/AppCenter/Plugins/Android/appcenter-analytics-release.aar.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 6f313f109a3454802b5cae94a72ee306 -timeCreated: 1504718816 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Android: Android - second: - enabled: 1 - settings: {} - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android/appcenter-crashes-release.aar b/Assets/AppCenter/Plugins/Android/appcenter-crashes-release.aar deleted file mode 100644 index 4779596e..00000000 Binary files a/Assets/AppCenter/Plugins/Android/appcenter-crashes-release.aar and /dev/null differ diff --git a/Assets/AppCenter/Plugins/Android/appcenter-crashes-release.aar.meta b/Assets/AppCenter/Plugins/Android/appcenter-crashes-release.aar.meta deleted file mode 100644 index 7352cee8..00000000 --- a/Assets/AppCenter/Plugins/Android/appcenter-crashes-release.aar.meta +++ /dev/null @@ -1,31 +0,0 @@ -fileFormatVersion: 2 -guid: 20e621e7423ed4dd4b6826b8dab0c7eb -timeCreated: 1512463304 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Android: Android - second: - enabled: 1 - settings: {} - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android/appcenter-distribute-release.aar b/Assets/AppCenter/Plugins/Android/appcenter-distribute-release.aar deleted file mode 100644 index 3f4023f5..00000000 Binary files a/Assets/AppCenter/Plugins/Android/appcenter-distribute-release.aar and /dev/null differ diff --git a/Assets/AppCenter/Plugins/Android/appcenter-distribute-release.aar.meta b/Assets/AppCenter/Plugins/Android/appcenter-distribute-release.aar.meta deleted file mode 100644 index 86f3e632..00000000 --- a/Assets/AppCenter/Plugins/Android/appcenter-distribute-release.aar.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 68c3a86f609b440b1b95a05639da7861 -timeCreated: 1504718816 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Android: Android - second: - enabled: 1 - settings: {} - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android/appcenter-loader-release.aar b/Assets/AppCenter/Plugins/Android/appcenter-loader-release.aar deleted file mode 100644 index 6b8d018a..00000000 Binary files a/Assets/AppCenter/Plugins/Android/appcenter-loader-release.aar and /dev/null differ diff --git a/Assets/AppCenter/Plugins/Android/appcenter-loader-release.aar.meta b/Assets/AppCenter/Plugins/Android/appcenter-loader-release.aar.meta deleted file mode 100644 index 6a9604e4..00000000 --- a/Assets/AppCenter/Plugins/Android/appcenter-loader-release.aar.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 1865e2b19b6434dcf9e4f48f7208d7a0 -timeCreated: 1503351439 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Android: Android - second: - enabled: 1 - settings: {} - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/Android/appcenter-release.aar b/Assets/AppCenter/Plugins/Android/appcenter-release.aar deleted file mode 100644 index b3783a33..00000000 Binary files a/Assets/AppCenter/Plugins/Android/appcenter-release.aar and /dev/null differ diff --git a/Assets/AppCenter/Plugins/Android/appcenter-release.aar.meta b/Assets/AppCenter/Plugins/Android/appcenter-release.aar.meta deleted file mode 100644 index 4c7850a5..00000000 --- a/Assets/AppCenter/Plugins/Android/appcenter-release.aar.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 10c16a9d75c5c48cca25985ae8bf3ec6 -timeCreated: 1504718816 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Android: Android - second: - enabled: 1 - settings: {} - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK.meta b/Assets/AppCenter/Plugins/AppCenterSDK.meta deleted file mode 100644 index f7f1bcca..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4de8fbe7ed99aa245bf6616636b6c980 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics.meta deleted file mode 100644 index 513f1049..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3834fae7b40ff624cbea26abb8c648d4 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android.meta deleted file mode 100644 index 3041db36..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 3081e1f5b9e3f4598ba1d4ec33c30d17 -folderAsset: yes -timeCreated: 1498059874 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/AnalyticsInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/AnalyticsInternal.cs deleted file mode 100644 index 3a613a50..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/AnalyticsInternal.cs +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR -using System; -using System.Collections.Generic; -using Microsoft.AppCenter.Unity.Internal.Utility; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Analytics.Internal -{ - class AnalyticsInternal - { - private static AndroidJavaClass _analytics = new AndroidJavaClass("com.microsoft.appcenter.analytics.Analytics"); - - public static void PrepareEventHandlers() - { - AppCenterBehavior.InitializedAppCenterAndServices += PostInitialize; - } - - private static void PostInitialize() - { - var instance = _analytics.CallStatic("getInstance"); - AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); - AndroidJavaObject activity = unityPlayer.GetStatic("currentActivity"); - instance.Call("onActivityResumed", activity); - } - - public static void AddNativeType(List nativeTypes) - { - nativeTypes.Add(AndroidJNI.FindClass("com/microsoft/appcenter/analytics/Analytics")); - } - - public static void TrackEvent(string eventName) - { - _analytics.CallStatic("trackEvent", eventName); - } - - public static void TrackEvent(string eventName, int flags) - { - _analytics.CallStatic("trackEvent", eventName, null, flags); - } - - public static void TrackEventWithProperties(string eventName, IDictionary properties) - { - var androidProperties = JavaStringMapHelper.ConvertToJava(properties); - _analytics.CallStatic("trackEvent", eventName, androidProperties); - } - - public static void TrackEventWithProperties(string eventName, EventProperties properties) - { - _analytics.CallStatic("trackEvent", eventName, properties.GetRawObject()); - } - - public static void TrackEventWithProperties(string eventName, IDictionary properties, int flags) - { - var androidProperties = JavaStringMapHelper.ConvertToJava(properties); - _analytics.CallStatic("trackEvent", eventName, androidProperties, flags); - } - - public static void TrackEventWithProperties(string eventName, EventProperties properties, int flags) - { - _analytics.CallStatic("trackEvent", eventName, properties.GetRawObject(), flags); - } - - public static AppCenterTask SetEnabledAsync(bool isEnabled) - { - var future = _analytics.CallStatic("setEnabled", isEnabled); - return new AppCenterTask(future); - } - - public static AppCenterTask IsEnabledAsync() - { - var future = _analytics.CallStatic("isEnabled"); - return new AppCenterTask(future); - } - - public static AndroidJavaObject GetTransmissionTarget(string transmissionTargetToken, out bool success) - { - var target = _analytics.CallStatic("getTransmissionTarget", transmissionTargetToken); - success = target != null; - return target; - } - - public static void Pause() - { - _analytics.CallStatic("pause"); - } - - public static void Resume() - { - _analytics.CallStatic("resume"); - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/AnalyticsInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/AnalyticsInternal.cs.meta deleted file mode 100644 index 3370bd4d..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/AnalyticsInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a713100f59727486c9ad45c500332234 -timeCreated: 1497467718 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/EventPropertiesInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/EventPropertiesInternal.cs deleted file mode 100644 index 4a08028b..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/EventPropertiesInternal.cs +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using UnityEngine; - -#if UNITY_ANDROID && !UNITY_EDITOR -using Microsoft.AppCenter.Unity.Internal.Utility; -namespace Microsoft.AppCenter.Unity.Analytics.Internal -{ - class EventPropertiesInternal - { - public static AndroidJavaObject Create() - { - return new AndroidJavaObject("com.microsoft.appcenter.analytics.EventProperties"); - } - - public static void SetString(AndroidJavaObject properties, string key, string val) - { - properties.Call("set", key, val); - } - - public static void SetNumber(AndroidJavaObject properties, string key, long val) - { - properties.Call("set", key, val); - } - - public static void SetNumber(AndroidJavaObject properties, string key, double val) - { - properties.Call("set", key, val); - } - - public static void SetBool(AndroidJavaObject properties, string key, bool val) - { - properties.Call("set", key, val); - } - - public static void SetDate(AndroidJavaObject properties, string key, DateTime val) - { - properties.Call("set", key, JavaDateHelper.DateTimeConvert(val)); - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/EventPropertiesInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/EventPropertiesInternal.cs.meta deleted file mode 100644 index 13e5a8db..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/EventPropertiesInternal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 514cee750a1f56f4bab5c663b3a4f557 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/PropertyConfiguratorInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/PropertyConfiguratorInternal.cs deleted file mode 100644 index f026ad54..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/PropertyConfiguratorInternal.cs +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR -using UnityEngine; -using Microsoft.AppCenter.Unity.Internal.Utility; -using System; - -namespace Microsoft.AppCenter.Unity.Analytics -{ - public class PropertyConfiguratorInternal - { - public static void SetAppName(AndroidJavaObject propertyConfigurator, string appName) - { - propertyConfigurator.Call("setAppName", appName); - } - - public static void SetUserId(AndroidJavaObject propertyConfigurator, string userId) - { - propertyConfigurator.Call("setUserId", userId); - } - - public static void SetAppVersion(AndroidJavaObject propertyConfigurator, string appVersion) - { - propertyConfigurator.Call("setAppVersion", appVersion); - } - - public static void SetAppLocale(AndroidJavaObject propertyConfigurator, string appLocale) - { - propertyConfigurator.Call("setAppLocale", appLocale); - } - - public static void CollectDeviceId(AndroidJavaObject propertyConfigurator) - { - propertyConfigurator.Call("collectDeviceId"); - } - - public static void SetEventProperty(AndroidJavaObject propertyConfigurator, string key, string value) - { - propertyConfigurator.Call("setEventProperty", key, value); - } - - public static void SetEventProperty(AndroidJavaObject propertyConfigurator, string key, DateTime value) - { - var javaDate = JavaDateHelper.DateTimeConvert(value); - propertyConfigurator.Call("setEventProperty", key, javaDate); - } - - public static void SetEventProperty(AndroidJavaObject propertyConfigurator, string key, long value) - { - propertyConfigurator.Call("setEventProperty", key, value); - } - - public static void SetEventProperty(AndroidJavaObject propertyConfigurator, string key, double value) - { - propertyConfigurator.Call("setEventProperty", key, value); - } - - public static void SetEventProperty(AndroidJavaObject propertyConfigurator, string key, bool value) - { - propertyConfigurator.Call("setEventProperty", key, value); - } - - public static void RemoveEventProperty(AndroidJavaObject propertyConfigurator, string key) - { - propertyConfigurator.Call("removeEventProperty", key); - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/PropertyConfiguratorInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/PropertyConfiguratorInternal.cs.meta deleted file mode 100644 index bb99862c..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/PropertyConfiguratorInternal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e670e8c4e24f54cb3b15b96cba63313b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/TransmissionTargetInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/TransmissionTargetInternal.cs deleted file mode 100644 index eb8fa7c7..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/TransmissionTargetInternal.cs +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR -using System.Collections.Generic; -using System.Linq; -using UnityEngine; -using Microsoft.AppCenter.Unity.Analytics.Internal; -using Microsoft.AppCenter.Unity.Internal.Utility; - -namespace Microsoft.AppCenter.Unity.Analytics -{ - public class TransmissionTargetInternal - { - public static void TrackEvent(AndroidJavaObject transmissionTarget, string eventName) - { - transmissionTarget.Call("trackEvent", eventName); - } - - public static void TrackEvent(AndroidJavaObject transmissionTarget, string eventName, int flags) - { - transmissionTarget.Call("trackEvent", eventName, null, flags); - } - - public static void TrackEventWithProperties(AndroidJavaObject transmissionTarget, string eventName, IDictionary properties) - { - var androidProperties = JavaStringMapHelper.ConvertToJava(properties); - transmissionTarget.Call("trackEvent", eventName, androidProperties); - } - - public static void TrackEventWithProperties(AndroidJavaObject transmissionTarget, string eventName, EventProperties properties) - { - transmissionTarget.Call("trackEvent", eventName, properties.GetRawObject()); - } - - public static void TrackEventWithProperties(AndroidJavaObject transmissionTarget, string eventName, IDictionary properties, int flags) - { - var androidProperties = JavaStringMapHelper.ConvertToJava(properties); - transmissionTarget.Call("trackEvent", eventName, androidProperties, flags); - } - - public static void TrackEventWithProperties(AndroidJavaObject transmissionTarget, string eventName, EventProperties properties, int flags) - { - transmissionTarget.Call("trackEvent", eventName, properties.GetRawObject(), flags); - } - - public static AppCenterTask SetEnabledAsync(AndroidJavaObject transmissionTarget, bool enabled) - { - var future = transmissionTarget.Call("setEnabledAsync", enabled); - return new AppCenterTask(future); - } - - public static AppCenterTask IsEnabledAsync(AndroidJavaObject transmissionTarget) - { - var future = transmissionTarget.Call("isEnabledAsync"); - return new AppCenterTask(future); - } - - public static AndroidJavaObject GetTransmissionTarget(AndroidJavaObject transmissionTargetParent, string transmissionTargetToken, out bool success) - { - var target = transmissionTargetParent.Call("getTransmissionTarget", transmissionTargetToken); - success = target != null; - return target; - } - - public static AndroidJavaObject GetPropertyConfigurator(AndroidJavaObject transmissionTarget) - { - return transmissionTarget.Call("getPropertyConfigurator"); - } - - public static void Pause(AndroidJavaObject transmissionTarget) - { - transmissionTarget.Call("pause"); - } - - public static void Resume(AndroidJavaObject transmissionTarget) - { - transmissionTarget.Call("resume"); - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/TransmissionTargetInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/TransmissionTargetInternal.cs.meta deleted file mode 100644 index 0b668766..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Android/TransmissionTargetInternal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9b4de3e63b6764e059567a9e87feda60 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank.meta deleted file mode 100644 index be4643a3..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 05baa696b2306473096af3c82bf25429 -folderAsset: yes -timeCreated: 1498059884 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/AnalyticsInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/AnalyticsInternal.cs deleted file mode 100644 index 8274e3d0..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/AnalyticsInternal.cs +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR -using System; -using System.Collections.Generic; - -namespace Microsoft.AppCenter.Unity.Analytics.Internal -{ -#if UNITY_IOS || UNITY_ANDROID - using RawType = System.IntPtr; -#else - using RawType = System.Type; -#endif - -#if UNITY_IOS - using TransmissionTargetType = System.IntPtr; -#elif UNITY_ANDROID - using TransmissionTargetType = UnityEngine.AndroidJavaObject; -#else - using TransmissionTargetType = System.Object; -#endif - - class AnalyticsInternal - { - public static void PrepareEventHandlers() - { - } - - public static void AddNativeType(List nativeTypes) - { - } - - public static void TrackEvent(string eventName) - { - } - - public static void TrackEvent(string eventName, int flags) - { - } - - public static void TrackEventWithProperties(string eventName, IDictionary properties) - { - } - - public static void TrackEventWithProperties(string eventName, EventProperties properties) - { - } - - public static void TrackEventWithProperties(string eventName, IDictionary properties, int flags) - { - } - - public static void TrackEventWithProperties(string eventName, EventProperties properties, int flags) - { - } - - public static AppCenterTask SetEnabledAsync(bool enabled) - { - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync() - { - return AppCenterTask.FromCompleted(false); - } - - public static TransmissionTargetType GetTransmissionTarget(string transmissionTargetToken, out bool success) - { - success = false; - return default(TransmissionTargetType); - } - - public static void Pause() - { - } - - public static void Resume() - { - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/AnalyticsInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/AnalyticsInternal.cs.meta deleted file mode 100644 index 780fc4d4..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/AnalyticsInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 632c05efd92fe4ec9b424381b5392d76 -timeCreated: 1497465139 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/EventPropertiesInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/EventPropertiesInternal.cs deleted file mode 100644 index ef5d79c8..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/EventPropertiesInternal.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR -using System; - -namespace Microsoft.AppCenter.Unity.Analytics.Internal -{ -#if UNITY_IOS - using RawType = System.IntPtr; -#elif UNITY_ANDROID - using RawType = UnityEngine.AndroidJavaObject; -#else - using RawType = System.Object; -#endif - - class EventPropertiesInternal - { - public static RawType Create() - { - return default(RawType); - } - - public static void SetString(RawType properties, string key, string val) - { - } - - public static void SetNumber(RawType properties, string key, object val) - { - } - - public static void SetBool(RawType properties, string key, bool val) - { - } - - public static void SetDate(RawType properties, string key, DateTime val) - { - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/EventPropertiesInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/EventPropertiesInternal.cs.meta deleted file mode 100644 index 758f486f..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/EventPropertiesInternal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 61494a0be6a398041ad0f0aa1de5408e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/PropertyConfiguratorInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/PropertyConfiguratorInternal.cs deleted file mode 100644 index eecd39ac..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/PropertyConfiguratorInternal.cs +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR -using System; -using System.Collections.Generic; -using Microsoft.AppCenter.Unity.Analytics.Internal; - -namespace Microsoft.AppCenter.Unity.Analytics -{ -#if UNITY_IOS - using RawType = System.IntPtr; -#elif UNITY_ANDROID - using RawType = UnityEngine.AndroidJavaObject; -#else - using RawType = System.Object; -#endif - - public class PropertyConfiguratorInternal - { - public static void SetAppName(RawType propertyConfigurator, string appName) - { - } - - public static void SetUserId(RawType propertyConfigurator, string userId) - { - } - - public static void SetAppVersion(RawType propertyConfigurator, string appVersion) - { - } - - public static void SetAppLocale(RawType propertyConfigurator, string appLocale) - { - } - - public static void CollectDeviceId(RawType propertyConfigurator) - { - } - - public static void SetEventProperty(RawType propertyConfigurator, string key, string value) - { - } - - public static void SetEventProperty(RawType propertyConfigurator, string key, DateTime value) - { - } - - public static void SetEventProperty(RawType propertyConfigurator, string key, long value) - { - } - - public static void SetEventProperty(RawType propertyConfigurator, string key, double value) - { - } - - public static void SetEventProperty(RawType propertyConfigurator, string key, bool value) - { - } - - public static void RemoveEventProperty(RawType propertyConfigurator, string key) - { - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/PropertyConfiguratorInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/PropertyConfiguratorInternal.cs.meta deleted file mode 100644 index 00f895f8..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/PropertyConfiguratorInternal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 09033f50c9aa64a7bae8097136a84d14 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/TransmissionTargetInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/TransmissionTargetInternal.cs deleted file mode 100644 index 6023e36a..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/TransmissionTargetInternal.cs +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR -using Microsoft.AppCenter.Unity.Analytics.Internal; -using System; -using System.Collections.Generic; - -namespace Microsoft.AppCenter.Unity.Analytics -{ -#if UNITY_IOS - using RawType = System.IntPtr; -#elif UNITY_ANDROID - using RawType = UnityEngine.AndroidJavaObject; -#else - using RawType = System.Object; -#endif - - public class TransmissionTargetInternal - { - public static void TrackEvent(RawType transmissionTarget, string eventName) - { - } - - public static void TrackEvent(RawType transmissionTarget, string eventName, int flags) - { - } - - public static void TrackEventWithProperties(RawType transmissionTarget, string eventName, IDictionary properties) - { - } - - public static void TrackEventWithProperties(RawType transmissionTarget, string eventName, EventProperties properties) - { - } - - public static void TrackEventWithProperties(RawType transmissionTarget, string eventName, IDictionary properties, int flags) - { - } - - public static void TrackEventWithProperties(RawType transmissionTarget, string eventName, EventProperties properties, int flags) - { - } - - public static AppCenterTask SetEnabledAsync(RawType transmissionTarget, bool enabled) - { - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync(RawType transmissionTarget) - { - return AppCenterTask.FromCompleted(false); - } - - public static RawType GetTransmissionTarget(RawType transmissionTargetParent, string transmissionTargetToken, out bool success) - { - success = false; - return default(RawType); - } - - public static RawType GetPropertyConfigurator(RawType transmissionTargetParent) - { - return default(RawType); - } - - public static void Pause(RawType transmissionTargetParent) - { - } - - public static void Resume(RawType transmissionTargetParent) - { - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/TransmissionTargetInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/TransmissionTargetInternal.cs.meta deleted file mode 100644 index bd800900..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Blank/TransmissionTargetInternal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 619352a0db14645c2a7441de0d98e790 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared.meta deleted file mode 100644 index 8f1a1121..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 7c61caec9e69a40ae90907778a8ccc69 -folderAsset: yes -timeCreated: 1503941147 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Analytics.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Analytics.cs deleted file mode 100644 index 5a8fc484..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Analytics.cs +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using System.Collections.Generic; -using Microsoft.AppCenter.Unity.Analytics.Internal; - -namespace Microsoft.AppCenter.Unity.Analytics -{ -#if UNITY_IOS || UNITY_ANDROID - using RawType = System.IntPtr; -#else - using RawType = System.Type; -#endif - - public class Analytics - { - // Used by App Center Unity Editor Extensions: https://github.com/Microsoft/AppCenter-SDK-Unity-Extension - public const string AnalyticsSDKVersion = "4.3.0"; - - public static void PrepareEventHandlers() - { - AnalyticsInternal.PrepareEventHandlers(); - } - - public static void AddNativeType(List nativeTypes) - { - AnalyticsInternal.AddNativeType(nativeTypes); - } - - public static void TrackEvent(string eventName) - { - AnalyticsInternal.TrackEvent(eventName); - } - - public static void TrackEvent(string eventName, Flags flags) - { - AnalyticsInternal.TrackEvent(eventName, (int)flags); - } - - public static void TrackEvent(string eventName, IDictionary properties) - { - if (properties == null) - { - TrackEvent(eventName); - } - else - { - AnalyticsInternal.TrackEventWithProperties(eventName, properties); - } - } - - public static void TrackEvent(string eventName, IDictionary properties, Flags flags) - { - if (properties == null) - { - TrackEvent(eventName, flags); - } - else - { - AnalyticsInternal.TrackEventWithProperties(eventName, properties, (int)flags); - } - } - - public static void TrackEvent(string eventName, EventProperties properties) - { - if (properties == null) - { - TrackEvent(eventName); - } - else - { - AnalyticsInternal.TrackEventWithProperties(eventName, properties); - } - } - - public static void TrackEvent(string eventName, EventProperties properties, Flags flags) - { - if (properties == null) - { - TrackEvent(eventName, flags); - } - else - { - AnalyticsInternal.TrackEventWithProperties(eventName, properties, (int)flags); - } - } - - public static AppCenterTask IsEnabledAsync() - { - return AnalyticsInternal.IsEnabledAsync(); - } - - public static AppCenterTask SetEnabledAsync(bool enabled) - { - return AnalyticsInternal.SetEnabledAsync(enabled); - } - - public static TransmissionTarget GetTransmissionTarget(string transmissionTargetToken) - { - if (string.IsNullOrEmpty(transmissionTargetToken)) - { - return null; - } - bool success; - var internalObject = AnalyticsInternal.GetTransmissionTarget(transmissionTargetToken, out success); - return success ? new TransmissionTarget(internalObject) : null; - } - - public static void Pause() - { - AnalyticsInternal.Pause(); - } - - public static void Resume() - { - AnalyticsInternal.Resume(); - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Analytics.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Analytics.cs.meta deleted file mode 100644 index aaae4e90..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Analytics.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: fd0e9bac2bb4245b3b6cd71e07030c30 -timeCreated: 1497463739 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/EventProperties.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/EventProperties.cs deleted file mode 100644 index ea01a87a..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/EventProperties.cs +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using System.Collections.Generic; -using Microsoft.AppCenter.Unity.Analytics.Internal; - -namespace Microsoft.AppCenter.Unity.Analytics -{ -#if UNITY_IOS - using RawType = System.IntPtr; -#elif UNITY_ANDROID - using RawType = UnityEngine.AndroidJavaObject; -#elif UNITY_WSA_10_0 && !UNITY_EDITOR - using RawType = Dictionary; -#else - using RawType = System.Object; -#endif - - public class EventProperties - { - private readonly RawType _rawObject; - - internal RawType GetRawObject() - { - return _rawObject; - } - - public EventProperties() - { - _rawObject = EventPropertiesInternal.Create(); - } - - public EventProperties Set(string key, string val) - { - EventPropertiesInternal.SetString(_rawObject, key, val); - return this; - } - - public EventProperties Set(string key, DateTime val) - { - EventPropertiesInternal.SetDate(_rawObject, key, val); - return this; - } - - public EventProperties Set(string key, long val) - { - EventPropertiesInternal.SetNumber(_rawObject, key, val); - return this; - } - - public EventProperties Set(string key, double val) - { - EventPropertiesInternal.SetNumber(_rawObject, key, val); - return this; - } - - public EventProperties Set(string key, bool val) - { - EventPropertiesInternal.SetBool(_rawObject, key, val); - return this; - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/EventProperties.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/EventProperties.cs.meta deleted file mode 100644 index dc9d9e78..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/EventProperties.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 004bef03efe4b5e498ec3de493d64e96 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Flags.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Flags.cs deleted file mode 100644 index 0b13da67..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Flags.cs +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; - -namespace Microsoft.AppCenter.Unity.Analytics -{ - /// - /// Persistence and latency flags for telemetry. - /// - [Flags] - public enum Flags - { - /// - /// An event can be lost due to low bandwidth or disk space constraints. - /// - PersistenceNormal = 0x01, - - /// - /// Used for events that should be prioritized over non-critical events. - /// - PersistenceCritical = 0x02 - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Flags.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Flags.cs.meta deleted file mode 100644 index 78e57bd9..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/Flags.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2beeb33194756f94ea1a4d58e51de1b9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/PropertyConfigurator.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/PropertyConfigurator.cs deleted file mode 100644 index 645c60ab..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/PropertyConfigurator.cs +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using Microsoft.AppCenter.Unity.Analytics.Internal; -using System; -using System.Collections.Generic; - -namespace Microsoft.AppCenter.Unity.Analytics -{ -#if UNITY_IOS - using RawType = System.IntPtr; -#elif UNITY_ANDROID - using RawType = UnityEngine.AndroidJavaObject; -#else - using RawType = System.Object; -#endif - - public class PropertyConfigurator - { - private readonly RawType _rawObject; - - internal RawType GetRawObject() - { - return _rawObject; - } - - public PropertyConfigurator(RawType rawObject) - { - _rawObject = rawObject; - } - - public void SetAppName(string appName) - { - PropertyConfiguratorInternal.SetAppName(_rawObject, appName); - } - - public void SetAppVersion(string appVersion) - { - PropertyConfiguratorInternal.SetAppVersion(_rawObject, appVersion); - } - - public void SetAppLocale(string appLocale) - { - PropertyConfiguratorInternal.SetAppLocale(_rawObject, appLocale); - } - - public void SetEventProperty(string key, string value) - { - PropertyConfiguratorInternal.SetEventProperty(_rawObject, key, value); - } - - public void SetEventProperty(string key, DateTime value) - { - PropertyConfiguratorInternal.SetEventProperty(_rawObject, key, value); - } - - public void SetEventProperty(string key, long value) - { - PropertyConfiguratorInternal.SetEventProperty(_rawObject, key, value); - } - - public void SetEventProperty(string key, double value) - { - PropertyConfiguratorInternal.SetEventProperty(_rawObject, key, value); - } - - public void SetEventProperty(string key, bool value) - { - PropertyConfiguratorInternal.SetEventProperty(_rawObject, key, value); - } - - public void SetUserId(string userId) - { - PropertyConfiguratorInternal.SetUserId(_rawObject, userId); - } - - public void RemoveEventProperty(string key) - { - PropertyConfiguratorInternal.RemoveEventProperty(_rawObject, key); - } - - public void CollectDeviceId() - { - PropertyConfiguratorInternal.CollectDeviceId(_rawObject); - } - } -} \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/PropertyConfigurator.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/PropertyConfigurator.cs.meta deleted file mode 100644 index 22955429..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/PropertyConfigurator.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 55fb0e0927ff24e679c9231f38c6d0ab -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/TransmissionTarget.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/TransmissionTarget.cs deleted file mode 100644 index a83744f9..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/TransmissionTarget.cs +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using Microsoft.AppCenter.Unity.Analytics.Internal; -using System; -using System.Collections.Generic; - -namespace Microsoft.AppCenter.Unity.Analytics -{ -#if UNITY_IOS - using RawType = System.IntPtr; -#elif UNITY_ANDROID - using RawType = UnityEngine.AndroidJavaObject; -#else - using RawType = System.Object; -#endif - - public class TransmissionTarget - { - private readonly RawType _rawObject; - - internal RawType GetRawObject() - { - return _rawObject; - } - - public TransmissionTarget(RawType rawObject) - { - _rawObject = rawObject; - } - - public void TrackEvent(string eventName) - { - TransmissionTargetInternal.TrackEvent(_rawObject, eventName); - } - - public void TrackEvent(string eventName, Flags flags) - { - TransmissionTargetInternal.TrackEvent(_rawObject, eventName, (int)flags); - } - - public void TrackEvent(string eventName, IDictionary properties) - { - if (properties == null) - { - TrackEvent(eventName); - } - else - { - TransmissionTargetInternal.TrackEventWithProperties(_rawObject, eventName, properties); - } - } - - public void TrackEvent(string eventName, IDictionary properties, Flags flags) - { - if (properties == null) - { - TrackEvent(eventName, flags); - } - else - { - TransmissionTargetInternal.TrackEventWithProperties(_rawObject, eventName, properties, (int)flags); - } - } - - public void TrackEvent(string eventName, EventProperties properties) - { - if (properties == null) - { - TrackEvent(eventName); - } - else - { - TransmissionTargetInternal.TrackEventWithProperties(_rawObject, eventName, properties); - } - } - - public void TrackEvent(string eventName, EventProperties properties, Flags flags) - { - if (properties == null) - { - TrackEvent(eventName, flags); - } - else - { - TransmissionTargetInternal.TrackEventWithProperties(_rawObject, eventName, properties, (int)flags); - } - } - - public AppCenterTask IsEnabledAsync() - { - return TransmissionTargetInternal.IsEnabledAsync(_rawObject); - } - - public AppCenterTask SetEnabledAsync(bool enabled) - { - return TransmissionTargetInternal.SetEnabledAsync(_rawObject, enabled); - } - - public TransmissionTarget GetTransmissionTarget(string childTransmissionTargetToken) - { - if (string.IsNullOrEmpty(childTransmissionTargetToken)) - { - return null; - } - bool success; - var internalObject = TransmissionTargetInternal.GetTransmissionTarget(_rawObject, childTransmissionTargetToken, out success); - return success ? new TransmissionTarget(internalObject) : null; - } - - public PropertyConfigurator GetPropertyConfigurator() - { - return new PropertyConfigurator(TransmissionTargetInternal.GetPropertyConfigurator(_rawObject)); - } - - public void Pause() - { - TransmissionTargetInternal.Pause(_rawObject); - } - - public void Resume() - { - TransmissionTargetInternal.Resume(_rawObject); - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/TransmissionTarget.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/TransmissionTarget.cs.meta deleted file mode 100644 index 3e8577b7..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/Shared/TransmissionTarget.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 713452dbc18f44e7da0005d414778b9a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP.meta deleted file mode 100644 index 2636b075..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: cef4f7e70caf5421c90c88fbceecc910 -folderAsset: yes -timeCreated: 1499378836 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/AnalyticsInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/AnalyticsInternal.cs deleted file mode 100644 index 5c1990fd..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/AnalyticsInternal.cs +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR -using System; -using System.Collections.Generic; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Analytics.Internal -{ - using UWPAnalytics = Microsoft.AppCenter.Analytics.Analytics; - - class AnalyticsInternal - { - private static bool _warningLogged = false; - - public static void PrepareEventHandlers() - { - } - - public static void AddNativeType(List nativeTypes) - { - nativeTypes.Add(typeof(UWPAnalytics)); - } - - public static void TrackEvent(string eventName) - { - UWPAnalytics.TrackEvent(eventName); - } - - public static void TrackEvent(string eventName, int flags) - { - TrackEvent(eventName); - } - - public static void TrackEventWithProperties(string eventName, IDictionary properties) - { - UWPAnalytics.TrackEvent(eventName, properties); - } - - public static void TrackEventWithProperties(string eventName, EventProperties properties) - { - if (!_warningLogged) - { - Debug.LogWarning("Warning: Strongly typed properties are not supported on UWP platform. " + - "All property values will be converted to strings for this and all the future calls."); - _warningLogged = true; - } - UWPAnalytics.TrackEvent(eventName, properties.GetRawObject()); - } - - public static void TrackEventWithProperties(string eventName, IDictionary properties, int flags) - { - TrackEventWithProperties(eventName, properties); - } - - public static void TrackEventWithProperties(string eventName, EventProperties properties, int flags) - { - TrackEventWithProperties(eventName, properties); - } - - public static AppCenterTask SetEnabledAsync(bool isEnabled) - { - return new AppCenterTask(UWPAnalytics.SetEnabledAsync(isEnabled)); - } - - public static AppCenterTask IsEnabledAsync() - { - return new AppCenterTask(UWPAnalytics.IsEnabledAsync()); - } - - public static Type GetTransmissionTarget(string transmissionTargetToken, out bool success) - { - success = false; - return null; - } - - public static void Pause() - { - } - - public static void Resume() - { - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/AnalyticsInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/AnalyticsInternal.cs.meta deleted file mode 100644 index a61b07de..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/AnalyticsInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 9a6f77be941594c1389be7cfade7f372 -timeCreated: 1499378836 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/EventPropertiesInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/EventPropertiesInternal.cs deleted file mode 100644 index d654b9bd..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/EventPropertiesInternal.cs +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR -using System; -using System.Collections.Generic; -using System.Globalization; - -namespace Microsoft.AppCenter.Unity.Analytics.Internal -{ - class EventPropertiesInternal - { - public static Dictionary Create() - { - return new Dictionary(); - } - - public static void SetString(Dictionary properties, string key, string val) - { - properties[key] = val; - } - - public static void SetNumber(Dictionary properties, string key, long val) - { - properties[key] = val.ToString(CultureInfo.InvariantCulture); - } - - public static void SetNumber(Dictionary properties, string key, double val) - { - properties[key] = val.ToString(CultureInfo.InvariantCulture); - } - - public static void SetBool(Dictionary properties, string key, bool val) - { - properties[key] = val.ToString(); - } - - public static void SetDate(Dictionary properties, string key, DateTime val) - { - var format = "yyyy-MM-dd'T'HH:mm:ss.fffK"; - var dateString = val.ToString(format, CultureInfo.InvariantCulture); - properties[key] = dateString; - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/EventPropertiesInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/EventPropertiesInternal.cs.meta deleted file mode 100644 index 796acb6a..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/EventPropertiesInternal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d05cde6a93c1790458dbfb4a909075e9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/PropertyConfiguratorInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/PropertyConfiguratorInternal.cs deleted file mode 100644 index b9a37a12..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/PropertyConfiguratorInternal.cs +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR -using System; -using System.Collections.Generic; -using Microsoft.AppCenter.Unity.Analytics.Internal; - -namespace Microsoft.AppCenter.Unity.Analytics -{ - public class PropertyConfiguratorInternal - { - public static void SetAppName(object propertyConfigurator, string appName) - { - } - - public static void SetUserId(object propertyConfigurator, string userId) - { - } - - public static void SetAppVersion(object propertyConfigurator, string appVersion) - { - } - - public static void SetAppLocale(object propertyConfigurator, string appLocale) - { - } - - public static void SetEventProperty(object propertyConfigurator, string key, string value) - { - } - - public static void SetEventProperty(object propertyConfigurator, string key, DateTime value) - { - } - - public static void SetEventProperty(object propertyConfigurator, string key, long value) - { - } - - public static void SetEventProperty(object propertyConfigurator, string key, double value) - { - } - - public static void SetEventProperty(object propertyConfigurator, string key, bool value) - { - } - - public static void RemoveEventProperty(object propertyConfigurator, string key) - { - } - - public static void CollectDeviceId(object propertyConfigurator) - { - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/PropertyConfiguratorInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/PropertyConfiguratorInternal.cs.meta deleted file mode 100644 index 169fa3ef..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/PropertyConfiguratorInternal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1da96695a43e9487086154cd35a3b8d0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/TransmissionTargetInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/TransmissionTargetInternal.cs deleted file mode 100644 index e50f2308..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/TransmissionTargetInternal.cs +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR -using Microsoft.AppCenter.Unity.Analytics.Internal; -using System; -using System.Collections.Generic; - -namespace Microsoft.AppCenter.Unity.Analytics -{ - public class TransmissionTargetInternal - { - public static void TrackEvent(object transmissionTarget, string eventName) - { - } - - public static void TrackEvent(object transmissionTarget, string eventName, int flags) - { - } - - public static void TrackEventWithProperties(object transmissionTarget, string eventName, IDictionary properties) - { - } - - public static void TrackEventWithProperties(object transmissionTarget, string eventName, EventProperties properties) - { - } - - public static void TrackEventWithProperties(object transmissionTarget, string eventName, IDictionary properties, int flags) - { - } - - public static void TrackEventWithProperties(object transmissionTarget, string eventName, EventProperties properties, int flags) - { - } - - public static AppCenterTask SetEnabledAsync(object transmissionTarget, bool enabled) - { - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync(object transmissionTarget) - { - return AppCenterTask.FromCompleted(false); - } - - public static TransmissionTargetInternal GetTransmissionTarget(object transmissionTargetParent, string transmissionTargetToken, out bool success) - { - success = false; - return null; - } - - public static PropertyConfiguratorInternal GetPropertyConfigurator(object transmissionTargetParent) - { - return null; - } - - public static void Pause(object transmissionTarget) - { - } - - public static void Resume(object transmissionTarget) - { - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/TransmissionTargetInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/TransmissionTargetInternal.cs.meta deleted file mode 100644 index 34c9ac0f..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/UWP/TransmissionTargetInternal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cef60ebaae8af49db8dc3de5394263ae -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS.meta deleted file mode 100644 index 8eb5e496..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: eac6a5c11600045b39d3063cb58cd244 -folderAsset: yes -timeCreated: 1498059871 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/AnalyticsInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/AnalyticsInternal.cs deleted file mode 100644 index 3a594fdd..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/AnalyticsInternal.cs +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using System; -using System.Linq; -using System.Collections.Generic; -using System.Runtime.InteropServices; - -namespace Microsoft.AppCenter.Unity.Analytics.Internal -{ - class AnalyticsInternal - { - public static void PrepareEventHandlers() - { - } - - public static void AddNativeType(List nativeTypes) - { - nativeTypes.Add(appcenter_unity_analytics_get_type()); - } - - public static void TrackEvent(string eventName) - { - appcenter_unity_analytics_track_event(eventName, (int)Flags.PersistenceNormal); - } - - public static void TrackEvent(string eventName, int flags) - { - appcenter_unity_analytics_track_event(eventName, flags); - } - - public static void TrackEventWithProperties(string eventName, EventProperties properties) - { - appcenter_unity_analytics_track_event_with_typed_properties(eventName, properties.GetRawObject(), (int)Flags.PersistenceNormal); - } - - public static void TrackEventWithProperties(string eventName, IDictionary properties) - { - appcenter_unity_analytics_track_event_with_properties(eventName, properties.Keys.ToArray(), properties.Values.ToArray(), properties.Count, (int)Flags.PersistenceNormal); - } - - public static void TrackEventWithProperties(string eventName, EventProperties properties, int flags) - { - appcenter_unity_analytics_track_event_with_typed_properties(eventName, properties.GetRawObject(), flags); - } - - public static void TrackEventWithProperties(string eventName, IDictionary properties, int flags) - { - appcenter_unity_analytics_track_event_with_properties(eventName, properties.Keys.ToArray(), properties.Values.ToArray(), properties.Count, flags); - } - - public static AppCenterTask SetEnabledAsync(bool isEnabled) - { - appcenter_unity_analytics_set_enabled(isEnabled); - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync() - { - var isEnabled = appcenter_unity_analytics_is_enabled(); - return AppCenterTask.FromCompleted(isEnabled); - } - - public static IntPtr GetTransmissionTarget(string transmissionTargetToken, out bool success) - { - var target = appcenter_unity_analytics_transmission_target_for_token(transmissionTargetToken); - success = target != IntPtr.Zero; - return target; - } - - public static void Pause() - { - appcenter_unity_analytics_pause(); - } - - public static void Resume() - { - appcenter_unity_analytics_resume(); - } - -#region External - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_analytics_get_type(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_analytics_track_event(string eventName, int flags); - - [DllImport("__Internal")] - private static extern void appcenter_unity_analytics_track_event_with_properties(string eventName, string[] keys, string[] values, int count, int flags); - - [DllImport("__Internal")] - private static extern void appcenter_unity_analytics_track_event_with_typed_properties(string eventName, IntPtr properties, int flags); - - [DllImport("__Internal")] - private static extern void appcenter_unity_analytics_set_enabled(bool isEnabled); - - [DllImport("__Internal")] - private static extern bool appcenter_unity_analytics_is_enabled(); - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_analytics_transmission_target_for_token(string transmissionTargetToken); - - [DllImport("__Internal")] - private static extern void appcenter_unity_analytics_pause(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_analytics_resume(); - -#endregion - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/AnalyticsInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/AnalyticsInternal.cs.meta deleted file mode 100644 index 88d5fcdd..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/AnalyticsInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: cc68bbbb6d6464cec8e7a070fc38b921 -timeCreated: 1497463657 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/EventPropertiesInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/EventPropertiesInternal.cs deleted file mode 100644 index 4c28f3db..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/EventPropertiesInternal.cs +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using System; -using System.Runtime.InteropServices; -using Microsoft.AppCenter.Unity.Internal.Utility; - -namespace Microsoft.AppCenter.Unity.Analytics.Internal -{ - class EventPropertiesInternal - { - public static IntPtr Create() - { - return appcenter_unity_analytics_create_event_properties(); - } - - public static void SetString(IntPtr properties, string key, string val) - { - appcenter_unity_analytics_event_properties_set_string(properties, key, val); - } - - public static void SetNumber(IntPtr properties, string key, long val) - { - appcenter_unity_analytics_event_properties_set_long(properties, key, val); - } - - public static void SetNumber(IntPtr properties, string key, double val) - { - appcenter_unity_analytics_event_properties_set_double(properties, key, val); - } - - public static void SetBool(IntPtr properties, string key, bool val) - { - appcenter_unity_analytics_event_properties_set_bool(properties, key, val); - } - - public static void SetDate(IntPtr properties, string key, DateTime val) - { - appcenter_unity_analytics_event_properties_set_date(properties, key, NSDateHelper.DateTimeConvert(val)); - } - -#region External - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_analytics_create_event_properties(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_analytics_event_properties_set_string(IntPtr properties, string key, string val); - - [DllImport("__Internal")] - private static extern void appcenter_unity_analytics_event_properties_set_long(IntPtr properties, string key, long val); - - [DllImport("__Internal")] - private static extern void appcenter_unity_analytics_event_properties_set_double(IntPtr properties, string key, double val); - - [DllImport("__Internal")] - private static extern void appcenter_unity_analytics_event_properties_set_bool(IntPtr properties, string key, bool val); - - [DllImport("__Internal")] - private static extern void appcenter_unity_analytics_event_properties_set_date(IntPtr properties, string key, IntPtr val); -#endregion - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/EventPropertiesInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/EventPropertiesInternal.cs.meta deleted file mode 100644 index ecc9e895..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/EventPropertiesInternal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ebf8af998d139794cb3ce191795c70ac -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/PropertyConfiguratorInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/PropertyConfiguratorInternal.cs deleted file mode 100644 index e331c9a3..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/PropertyConfiguratorInternal.cs +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using AOT; -using System; -using System.Linq; -using System.Collections.Generic; -using System.Runtime.InteropServices; -using Microsoft.AppCenter.Unity.Internal.Utility; - -namespace Microsoft.AppCenter.Unity.Analytics.Internal -{ - public class PropertyConfiguratorInternal - { - public static void SetAppName(IntPtr propertyConfigurator, string appName) - { - appcenter_unity_property_configurator_set_app_name(propertyConfigurator, appName); - } - - public static void SetUserId(IntPtr propertyConfigurator, string userId) - { - appcenter_unity_property_configurator_set_user_id(propertyConfigurator, userId); - } - - public static void SetAppVersion(IntPtr propertyConfigurator, string appVersion) - { - appcenter_unity_property_configurator_set_app_version(propertyConfigurator, appVersion); - } - - public static void SetAppLocale(IntPtr propertyConfigurator, string appLocale) - { - appcenter_unity_property_configurator_set_app_locale(propertyConfigurator, appLocale); - } - - public static void SetEventProperty(IntPtr propertyConfigurator, string key, string value) - { - appcenter_unity_property_configurator_set_event_property(propertyConfigurator, key, value); - } - - public static void SetEventProperty(IntPtr propertyConfigurator, string key, DateTime value) - { - appcenter_unity_property_configurator_set_event_datetime_property(propertyConfigurator, key, NSDateHelper.DateTimeConvert(value)); - } - - public static void SetEventProperty(IntPtr propertyConfigurator, string key, long value) - { - appcenter_unity_property_configurator_set_event_long_property(propertyConfigurator, key, value); - } - - public static void SetEventProperty(IntPtr propertyConfigurator, string key, double value) - { - appcenter_unity_property_configurator_set_event_double_property(propertyConfigurator, key, value); - } - - public static void SetEventProperty(IntPtr propertyConfigurator, string key, bool value) - { - appcenter_unity_property_configurator_set_event_bool_property(propertyConfigurator, key, value); - } - - public static void CollectDeviceId(IntPtr propertyConfigurator) - { - appcenter_unity_property_configurator_collect_device_id(propertyConfigurator); - } - - public static void RemoveEventProperty(IntPtr propertyConfigurator, string key) - { - appcenter_unity_property_configurator_remove_event_property(propertyConfigurator, key); - } - -#region External - - [DllImport("__Internal")] - private static extern void appcenter_unity_property_configurator_set_app_name(IntPtr propertyConfigurator, string appName); - - [DllImport("__Internal")] - private static extern void appcenter_unity_property_configurator_set_user_id(IntPtr propertyConfigurator, string userId); - - [DllImport("__Internal")] - private static extern void appcenter_unity_property_configurator_set_app_version(IntPtr propertyConfigurator, string appVersion); - - [DllImport("__Internal")] - private static extern void appcenter_unity_property_configurator_set_app_locale(IntPtr propertyConfigurator, string appLocale); - - [DllImport("__Internal")] - private static extern void appcenter_unity_property_configurator_set_event_property(IntPtr propertyConfigurator, string key, string value); - - [DllImport("__Internal")] - private static extern void appcenter_unity_property_configurator_set_event_datetime_property(IntPtr propertyConfigurator, string key, IntPtr value); - - [DllImport("__Internal")] - private static extern void appcenter_unity_property_configurator_set_event_long_property(IntPtr propertyConfigurator, string key, long value); - - [DllImport("__Internal")] - private static extern void appcenter_unity_property_configurator_set_event_double_property(IntPtr propertyConfigurator, string key, double value); - - [DllImport("__Internal")] - private static extern void appcenter_unity_property_configurator_set_event_bool_property(IntPtr propertyConfigurator, string key, bool value); - - [DllImport("__Internal")] - private static extern void appcenter_unity_property_configurator_collect_device_id(IntPtr propertyConfigurator); - - [DllImport("__Internal")] - private static extern void appcenter_unity_property_configurator_remove_event_property(IntPtr propertyConfigurator, string key); - -#endregion - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/PropertyConfiguratorInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/PropertyConfiguratorInternal.cs.meta deleted file mode 100644 index 25659499..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/PropertyConfiguratorInternal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 118ac3c5fef534a808089752a140c8a4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/TransmissionTargetInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/TransmissionTargetInternal.cs deleted file mode 100644 index 7dff298c..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/TransmissionTargetInternal.cs +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using AOT; -using System; -using System.Linq; -using System.Collections.Generic; -using System.Runtime.InteropServices; - -namespace Microsoft.AppCenter.Unity.Analytics.Internal -{ - public class TransmissionTargetInternal - { - public static void TrackEvent(IntPtr transmissionTarget, string eventName) - { - appcenter_unity_transmission_target_track_event(transmissionTarget, eventName, (int)Flags.PersistenceNormal); - } - - public static void TrackEvent(IntPtr transmissionTarget, string eventName, int flags) - { - appcenter_unity_transmission_target_track_event(transmissionTarget, eventName, flags); - } - - public static void TrackEventWithProperties(IntPtr transmissionTarget, string eventName, IDictionary properties) - { - appcenter_unity_transmission_target_track_event_with_props(transmissionTarget, eventName, properties.Keys.ToArray(), properties.Values.ToArray(), properties.Count, (int)Flags.PersistenceNormal); - } - - public static void TrackEventWithProperties(IntPtr transmissionTarget, string eventName, EventProperties properties) - { - appcenter_unity_transmission_target_track_event_with_typed_props(transmissionTarget, eventName, properties.GetRawObject(), (int)Flags.PersistenceNormal); - } - - public static void TrackEventWithProperties(IntPtr transmissionTarget, string eventName, IDictionary properties, int flags) - { - appcenter_unity_transmission_target_track_event_with_props(transmissionTarget, eventName, properties.Keys.ToArray(), properties.Values.ToArray(), properties.Count, flags); - } - - public static void TrackEventWithProperties(IntPtr transmissionTarget, string eventName, EventProperties properties, int flags) - { - appcenter_unity_transmission_target_track_event_with_typed_props(transmissionTarget, eventName, properties.GetRawObject(), flags); - } - - public static AppCenterTask SetEnabledAsync(IntPtr transmissionTarget, bool enabled) - { - appcenter_unity_transmission_target_set_enabled(transmissionTarget, enabled); - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync(IntPtr transmissionTarget) - { - bool isEnabled = appcenter_unity_transmission_target_is_enabled(transmissionTarget); - return AppCenterTask.FromCompleted(isEnabled); - } - - public static IntPtr GetTransmissionTarget(IntPtr transmissionTargetParent, string transmissionTargetToken, out bool success) - { - var target = appcenter_unity_transmission_transmission_target_for_token(transmissionTargetParent, transmissionTargetToken); - success = target != IntPtr.Zero; - return target; - } - - public static IntPtr GetPropertyConfigurator(IntPtr transmissionTarget) - { - return appcenter_unity_transmission_get_property_configurator(transmissionTarget); - } - - public static void Pause(IntPtr transmissionTarget) - { - appcenter_unity_transmission_pause(transmissionTarget); - } - - public static void Resume(IntPtr transmissionTarget) - { - appcenter_unity_transmission_resume(transmissionTarget); - } - -#region External - - [DllImport("__Internal")] - private static extern void appcenter_unity_transmission_target_track_event(IntPtr transmissionTarget, string eventName, int flags); - - [DllImport("__Internal")] - private static extern void appcenter_unity_transmission_target_track_event_with_props(IntPtr transmissionTarget, string eventName, string[] keys, string[] values, int count, int flags); - - [DllImport("__Internal")] - private static extern void appcenter_unity_transmission_target_track_event_with_typed_props(IntPtr transmissionTarget, string eventName, IntPtr properties, int flags); - - [DllImport("__Internal")] - private static extern void appcenter_unity_transmission_target_set_enabled(IntPtr transmissionTarget, bool enabled); - - [DllImport("__Internal")] - private static extern bool appcenter_unity_transmission_target_is_enabled(IntPtr transmissionTarget); - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_transmission_transmission_target_for_token(IntPtr transmissionTargetParent, string transmissionTargetToken); - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_transmission_get_property_configurator(IntPtr transmissionTarget); - - [DllImport("__Internal")] - private static extern void appcenter_unity_transmission_pause(IntPtr transmissionTarget); - - [DllImport("__Internal")] - private static extern void appcenter_unity_transmission_resume(IntPtr transmissionTarget); -#endregion - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/TransmissionTargetInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/TransmissionTargetInternal.cs.meta deleted file mode 100644 index e99b9e4b..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Analytics/iOS/TransmissionTargetInternal.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cf780c8aecb2b4c2fa499bc69556e3e7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core.meta deleted file mode 100644 index e0dc3945..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 31facfad6182ac54f887b05ac1c51e9f -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android.meta deleted file mode 100644 index 9d5aadf9..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 64a51ab5332d0455c9a66aaddf79e1df -folderAsset: yes -timeCreated: 1498059828 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterInternal.cs deleted file mode 100644 index 205f2ca7..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterInternal.cs +++ /dev/null @@ -1,183 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR -using Assets.AppCenter.Plugins.Android.Utility; -using System; -using System.Collections.Generic; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Internal -{ - class AppCenterInternal - { - private static AndroidJavaClass _appCenter = new AndroidJavaClass("com.microsoft.appcenter.AppCenter"); - - public static void SetLogLevel(int logLevel) - { - _appCenter.CallStatic("setLogLevel", logLevel); - } - - public static int GetLogLevel() - { - return _appCenter.CallStatic("getLogLevel"); - } - - public static bool IsConfigured() - { - return _appCenter.CallStatic("isConfigured"); - } - - public static void SetLogUrl(string logUrl) - { - _appCenter.CallStatic("setLogUrl", logUrl); - } - - public static void SetUserId(string userId) - { - _appCenter.CallStatic("setUserId", userId); - } - - public static string GetSdkVersion() - { - return _appCenter.CallStatic("getSdkVersion"); - } - - public static void SetNetworkRequestsAllowed(bool isAllowed) - { - _appCenter.CallStatic("setNetworkRequestsAllowed", isAllowed); - } - - public static bool IsNetworkRequestsAllowed() - { - return _appCenter.CallStatic("isNetworkRequestsAllowed"); - } - - public static AppCenterTask SetEnabledAsync(bool enabled) - { - var future = _appCenter.CallStatic("setEnabled", enabled); - return new AppCenterTask(future); - } - - public static AppCenterTask IsEnabledAsync() - { - var future = _appCenter.CallStatic("isEnabled"); - return new AppCenterTask(future); - } - - public static AppCenterTask GetInstallIdAsync() - { - AndroidJavaObject future = _appCenter.CallStatic("getInstallId"); - var javaUUIDtask = new AppCenterTask(future); - var stringTask = new AppCenterTask(); - javaUUIDtask.ContinueWith(t => - { - var installId = t.Result == null ? null : t.Result.Call("toString"); - stringTask.SetResult(installId); - }); - return stringTask; - } - - public static void SetCustomProperties(AndroidJavaObject properties) - { - _appCenter.CallStatic("setCustomProperties", properties); - } - - private static AndroidJavaObject GetAndroidApplication() - { - AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); - AndroidJavaObject activity = unityPlayer.GetStatic("currentActivity"); - return activity.Call("getApplication"); - } - - public static void SetWrapperSdk(string wrapperSdkVersion, - string wrapperSdkName, - string wrapperRuntimeVersion, - string liveUpdateReleaseLabel, - string liveUpdateDeploymentKey, - string liveUpdatePackageHash) - { - var wrapperSdkObject = new AndroidJavaObject("com.microsoft.appcenter.ingestion.models.WrapperSdk"); - wrapperSdkObject.Call("setWrapperSdkVersion", wrapperSdkVersion); - wrapperSdkObject.Call("setWrapperSdkName", wrapperSdkName); - wrapperSdkObject.Call("setWrapperRuntimeVersion", wrapperRuntimeVersion); - wrapperSdkObject.Call("setLiveUpdateReleaseLabel", liveUpdateReleaseLabel); - wrapperSdkObject.Call("setLiveUpdateDeploymentKey", liveUpdateDeploymentKey); - wrapperSdkObject.Call("setLiveUpdatePackageHash", liveUpdatePackageHash); - _appCenter.CallStatic("setWrapperSdk", wrapperSdkObject); - } - - public static void Start(string appSecret, Type[] services) - { - var nativeServiceTypes = ServicesToNativeTypes(services); - var rawAppSecretString = AndroidJNI.NewStringUTF(appSecret); - var startMethod = AndroidJNI.GetStaticMethodID(_appCenter.GetRawClass(), "start", "(Landroid/app/Application;Ljava/lang/String;[Ljava/lang/Class;)V"); - AndroidJNI.CallStaticVoidMethod(_appCenter.GetRawClass(), startMethod, new jvalue[] - { - new jvalue { l = GetAndroidApplication().GetRawObject() }, - new jvalue { l = rawAppSecretString }, - new jvalue { l = nativeServiceTypes } - }); - } - - public static void Start(Type[] services) - { - var nativeServiceTypes = ServicesToNativeTypes(services); - var startMethod = AndroidJNI.GetStaticMethodID(_appCenter.GetRawClass(), "start", "(Landroid/app/Application;[Ljava/lang/Class;)V"); - AndroidJNI.CallStaticVoidMethod(_appCenter.GetRawClass(), startMethod, new jvalue[] - { - new jvalue { l = GetAndroidApplication().GetRawObject() }, - new jvalue { l = nativeServiceTypes } - }); - } - - public static void Start(Type service) - { - var nativeServiceTypes = ServicesToNativeTypes(new[] { service }); - var startMethod = AndroidJNI.GetStaticMethodID(_appCenter.GetRawClass(), "start", "([Ljava/lang/Class;)V"); - AndroidJNI.CallStaticVoidMethod(_appCenter.GetRawClass(), startMethod, new jvalue[] - { - new jvalue { l = nativeServiceTypes } - }); - } - - public static void StartFromLibrary(IntPtr servicesArray) - { - var startMethod = AndroidJNI.GetStaticMethodID(_appCenter.GetRawClass(), "startFromLibrary", "(Landroid/content/Context;[Ljava/lang/Class;)V"); - AndroidJNI.CallStaticVoidMethod(_appCenter.GetRawClass(), startMethod, new jvalue[] - { - new jvalue { l = AndroidUtility.GetAndroidContext().GetRawObject() }, - new jvalue { l = servicesArray } - }); - } - - public static IntPtr ServicesToNativeTypes(Type[] services) - { - var nativeTypes = new List(); - foreach (var serviceType in services) - { - serviceType.GetMethod("AddNativeType").Invoke(null, new object[] { nativeTypes }); - } - var classClass = AndroidJNI.FindClass("java/lang/Class"); - var array = AndroidJNI.NewObjectArray(nativeTypes.Count, classClass, classClass); - for (var i = 0; i < nativeTypes.Count; i++) - { - AndroidJNI.SetObjectArrayElement(array, i, nativeTypes[i]); - } - return array; - } - - public static void SetMaxStorageSize(long size) - { - var future = _appCenter.CallStatic("setMaxStorageSize", size); - new AppCenterTask(future).ContinueWith(task => - { - if (!task.Result) - { - Debug.Log("Failed to set maximum storage size"); - } - }); - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterInternal.cs.meta deleted file mode 100644 index ad851d64..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b052932fad12b45e99d98bdef987081f -timeCreated: 1497286372 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterTask.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterTask.cs deleted file mode 100644 index 80a4e404..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterTask.cs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR - -using UnityEngine; - -namespace Microsoft.AppCenter.Unity -{ - public partial class AppCenterTask - { - public AppCenterTask(AndroidJavaObject javaFuture) - { - var consumer = new UnityAppCenterConsumer(); - consumer.CompletionCallback = t => - { - CompletionAction(); - }; - javaFuture.Call("thenAccept", consumer); - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterTask.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterTask.cs.meta deleted file mode 100644 index 6ca9282a..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterTask.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 743be8834c3b3434f83ae6be8b0598b8 -timeCreated: 1501260535 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterTaskWithResult.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterTaskWithResult.cs deleted file mode 100644 index c301aa16..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterTaskWithResult.cs +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR - -using System; -using System.Threading; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity -{ - public partial class AppCenterTask - { - private ManualResetEvent _completionEvent = new ManualResetEvent(false); - private TResult _result; - private Exception _exception; - private UnityAppCenterConsumer _consumer = new UnityAppCenterConsumer(); - - // This will block if it is called before the task is complete - public TResult Result - { - get - { - // Locking in here is both unnecessary and can deadlock. - _completionEvent.WaitOne(); - if (_exception == null) - { - return _result; - } - else - { - throw _exception; - } - } - } - - public Exception Exception - { - get - { - return _exception; - } - } - - public AppCenterTask(AndroidJavaObject javaFuture) - { - _consumer.CompletionCallback = SetResult; - javaFuture.Call("thenAccept", _consumer); - } - - internal void SetResult(TResult result) - { - lock (_lockObject) - { - ThrowIfCompleted(); - _consumer.CompletionCallback = null; - _result = result; - _completionEvent.Set(); - CompletionAction(); - } - } - - internal void SetException(Exception exception) - { - lock (_lockObject) - { - ThrowIfCompleted(); - _consumer.CompletionCallback = null; - _exception = exception; - _completionEvent.Set(); - CompletionAction(); - } - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterTaskWithResult.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterTaskWithResult.cs.meta deleted file mode 100644 index b0c05b1e..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/AppCenterTaskWithResult.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 4f35f227321dc4f6f9c684801e5cce3d -timeCreated: 1501260535 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/CustomPropertiesInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/CustomPropertiesInternal.cs deleted file mode 100644 index 662958bc..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/CustomPropertiesInternal.cs +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR -using System; -using UnityEngine; -using Microsoft.AppCenter.Unity.Internal.Utility; - -namespace Microsoft.AppCenter.Unity.Internal -{ - class CustomPropertiesInternal - { - public static AndroidJavaObject Create() - { - return new AndroidJavaObject("com.microsoft.appcenter.CustomProperties"); - } - - public static void SetString(AndroidJavaObject properties, string key, string val) - { - properties.Call("set", key, val); - } - - public static void SetNumber(AndroidJavaObject properties, string key, int val) - { - properties.Call("set", key, JavaNumberHelper.Convert(val)); - } - - public static void SetNumber(AndroidJavaObject properties, string key, long val) - { - properties.Call("set", key, JavaNumberHelper.Convert(val)); - } - - public static void SetNumber(AndroidJavaObject properties, string key, float val) - { - properties.Call("set", key, JavaNumberHelper.Convert(val)); - } - - public static void SetNumber(AndroidJavaObject properties, string key, double val) - { - properties.Call("set", key, JavaNumberHelper.Convert(val)); - } - - public static void SetBool(AndroidJavaObject properties, string key, bool val) - { - properties.Call("set", key, val); - } - - public static void SetDate(AndroidJavaObject properties, string key, DateTime val) - { - properties.Call("set", key, JavaDateHelper.DateTimeConvert(val)); - } - - public static void Clear(AndroidJavaObject properties, string key) - { - properties.Call("clear", key); - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/CustomPropertiesInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/CustomPropertiesInternal.cs.meta deleted file mode 100644 index 8c745bc6..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/CustomPropertiesInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 01d13d2a6a4d8490f96dacdc75d302e6 -timeCreated: 1498588175 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/UnityAppCenterConsumer.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/UnityAppCenterConsumer.cs deleted file mode 100644 index d3fcc748..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/UnityAppCenterConsumer.cs +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR - -using UnityEngine; -using System.Threading; -using System; - -namespace Microsoft.AppCenter.Unity -{ - public class UnityAppCenterConsumer : AndroidJavaProxy - { - internal Action CompletionCallback { get; set; } - - internal UnityAppCenterConsumer() : base("com.microsoft.appcenter.utils.async.AppCenterConsumer") - { - } - - void accept(T t) - { - if (CompletionCallback != null) - { - CompletionCallback(t); - } - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/UnityAppCenterConsumer.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/UnityAppCenterConsumer.cs.meta deleted file mode 100644 index 78044a3a..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Android/UnityAppCenterConsumer.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 4844f0b5e5fec474d80ba40cee8f67ca -timeCreated: 1501260535 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank.meta deleted file mode 100644 index 58d8c23e..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: c15b21220a835491784acc2a75ef6938 -folderAsset: yes -timeCreated: 1498060019 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/AppCenterInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/AppCenterInternal.cs deleted file mode 100644 index 9d06f899..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/AppCenterInternal.cs +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR -using System; -using Microsoft.AppCenter.Unity; - -namespace Microsoft.AppCenter.Unity.Internal -{ -#if UNITY_IOS && !UNITY_EDITOR - using RawType = System.IntPtr; - using ServiceType = System.IntPtr; -#elif UNITY_ANDROID && !UNITY_EDITOR - using RawType = UnityEngine.AndroidJavaObject; - using ServiceType = System.IntPtr; -#else - using RawType = System.Object; - using ServiceType = System.Type; -#endif - - class AppCenterInternal - { - public static void Configure(string appSecret) - { - } - - public static string GetSdkVersion() - { - return ""; - } - - public static void Start(string appSecret, ServiceType[] services, int numServices) - { - } - - public static void StartServices(ServiceType[] services, int numServices) - { - } - - public static void Start(string appSecret, ServiceType[] services) - { - } - - public static void Start(ServiceType[] services) - { - } - - public static void Start(ServiceType service) - { - } - - public static void StartFromLibrary(ServiceType[] services) - { - } - - public static void SetLogLevel(int logLevel) - { - } - - public static void SetUserId(string userId) - { - } - - public static int GetLogLevel() - { - return 0; - } - - public static bool IsConfigured() - { - return false; - } - - public static void SetLogUrl(string logUrl) - { - } - - public static bool IsNetworkRequestsAllowed() - { - return true; - } - - public static void SetNetworkRequestsAllowed(bool isAllowed) - { - } - - public static AppCenterTask SetEnabledAsync(bool enabled) - { - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync() - { - return AppCenterTask.FromCompleted(false); - } - - public static AppCenterTask GetInstallIdAsync() - { - return AppCenterTask.FromCompleted(""); - } - - public static void SetCustomProperties(RawType properties) - { - } - - public static void SetWrapperSdk(string wrapperSdkVersion, - string wrapperSdkName, - string wrapperRuntimeVersion, - string liveUpdateReleaseLabel, - string liveUpdateDeploymentKey, - string liveUpdatePackageHash) - { - } - - public static ServiceType[] ServicesToNativeTypes(ServiceType[] services) - { - return null; - } - - public static void SetMaxStorageSize(long size) - { - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/AppCenterInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/AppCenterInternal.cs.meta deleted file mode 100644 index 570c82ca..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/AppCenterInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 7050ffe906ee8c14e8dc588aab4acd37 -timeCreated: 1497373095 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/AppCenterTaskWithResult.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/AppCenterTaskWithResult.cs deleted file mode 100644 index 52dfd866..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/AppCenterTaskWithResult.cs +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR - -using System; - -namespace Microsoft.AppCenter.Unity -{ - public partial class AppCenterTask - { - public TResult Result { get; private set; } - - public Exception Exception { get; private set; } - - internal void SetResult(TResult result) - { - lock (_lockObject) - { - ThrowIfCompleted(); - Result = result; - CompletionAction(); - } - } - - internal void SetException(Exception exception) - { - lock (_lockObject) - { - ThrowIfCompleted(); - Exception = exception; - CompletionAction(); - } - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/AppCenterTaskWithResult.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/AppCenterTaskWithResult.cs.meta deleted file mode 100644 index ac43da17..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/AppCenterTaskWithResult.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6f7f7f60f8159444190ef178255060ca -timeCreated: 1501269073 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/CustomPropertiesInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/CustomPropertiesInternal.cs deleted file mode 100644 index 82696744..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/CustomPropertiesInternal.cs +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR -using System; - -namespace Microsoft.AppCenter.Unity.Internal -{ -#if UNITY_IOS - using RawType = System.IntPtr; -#elif UNITY_ANDROID - using RawType = UnityEngine.AndroidJavaObject; -#else - using RawType = System.Object; -#endif - - class CustomPropertiesInternal - { - public static RawType Create() - { - return default(RawType); - } - - public static void SetString(RawType properties, string key, string val) - { - } - - public static void SetNumber(RawType properties, string key, object val) - { - } - - public static void SetBool(RawType properties, string key, bool val) - { - } - - public static void SetDate(RawType properties, string key, DateTime val) - { - } - - public static void Clear(RawType properties, string key) - { - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/CustomPropertiesInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/CustomPropertiesInternal.cs.meta deleted file mode 100644 index 394e9c14..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Blank/CustomPropertiesInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 74599edfdf514453db93e40271b07655 -timeCreated: 1498578955 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared.meta deleted file mode 100644 index f993b3e7..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 72df22763585c4a549241c3ae27c881a -folderAsset: yes -timeCreated: 1503694604 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenter.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenter.cs deleted file mode 100644 index 743f4583..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenter.cs +++ /dev/null @@ -1,260 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using System.Collections; -using System.Reflection; -using Microsoft.AppCenter.Unity.Internal; -using UnityEngine; -using System.Runtime.InteropServices; - -namespace Microsoft.AppCenter.Unity -{ -#if UNITY_IOS || UNITY_ANDROID - using ServiceType = System.IntPtr; -#else - using ServiceType = System.Type; -#endif - - public class AppCenter - { - private static AppCenterTask _secretTask = new AppCenterTask(); - private static AppCenterTask _logUrlTask = new AppCenterTask(); - private static AppCenterTask _storageSizeTask = new AppCenterTask(); - - public static LogLevel LogLevel - { - get { return (LogLevel)AppCenterInternal.GetLogLevel(); } - set { AppCenterInternal.SetLogLevel((int)value); } - } - - public static AppCenterTask SetEnabledAsync(bool enabled) - { - return AppCenterInternal.SetEnabledAsync(enabled); - } - - public static void StartFromLibrary(Type[] servicesArray) - { - AppCenterInternal.StartFromLibrary(AppCenterInternal.ServicesToNativeTypes(servicesArray)); - } - - public static AppCenterTask IsEnabledAsync() - { - return AppCenterInternal.IsEnabledAsync(); - } - - /// - /// Get the unique installation identifier for this application installation on this device. - /// - /// - /// The identifier is lost if clearing application data or uninstalling application. - /// - public static AppCenterTask GetInstallIdAsync() - { - var stringTask = AppCenterInternal.GetInstallIdAsync(); - var guidTask = new AppCenterTask(); - stringTask.ContinueWith(t => - { - var installId = !string.IsNullOrEmpty(t.Result) ? new Guid(t.Result) : (Guid?)null; - guidTask.SetResult(installId); - }); - return guidTask; - } - - public static string GetSdkVersion() - { - return AppCenterInternal.GetSdkVersion(); - } - - public static AppCenterTask GetLogUrlAsync() - { - if (_logUrlTask == null) - { - _logUrlTask = new AppCenterTask(); - } - return _logUrlTask; - } - - public static AppCenterTask GetStorageSizeAsync() - { - if (_storageSizeTask == null) - { - _storageSizeTask = new AppCenterTask(); - } - return _storageSizeTask; - } - - /// - /// Change the base URL (scheme + authority + port only) used to communicate with the backend. - /// - /// Base URL to use for server communication. - public static void SetLogUrl(string logUrl) - { - AppCenterInternal.SetLogUrl(logUrl); - } - - public static bool NetworkRequestsAllowed - { - get - { - return AppCenterInternal.IsNetworkRequestsAllowed(); - } - set - { - AppCenterInternal.SetNetworkRequestsAllowed(value); - } - } - - public static void CacheStorageSize(long storageSize) - { - if (_storageSizeTask != null) - { - _storageSizeTask.SetResult(storageSize); - } - } - - public static void CacheLogUrl(string logUrl) - { - if (_logUrlTask != null) - { - _logUrlTask.SetResult(logUrl); - } - } - - /// - /// Check whether SDK has already been configured or not. - /// - public static bool Configured - { - get { return AppCenterInternal.IsConfigured(); } - } - - /// - /// Set the custom properties. - /// - /// Custom properties object. - public static void SetCustomProperties(Unity.CustomProperties customProperties) - { - var rawCustomProperties = customProperties.GetRawObject(); - AppCenterInternal.SetCustomProperties(rawCustomProperties); - } - - public static void SetWrapperSdk() - { - AppCenterInternal.SetWrapperSdk(WrapperSdk.WrapperSdkVersion, WrapperSdk.Name, WrapperSdk.WrapperRuntimeVersion, null, null, null); - } - - /// - // Gets cached secret. - /// - public static AppCenterTask GetSecretForPlatformAsync() - { - if (_secretTask == null) - { - _secretTask = new AppCenterTask(); - } - return _secretTask; - } - - // Gets the first instance of an app secret corresponding to the given platform name, or returns the string - // as-is if no identifier can be found. - public static string ParseAndSaveSecretForPlatform(string secrets) - { - var platformIdentifier = GetPlatformIdentifier(); - if (platformIdentifier == null) - { - // Return as is for unsupported platform. - return secrets; - } - if (secrets == null) - { - // If "secrets" is null, return that and let the error be dealt - // with downstream. - return secrets; - } - - // If there are no equals signs, then there are no named identifiers - if (!secrets.Contains("=")) - { - return secrets; - } - - var platformIndicator = platformIdentifier + "="; - var secretIdx = secrets.IndexOf(platformIndicator, StringComparison.Ordinal); - if (secretIdx == -1) - { - // If the platform indicator can't be found, return the original - // string and let the error be dealt with downstream. - return secrets; - } - secretIdx += platformIndicator.Length; - var platformSecret = string.Empty; - - while (secretIdx < secrets.Length) - { - var nextChar = secrets[secretIdx++]; - if (nextChar == ';') - { - break; - } - - platformSecret += nextChar; - } - if (_secretTask != null) - { - _secretTask.SetResult(platformSecret); - } - return platformSecret; - } - - public static void SetUserId(string userId) - { - AppCenterInternal.SetUserId(userId); - } - -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - public delegate void SetMaxStorageSizeCompletionHandler(bool result); - - private static string GetPlatformIdentifier() - { -#if UNITY_IOS - return "ios"; -#elif UNITY_ANDROID - return "android"; -#elif UNITY_WSA_10_0 - return "uwp"; -#else - return null; -#endif - } - - public static Type Analytics - { - get { return AppCenterAssembly.GetType("Microsoft.AppCenter.Unity.Analytics.Analytics"); } - } - - public static Type Crashes - { - get { return AppCenterAssembly.GetType("Microsoft.AppCenter.Unity.Crashes.Crashes"); } - } - - public static Type Distribute - { - get { return AppCenterAssembly.GetType("Microsoft.AppCenter.Unity.Distribute.Distribute"); } - } - - private static Assembly AppCenterAssembly - { - get - { -#if !UNITY_EDITOR && UNITY_WSA_10_0 - return typeof(AppCenterSettings).GetTypeInfo().Assembly; -#else - return Assembly.GetExecutingAssembly(); -#endif - } - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenter.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenter.cs.meta deleted file mode 100644 index f1f7e02d..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenter.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e56c11cd54154473f90634ed7e9ca5ff -timeCreated: 1497042836 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTask.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTask.cs deleted file mode 100644 index 72287403..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTask.cs +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using System.Collections.Generic; - -namespace Microsoft.AppCenter.Unity -{ - /// - /// AppCenterTask provides a way of performing long-running - /// tasks on any thread and invoking callbacks upon completion. - /// - public partial class AppCenterTask - { - private readonly List> _continuationActions = new List>(); - protected readonly object _lockObject = new object(); - - /// - /// Gets a value indicating whether this is complete. - /// - /// true if it is complete; otherwise, false. - public bool IsComplete { get; private set; } - - public AppCenterTask() - { - } - - /// - /// Adds a callback that will be invoked once the task is complete. If - /// the task is already complete, it is invoked immediately after being set. - /// - /// Callback to be invoked after task completion. - public void ContinueWith(Action continuationAction) - { - lock (_lockObject) - { - _continuationActions.Add(continuationAction); - InvokeContinuationActions(); - } - } - - /// - /// Invokes callbacks and sets completion flag. - /// - protected virtual void CompletionAction() - { - lock (_lockObject) - { - IsComplete = true; - InvokeContinuationActions(); - } - } - - /// - /// Throws an exception if the task has completed. - /// - protected void ThrowIfCompleted() - { - lock (_lockObject) - { - if (IsComplete) - { - throw new InvalidOperationException("The task has already completed"); - } - } - } - - /// - /// Returns an already completed task. - /// - /// The completed task. - internal static AppCenterTask FromCompleted() - { - var task = new AppCenterTask(); - task.CompletionAction(); - return task; - } - - private void InvokeContinuationActions() - { - // Save the actions and then invoke them; could have a deadlock - // if one of the actions calls ContinueWith on another thread for - // the same task object. - var continuationActionsSnapshot = new List>(); - lock (_lockObject) - { - if (!IsComplete) - { - return; - } - foreach (var action in _continuationActions) - { - if (action != null) - { - continuationActionsSnapshot.Add(action); - } - } - _continuationActions.Clear(); - } - foreach (var action in continuationActionsSnapshot) - { - action(this); - } - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTask.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTask.cs.meta deleted file mode 100644 index feeaad0e..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTask.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 1b355d0a7f1d647e589c9af62ffdcb77 -timeCreated: 1501260535 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskAwaiter.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskAwaiter.cs deleted file mode 100644 index d5277e73..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskAwaiter.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if NET_4_6 || CSHARP_7_3_OR_NEWER || (UNITY_2018_3_OR_NEWER && NET_STANDARD_2_0) - -using System.Runtime.CompilerServices; -using System.Threading.Tasks; - -namespace Microsoft.AppCenter.Unity -{ - public partial class AppCenterTask - { - public TaskAwaiter GetAwaiter() - { - var taskCompletionSource = new TaskCompletionSource(); - ContinueWith(task => taskCompletionSource.SetResult(true)); - return ((Task)taskCompletionSource.Task).GetAwaiter(); - } - } - - public partial class AppCenterTask - { - public new TaskAwaiter GetAwaiter() - { - var taskCompletionSource = new TaskCompletionSource(); - ContinueWith(task => - { - if (task.Exception == null) - { - taskCompletionSource.SetResult(task.Result); - } - else{ - taskCompletionSource.SetException(task.Exception); - } - }); - return taskCompletionSource.Task.GetAwaiter(); - } - } -} - -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskAwaiter.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskAwaiter.cs.meta deleted file mode 100644 index ac2d8e3a..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskAwaiter.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ce92b141edc605e43a3a3183c25b34fb -timeCreated: 1502286255 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskWithResult.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskWithResult.cs deleted file mode 100644 index a99b7915..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskWithResult.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; - -namespace Microsoft.AppCenter.Unity -{ - /// - /// AppCenterTask<TResult> extends the functionality of AppCenterTask - /// to support return values. - /// - /// The return type of the task. - /// - public partial class AppCenterTask : AppCenterTask - { - public AppCenterTask() : base() - { - } - - /// - /// Adds a callback that will be invoked once the task is complete. If - /// the task is already complete, it is invoked immediately after being set. - /// - /// Callback to be invoked after task completion. - public void ContinueWith(Action> continuationAction) - { - base.ContinueWith(task => continuationAction(this)); - } - - /// - /// Returns an already completed task with a given result. - /// - /// The completed task. - internal static AppCenterTask FromCompleted(TResult result) - { - var task = new AppCenterTask(); - task.SetResult(result); - return task; - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskWithResult.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskWithResult.cs.meta deleted file mode 100644 index 771cc892..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskWithResult.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: dd2e77c86f30b4e44a532389560faf3e -timeCreated: 1501260535 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskYieldInstruction.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskYieldInstruction.cs deleted file mode 100644 index 741def76..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskYieldInstruction.cs +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using UnityEngine; - -namespace Microsoft.AppCenter.Unity -{ - public partial class AppCenterTask : CustomYieldInstruction - { - public override bool keepWaiting - { - get { return !IsComplete; } - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskYieldInstruction.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskYieldInstruction.cs.meta deleted file mode 100644 index 7edc6943..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/AppCenterTaskYieldInstruction.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: dea2e27c94e4e4b4c81b4066dbf1310f -timeCreated: 1502286090 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/CustomProperties.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/CustomProperties.cs deleted file mode 100644 index beed79dc..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/CustomProperties.cs +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using Microsoft.AppCenter.Unity.Internal; - -namespace Microsoft.AppCenter.Unity -{ -#if UNITY_IOS - using RawType = System.IntPtr; -#elif UNITY_ANDROID - using RawType = UnityEngine.AndroidJavaObject; -#else - using RawType = System.Object; -#endif - - public class CustomProperties - { - private readonly RawType _rawObject; - - internal RawType GetRawObject() - { - return _rawObject; - } - - public CustomProperties() - { - _rawObject = CustomPropertiesInternal.Create(); - } - - /// - /// Set the specified property value with the specified key. - /// If the properties previously contained a property for the key, the old value is replaced. - /// - /// Key with which the specified value is to be set. - /// Value to be set with the specified key. - /// This instance. - public CustomProperties Set(string key, string val) - { - CustomPropertiesInternal.SetString(_rawObject, key, val); - return this; - } - - /// - /// Set the specified property value with the specified key. - /// If the properties previously contained a property for the key, the old value is replaced. - /// - /// Key with which the specified value is to be set. - /// Value to be set with the specified key. - /// This instance. - public CustomProperties Set(string key, DateTime val) - { - CustomPropertiesInternal.SetDate(_rawObject, key, val); - return this; - } - - /// - /// Set the specified property value with the specified key. - /// If the properties previously contained a property for the key, the old value is replaced. - /// - /// Key with which the specified value is to be set. - /// Value to be set with the specified key. - /// This instance. - public CustomProperties Set(string key, int val) - { - CustomPropertiesInternal.SetNumber(_rawObject, key, val); - return this; - } - - /// - /// Set the specified property value with the specified key. - /// If the properties previously contained a property for the key, the old value is replaced. - /// - /// Key with which the specified value is to be set. - /// Value to be set with the specified key. - /// This instance. - public CustomProperties Set(string key, long val) - { - CustomPropertiesInternal.SetNumber(_rawObject, key, val); - return this; - } - - /// - /// Set the specified property value with the specified key. - /// If the properties previously contained a property for the key, the old value is replaced. - /// - /// Key with which the specified value is to be set. - /// Value to be set with the specified key. - /// This instance. - public CustomProperties Set(string key, float val) - { - CustomPropertiesInternal.SetNumber(_rawObject, key, val); - return this; - } - - /// - /// Set the specified property value with the specified key. - /// If the properties previously contained a property for the key, the old value is replaced. - /// - /// Key with which the specified value is to be set. - /// Value to be set with the specified key. - /// This instance. - public CustomProperties Set(string key, double val) - { - CustomPropertiesInternal.SetNumber(_rawObject, key, val); - return this; - } - - /// - /// Set the specified property value with the specified key. - /// If the properties previously contained a property for the key, the old value is replaced. - /// - /// Key with which the specified value is to be set. - /// Value to be set with the specified key. - /// This instance. - public CustomProperties Set(string key, bool val) - { - CustomPropertiesInternal.SetBool(_rawObject, key, val); - return this; - } - - /// - /// Clear the property for the specified key. - /// - /// Key whose mapping is to be cleared. - /// This instance. - public CustomProperties Clear(string key) - { - CustomPropertiesInternal.Clear(_rawObject, key); - return this; - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/CustomProperties.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/CustomProperties.cs.meta deleted file mode 100644 index faaed6b5..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/CustomProperties.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b5bc08888e1954d1586b49469659b087 -timeCreated: 1498516072 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/Device.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/Device.cs deleted file mode 100644 index cd59c37f..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/Device.cs +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -namespace Microsoft.AppCenter.Unity -{ - public class Device - { - /// - /// Name of the SDK. - /// - public string SdkName { get; private set; } - - /// - /// Version of the SDK. - /// - public string SdkVersion { get; private set; } - - /// - /// Device model (example: iPad2,3). - /// - public string Model { get; private set; } - - /// - /// Device manufacturer (example: HTC). - /// - public string OemName { get; private set; } - - /// - /// OS name (example: iOS). - /// - public string OsName { get; private set; } - - /// - /// OS version (example: 9.3.0). - /// - public string OsVersion { get; private set; } - - /// - /// OS build code (example: LMY47X). - /// - public string OsBuild { get; private set; } - - /// - /// API level when applicable like in Android (example: 15). - /// - public int OsApiLevel { get; private set; } - - /// - /// Language code (example: en_US). - /// - public string Locale { get; private set; } - - /// - /// The offset in minutes from UTC for the device time zone, including daylight savings time. - /// - public int TimeZoneOffset { get; private set; } - - /// - /// Screen size of the device in pixels (example: 640x480). - /// - public string ScreenSize { get; private set; } - - /// - /// Application version name. - /// - public string AppVersion { get; private set; } - - /// - /// Carrier name (for mobile devices). - /// - public string CarrierName { get; private set; } - - /// - /// Carrier country code (for mobile devices). - /// - public string CarrierCountry { get; private set; } - - /// - /// The app's build number, e.g. 42. - /// - public string AppBuild { get; private set; } - - /// - /// The bundle identifier, package identifier, or namespace, depending on what the individual platforms use, .e.g com.microsoft.example. - /// - public string AppNamespace { get; private set; } - - public Device(string sdkName, string sdkVersion, string model, string oemName, string osName, string osVersion, string osBuild, - int osApiLevel, string locale, int timeZoneOffset, string screenSize, string appVersion, string carrierName, - string carrierCountry, string appBuild, string appNamespace) - { - SdkName = sdkName; - SdkVersion = sdkVersion; - Model = model; - OemName = oemName; - OsName = osName; - OsVersion = osVersion; - OsBuild = osBuild; - OsApiLevel = osApiLevel; - Locale = locale; - TimeZoneOffset = timeZoneOffset; - ScreenSize = screenSize; - AppVersion = appVersion; - CarrierName = carrierName; - CarrierCountry = carrierCountry; - AppBuild = appBuild; - AppNamespace = appNamespace; - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/Device.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/Device.cs.meta deleted file mode 100644 index b542ef1b..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/Device.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b59dd73cf53a7d2499c8a01185dcc11b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/LogLevel.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/LogLevel.cs deleted file mode 100644 index e0e196be..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/LogLevel.cs +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -namespace Microsoft.AppCenter.Unity -{ - /// - /// Log level threshold for logs emitted by the SDK. - /// - public enum LogLevel - { - /// - /// SDK emits all possible level of logs. - /// - Verbose = 2, - - /// - /// SDK emits debug, info, warn, error and assert logs. - /// - Debug = 3, - - /// - /// SDK emits info, warn, error, and assert logs. - /// - Info = 4, - - /// - /// SDK emits warn, error, and assert logs. - /// - Warn = 5, - - /// - /// SDK error and assert logs. - /// - Error = 6, - - /// - /// Only assert logs are emitted by SDK. - /// - Assert = 7, - - /// - /// No log is emitted by SDK. - /// -#if UNITY_IOS - None = 99 -#else - None = 8 -#endif - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/LogLevel.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/LogLevel.cs.meta deleted file mode 100644 index 7a88a767..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/LogLevel.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 81f2ae24f118f4c119ce594be70b0271 -timeCreated: 1497285830 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/StartupType.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/StartupType.cs deleted file mode 100644 index 843f77dc..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/StartupType.cs +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -namespace Microsoft.AppCenter.Unity -{ - /// - /// SDK Startup mode. - /// - public enum StartupType - { - /// - /// The app starts with SDK using an appSecret that is targeting AppCenter. - /// If you send events in the app it will thus go to App Center portal. - /// - AppCenter = 0, - - /// - /// Only Analytics is usable, other modules appear disabled. - /// - OneCollector = 1, - - /// - /// Events go to OneCollector, crashes go to AppCenter. - /// - Both = 2, - - /// - /// Sending an event does nothing and you have to use alternate transmission targets. - /// Only the Analytics module appears enabled. - /// - NoSecret = 3, - - /// - /// Don’t start the SDK: like NoSecret, except the SDK is not even started when launching the application. - /// All modules will appear disabled. - /// - Skip = 4 - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/StartupType.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/StartupType.cs.meta deleted file mode 100644 index 48065e4b..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/StartupType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4ae70a3509fd43342bbbe6b6527ef068 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/UnityCoroutineHelper.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/UnityCoroutineHelper.cs deleted file mode 100644 index 93dde755..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/UnityCoroutineHelper.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using System.Collections; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Internal.Utils -{ -#if UNITY_WSA_10_0 - using WSAApplication = UnityEngine.WSA.Application; -#endif - - public class UnityCoroutineHelper : MonoBehaviour - { - private static UnityCoroutineHelper Instance - { - get - { - var instance = FindObjectOfType(); - if (instance == null) - { - var gameObject = new GameObject("App Center Helper") - { - hideFlags = HideFlags.HideAndDontSave - }; - DontDestroyOnLoad(gameObject); - instance = gameObject.AddComponent(); - } - return instance; - } - } - -#if UNITY_WSA_10_0 - public static void StartCoroutine(Func coroutine) - { - if (WSAApplication.RunningOnAppThread()) - { - Instance.StartCoroutine(coroutine()); - } - else - { - WSAApplication.InvokeOnAppThread(() => - { - Instance.StartCoroutine(coroutine()); - }, false); - } - } -#else - public static void StartCoroutine(Func coroutine) - { - Instance.StartCoroutine(coroutine()); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/UnityCoroutineHelper.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/UnityCoroutineHelper.cs.meta deleted file mode 100644 index f85078b0..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/UnityCoroutineHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: de568185273ac461ebcb0c983415f3d8 -timeCreated: 1502882164 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/WrapperSdk.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/WrapperSdk.cs deleted file mode 100644 index d0fafd66..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/WrapperSdk.cs +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using System.Reflection; - -namespace Microsoft.AppCenter.Unity -{ - public static class WrapperSdk - { - private static string _wrapperRuntimeVersion; - private static bool _hasAttemptedToGetRuntimeVersion; - - public const string Name = "appcenter.unity"; - public const string WrapperSdkVersion = "4.3.0"; - - internal static string WrapperRuntimeVersion - { - get - { - // Use a flag instead of checking if _wrapperRuntimeVersion == null, because - // GetWrapperRuntimeVersion() can return null - return _hasAttemptedToGetRuntimeVersion ? _wrapperRuntimeVersion : (_wrapperRuntimeVersion = GetWrapperRuntimeVersion()); - } - } - - private static string GetWrapperRuntimeVersion() - { - _hasAttemptedToGetRuntimeVersion = true; - Type type = Type.GetType("Mono.Runtime"); - if (type != null) - { - MethodInfo displayName = type.GetMethod("GetDisplayName", BindingFlags.NonPublic | BindingFlags.Static); - if (displayName != null) - { - return (string)displayName.Invoke(null, null); - } - } - return null; - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/WrapperSdk.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/WrapperSdk.cs.meta deleted file mode 100644 index 98d34322..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/Shared/WrapperSdk.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f8d397a69ce0a4b8c84b42327b4002ef -timeCreated: 1498672772 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP.meta deleted file mode 100644 index 6601b788..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 0264c79b11cbf46a5b28a709e86af451 -folderAsset: yes -timeCreated: 1498600925 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterInternal.cs deleted file mode 100644 index 40983f14..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterInternal.cs +++ /dev/null @@ -1,241 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR - -#if ENABLE_DOTNET -#error .NET scripting backed is not supported. Use IL2CPP instead. -#endif - -using Microsoft.AppCenter.Unity.Internal.Utils; -using Microsoft.AppCenter.Utils; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System; - -namespace Microsoft.AppCenter.Unity.Internal -{ - using UWPAppCenter = Microsoft.AppCenter.AppCenter; - - class AppCenterInternal - { - private static bool _prepared = false; - private static object _lockObject = new object(); - - public static void Configure(string appSecret) - { - Prepare(); - UWPAppCenter.Configure(appSecret); - } - - public static void Start(string appSecret, Type[] services) - { - var nativeServiceTypes = ServicesToNativeTypes(services); - Prepare(); - UWPAppCenter.Start(appSecret, nativeServiceTypes); - } - - public static void Start(Type[] services) - { - var nativeServiceTypes = ServicesToNativeTypes(services); - Prepare(); - UWPAppCenter.Start(nativeServiceTypes); - } - - public static void Start(Type service) - { - } - - public static string GetSdkVersion() - { - return ""; - } - - public static void StartServices(Type[] services, int numServices) - { - Prepare(); - UWPAppCenter.Start(services); - } - - public static void SetLogLevel(int logLevel) - { - Prepare(); - UWPAppCenter.LogLevel = (Microsoft.AppCenter.LogLevel)LogLevelFromUnity(logLevel); - } - - public static void SetUserId(string userId) - { - Prepare(); - UWPAppCenter.SetUserId(userId); - } - - public static int GetLogLevel() - { - Prepare(); - return (int)LogLevelFromUnity((int)UWPAppCenter.LogLevel); - } - - public static bool IsConfigured() - { - Prepare(); - return UWPAppCenter.Configured; - } - - public static void SetLogUrl(string logUrl) - { - Prepare(); - UWPAppCenter.SetLogUrl(logUrl); - } - - public static void SetNetworkRequestsAllowed(bool isAllowed) - { - Prepare(); - UWPAppCenter.IsNetworkRequestsAllowed = isAllowed; - } - - public static bool IsNetworkRequestsAllowed() - { - Prepare(); - return UWPAppCenter.IsNetworkRequestsAllowed; - } - - public static AppCenterTask SetEnabledAsync(bool isEnabled) - { - Prepare(); - return new AppCenterTask(UWPAppCenter.SetEnabledAsync(isEnabled)); - } - - public static AppCenterTask IsEnabledAsync() - { - Prepare(); - return new AppCenterTask(UWPAppCenter.IsEnabledAsync()); - } - - public static AppCenterTask GetInstallIdAsync() - { - Prepare(); - var installIdTask = UWPAppCenter.GetInstallIdAsync(); - var stringTask = new AppCenterTask(); - installIdTask.ContinueWith(t => - { - var installId = t.Result?.ToString(); - stringTask.SetResult(installId); - }); - return stringTask; - } - - public static void SetCustomProperties(object properties) - { - Prepare(); - var uwpProperties = properties as Microsoft.AppCenter.CustomProperties; - UWPAppCenter.SetCustomProperties(uwpProperties); - } - - public static void SetWrapperSdk(string wrapperSdkVersion, - string wrapperSdkName, - string wrapperRuntimeVersion, - string liveUpdateReleaseLabel, - string liveUpdateDeploymentKey, - string liveUpdatePackageHash) - { - Prepare(); - var wrapperSdk = new Microsoft.AppCenter.WrapperSdk(wrapperSdkName, wrapperSdkVersion, wrapperRuntimeVersion, liveUpdateReleaseLabel, liveUpdateDeploymentKey, liveUpdatePackageHash); - UWPAppCenter.SetWrapperSdk(wrapperSdk); - } - - private static int LogLevelToUnity(int logLevel) - { - switch ((Microsoft.AppCenter.LogLevel)logLevel) - { - case Microsoft.AppCenter.LogLevel.Verbose: - return (int)Microsoft.AppCenter.Unity.LogLevel.Verbose; - case Microsoft.AppCenter.LogLevel.Debug: - return (int)Microsoft.AppCenter.Unity.LogLevel.Debug; - case Microsoft.AppCenter.LogLevel.Info: - return (int)Microsoft.AppCenter.Unity.LogLevel.Info; - case Microsoft.AppCenter.LogLevel.Warn: - return (int)Microsoft.AppCenter.Unity.LogLevel.Warn; - case Microsoft.AppCenter.LogLevel.Error: - return (int)Microsoft.AppCenter.Unity.LogLevel.Error; - case Microsoft.AppCenter.LogLevel.Assert: - return (int)Microsoft.AppCenter.Unity.LogLevel.Assert; - case Microsoft.AppCenter.LogLevel.None: - return (int)Microsoft.AppCenter.Unity.LogLevel.None; - default: - return logLevel; - } - } - - private static Microsoft.AppCenter.LogLevel LogLevelFromUnity(int logLevel) - { - switch ((Microsoft.AppCenter.Unity.LogLevel)logLevel) - { - case Microsoft.AppCenter.Unity.LogLevel.Verbose: - return Microsoft.AppCenter.LogLevel.Verbose; - case Microsoft.AppCenter.Unity.LogLevel.Debug: - return Microsoft.AppCenter.LogLevel.Debug; - case Microsoft.AppCenter.Unity.LogLevel.Info: - return Microsoft.AppCenter.LogLevel.Info; - case Microsoft.AppCenter.Unity.LogLevel.Warn: - return Microsoft.AppCenter.LogLevel.Warn; - case Microsoft.AppCenter.Unity.LogLevel.Error: - return Microsoft.AppCenter.LogLevel.Error; - case Microsoft.AppCenter.Unity.LogLevel.Assert: - return Microsoft.AppCenter.LogLevel.Assert; - case Microsoft.AppCenter.Unity.LogLevel.None: - return Microsoft.AppCenter.LogLevel.None; - default: - return (Microsoft.AppCenter.LogLevel)logLevel; - } - } - - public static void StartFromLibrary(Type[] services) - { - } - - public static Type[] ServicesToNativeTypes(Type[] services) - { - var nativeTypes = new List(); - foreach (var service in services) - { - service.GetMethod("AddNativeType").Invoke(null, new object[] { nativeTypes }); - } - return nativeTypes.ToArray(); - } - - public static void SetMaxStorageSize(long size) - { - Prepare(); - UWPAppCenter.SetMaxStorageSizeAsync(size); - } - - private static void Prepare() - { - lock (_lockObject) - { - if (!_prepared) - { - UnityScreenSizeProvider.Initialize(); - DeviceInformationHelper.SetScreenSizeProviderFactory(new UnityScreenSizeProviderFactory()); - - /** - * Workaround for known IL2CPP issue. - * Currently it is not required, but since this workaround stores settings in separate file, - * and not generic unity mechanism, a migration is required to transition users who store data in old file to built-in mechanism. - * See https://issuetracker.unity3d.com/issues/il2cpp-use-of-windows-dot-foundation-dot-collections-dot-propertyset-throws-a-notsupportedexception-on-uwp - * - * NotSupportedException: Cannot call method - * 'System.Boolean System.Runtime.InteropServices.WindowsRuntime.IMapToIDictionaryAdapter`2::System.Collections.Generic.IDictionary`2.TryGetValue(TKey,TValue&)'. - * IL2CPP does not yet support calling this projected method. - * TODO: Can be removed after migration for settings is added. - */ - UnityApplicationSettings.Initialize(); - UWPAppCenter.SetApplicationSettingsFactory(new UnityApplicationSettingsFactory()); - _prepared = true; - } - } - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterInternal.cs.meta deleted file mode 100644 index 6cb306c9..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0ae3729a942dd41ca8c8152ae46b232e -timeCreated: 1498600933 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterTask.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterTask.cs deleted file mode 100644 index 80a4c7a3..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterTask.cs +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR - -using UnityEngine; -using System.Threading.Tasks; - -namespace Microsoft.AppCenter.Unity -{ - public partial class AppCenterTask - { - // Task parameter should be started already! - public AppCenterTask(Task task) - { - // Use the *actual* TPL's ContinueWith implementation to - // perform the user's ContinueWith callbacks - task.ContinueWith(t => { - CompletionAction(); - }); - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterTask.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterTask.cs.meta deleted file mode 100644 index 082247c3..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterTask.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b970ebe9345904544b42d260f6785283 -timeCreated: 1501281270 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterTaskWithResult.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterTaskWithResult.cs deleted file mode 100644 index 4fb5a51d..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterTaskWithResult.cs +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR - -using System; -using System.Collections; -using System.Threading; -using System.Threading.Tasks; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity -{ - public partial class AppCenterTask - { - private Task _task; - private ManualResetEvent _completionEvent = new ManualResetEvent(false); - private TResult _result; - private Exception _exception; - - // This will block if it is called before the task is complete - public TResult Result - { - get - { - _completionEvent.WaitOne(); - if (_exception == null) - { - return _result; - } - else - { - throw _exception; - } - } - } - - public Exception Exception - { - get - { - return _exception; - } - } - - public AppCenterTask(Task task) : base(task) - { - // Need to save the task to access result later - _task = task; - } - - protected override void CompletionAction() - { - lock (_lockObject) - { - if (IsComplete) - { - return; - } - _result = _task.Result; - _completionEvent.Set(); - base.CompletionAction(); - } - } - - internal void SetResult(TResult result) - { - lock (_lockObject) - { - ThrowIfCompleted(); - _result = result; - _completionEvent.Set(); - base.CompletionAction(); - } - } - - internal void SetException(Exception exception) - { - lock (_lockObject) - { - ThrowIfCompleted(); - _exception = exception; - _completionEvent.Set(); - base.CompletionAction(); - } - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterTaskWithResult.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterTaskWithResult.cs.meta deleted file mode 100644 index c69f5875..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/AppCenterTaskWithResult.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 54f6a05c3c11840eb8a1f3b76554ff94 -timeCreated: 1501281270 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/CustomPropertiesInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/CustomPropertiesInternal.cs deleted file mode 100644 index 12cdfd74..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/CustomPropertiesInternal.cs +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR -using System; - -namespace Microsoft.AppCenter.Unity.Internal -{ - using UWPCustomProperties = Microsoft.AppCenter.CustomProperties; - - class CustomPropertiesInternal - { - public static object Create() - { - return new UWPCustomProperties(); - } - - public static void SetString(object properties, string key, string val) - { - var uwpProperties = properties as UWPCustomProperties; - uwpProperties.Set(key, val); - } - - public static void SetNumber(object properties, string key, int val) - { - var uwpProperties = properties as UWPCustomProperties; - uwpProperties.Set(key, val); - } - - public static void SetNumber(object properties, string key, long val) - { - var uwpProperties = properties as UWPCustomProperties; - uwpProperties.Set(key, val); - } - - public static void SetNumber(object properties, string key, float val) - { - var uwpProperties = properties as UWPCustomProperties; - uwpProperties.Set(key, val); - } - - public static void SetNumber(object properties, string key, double val) - { - var uwpProperties = properties as UWPCustomProperties; - uwpProperties.Set(key, val); - } - - public static void SetBool(object properties, string key, bool val) - { - var uwpProperties = properties as UWPCustomProperties; - uwpProperties.Set(key, val); - } - - public static void SetDate(object properties, string key, DateTime val) - { - var uwpProperties = properties as UWPCustomProperties; - uwpProperties.Set(key, val); - } - - public static void Clear(object properties, string key) - { - var uwpProperties = properties as UWPCustomProperties; - uwpProperties.Clear(key); - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/CustomPropertiesInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/CustomPropertiesInternal.cs.meta deleted file mode 100644 index c5da31b9..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/CustomPropertiesInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e4a40f8a8c4ac5b4e80acd82f5bb940e -timeCreated: 1498670691 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettings.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettings.cs deleted file mode 100644 index fccf2b32..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettings.cs +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && ENABLE_IL2CPP && !UNITY_EDITOR -using Microsoft.AppCenter.Utils; -using Newtonsoft.Json; -using System; -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Internal.Utils -{ - public class UnityApplicationSettings : IApplicationSettings - { - private const string AppCenterSettingsKey = "AppCenterSettings"; - - private static readonly object _lockObject = new object(); - private static IDictionary _current; - private static bool _dirty = false; - - public T GetValue(string key, T defaultValue) - { - lock (_lockObject) - { - object result; - var found = _current.TryGetValue(key, out result); - if (found) - { - // This is a workaround for a bug on UWP where Install-Id cannot be read - // from Unity.PlayerPrefs, because it is saved as System.Guid, but read as a string. - if (typeof(T) == typeof(Guid?) && result is string) - { - try - { - object guid = new Guid((string)result); - return (T)guid; - } - catch (FormatException ex) - { - Debug.LogErrorFormat("Guid cannot be parsed due to a format exception: {0}", ex.Message); - return defaultValue; - } - } - return (T)result; - } - } - SetValue(key, defaultValue); - return defaultValue; - } - - public void SetValue(string key, object value) - { - lock (_lockObject) - { - _current[key] = value; - _dirty = true; - } - } - - public bool ContainsKey(string key) - { - lock (_lockObject) - { - return _current.ContainsKey(key); - } - } - - public void Remove(string key) - { - lock (_lockObject) - { - _current.Remove(key); - _dirty = true; - } - } - - private static IDictionary ReadAll() - { - var json = PlayerPrefs.GetString(AppCenterSettingsKey, null); - var settings = JsonConvert.DeserializeObject>(json); - return settings != null ? settings : new Dictionary(); - } - - public static void Initialize() - { - // Read current values. - _current = ReadAll(); - - // Create helper for coroutine. - UnityCoroutineHelper.StartCoroutine(MainThreadCoroutine); - } - - private static IEnumerator MainThreadCoroutine() - { - while (true) - { - yield return null; - if (_dirty) - { - string json; - lock (_lockObject) - { - json = JsonConvert.SerializeObject(_current); - _dirty = false; - } - PlayerPrefs.SetString(AppCenterSettingsKey, json); - PlayerPrefs.Save(); - } - } - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettings.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettings.cs.meta deleted file mode 100644 index 99d29eab..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettings.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 9ce97215d8cac604bb8592f172a20089 -timeCreated: 1502878843 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettingsFactory.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettingsFactory.cs deleted file mode 100644 index af141aa1..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettingsFactory.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && ENABLE_IL2CPP && !UNITY_EDITOR -using Microsoft.AppCenter.Utils; - -namespace Microsoft.AppCenter.Unity.Internal.Utils -{ - public class UnityApplicationSettingsFactory : IApplicationSettingsFactory - { - public IApplicationSettings CreateApplicationSettings() - { - return new UnityApplicationSettings(); - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettingsFactory.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettingsFactory.cs.meta deleted file mode 100644 index 66089d51..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettingsFactory.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c5f91c5d3f7aebb4999bb4dc6d6b0f0c -timeCreated: 1502882164 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettingsHelper.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettingsHelper.cs deleted file mode 100644 index adecab58..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettingsHelper.cs +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Internal.Utils -{ - public class UnityApplicationSettingsHelper : MonoBehaviour - { - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettingsHelper.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettingsHelper.cs.meta deleted file mode 100644 index 1b89dee7..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityApplicationSettingsHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: bb2b96fcb50fa4d91902322f2530fdf9 -timeCreated: 1502882164 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityScreenSizeProvider.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityScreenSizeProvider.cs deleted file mode 100644 index 2aadd81d..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityScreenSizeProvider.cs +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR -using System; -using System.Threading.Tasks; -using UnityEngine; -using Microsoft.AppCenter.Utils; - -namespace Microsoft.AppCenter.Unity.Internal.Utils -{ - public class UnityScreenSizeProvider : ScreenSizeProviderBase - { - private static int _height; - private static int _width; - private static TaskCompletionSource _initializationTaskSource = new TaskCompletionSource(); - public override int Height => _height; - public override int Width => _width; - - public static void Initialize() - { - // This must occur on the main thread - _height = Screen.currentResolution.height; - _width = Screen.currentResolution.width; - _initializationTaskSource.SetResult(true); - } - -#pragma warning disable 0067 - public override event EventHandler ScreenSizeChanged; -#pragma warning restore 0067 - - public override Task WaitUntilReadyAsync() - { - return _initializationTaskSource.Task; - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityScreenSizeProvider.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityScreenSizeProvider.cs.meta deleted file mode 100644 index f9083ddb..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityScreenSizeProvider.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f31145d1cb97b6b4e96ec422fc7e1b7d -timeCreated: 1500921084 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityScreenSizeProviderFactory.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityScreenSizeProviderFactory.cs deleted file mode 100644 index 4b237131..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityScreenSizeProviderFactory.cs +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR - -using Microsoft.AppCenter.Utils; - -namespace Microsoft.AppCenter.Unity.Internal.Utils -{ - public class UnityScreenSizeProviderFactory : IScreenSizeProviderFactory - { - public IScreenSizeProvider CreateScreenSizeProvider() - { - return new UnityScreenSizeProvider(); - } - } -} - -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityScreenSizeProviderFactory.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityScreenSizeProviderFactory.cs.meta deleted file mode 100644 index f740d657..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/UWP/UnityScreenSizeProviderFactory.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 285d8e08793969346b271d56b8c696f3 -timeCreated: 1500923200 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS.meta deleted file mode 100644 index d163a2e9..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 4c9d8b2c84f08414e8b264580dde54ad -folderAsset: yes -timeCreated: 1498059824 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterInternal.cs deleted file mode 100644 index 98de3340..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterInternal.cs +++ /dev/null @@ -1,200 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using AOT; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.InteropServices; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Internal -{ - class AppCenterInternal - { - public static void SetLogLevel(int logLevel) - { - appcenter_unity_set_log_level(logLevel); - } - - public static void SetUserId(string userId) - { - appcenter_unity_set_user_id(userId); - } - - public static int GetLogLevel() - { - return appcenter_unity_get_log_level(); - } - - public static string GetSdkVersion() - { - return appcenter_unity_get_sdk_version(); - } - - public static bool IsConfigured() - { - return appcenter_unity_is_configured(); - } - - public static void SetLogUrl(string logUrl) - { - appcenter_unity_set_log_url(logUrl); - } - - public static void SetNetworkRequestsAllowed(bool isAllowed) - { - appcenter_unity_set_network_requests_allowed(isAllowed); - } - - public static bool IsNetworkRequestsAllowed() - { - return appcenter_unity_is_network_requests_allowed(); - } - - public static AppCenterTask SetEnabledAsync(bool isEnabled) - { - appcenter_unity_set_enabled(isEnabled); - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync() - { - var isEnabled = appcenter_unity_is_enabled(); - return AppCenterTask.FromCompleted(isEnabled); - } - - public static AppCenterTask GetInstallIdAsync() - { - var installId = appcenter_unity_get_install_id(); - return AppCenterTask.FromCompleted(installId); - } - - public static void SetCustomProperties(IntPtr properties) - { - appcenter_unity_set_custom_properties(properties); - } - - public static void SetWrapperSdk(string wrapperSdkVersion, - string wrapperSdkName, - string wrapperRuntimeVersion, - string liveUpdateReleaseLabel, - string liveUpdateDeploymentKey, - string liveUpdatePackageHash) - { - appcenter_unity_set_wrapper_sdk(wrapperSdkVersion, - wrapperSdkName, - wrapperRuntimeVersion, - liveUpdateReleaseLabel, - liveUpdateDeploymentKey, - liveUpdatePackageHash); - } - - public static void Start(string appSecret, Type[] services) - { - var nativeServiceTypes = ServicesToNativeTypes(services); - appcenter_unity_start(appSecret, nativeServiceTypes, nativeServiceTypes.Length); - } - - public static void Start(Type[] services) - { - var nativeServiceTypes = ServicesToNativeTypes(services); - appcenter_unity_start_no_secret(nativeServiceTypes, nativeServiceTypes.Length); - } - - public static void Start(Type service) - { - } - - public static void StartFromLibrary(IntPtr[] services) - { - appcenter_unity_start_from_library(services, services.Length); - } - - public static IntPtr[] ServicesToNativeTypes(Type[] services) - { - var nativeTypes = new List(); - foreach (var serviceType in services) - { - serviceType.GetMethod("AddNativeType").Invoke(null, new object[] { nativeTypes }); - } - return nativeTypes.ToArray(); - } - - public static void SetMaxStorageSize(long size) - { - appcenter_unity_set_storage_size(size, SetStorageSizeCompletionHandler); - } - - [MonoPInvokeCallback(typeof(AppCenter.SetMaxStorageSizeCompletionHandler))] - private static void SetStorageSizeCompletionHandler(bool result) - { - if (!result) - { - Debug.Log("Failed to set maximum storage size"); - } - } - -#region External - - [DllImport("__Internal")] - private static extern void appcenter_unity_set_log_level(int logLevel); - - [DllImport("__Internal")] - private static extern void appcenter_unity_set_user_id(string userId); - - [DllImport("__Internal")] - private static extern int appcenter_unity_get_log_level(); - - [DllImport("__Internal")] - private static extern string appcenter_unity_get_sdk_version(); - - [DllImport("__Internal")] - private static extern bool appcenter_unity_is_configured(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_set_log_url(string logUrl); - - [DllImport("__Internal")] - private static extern void appcenter_unity_set_enabled(bool isEnabled); - - [DllImport("__Internal")] - private static extern void appcenter_unity_set_network_requests_allowed(bool isAllowed); - - [DllImport("__Internal")] - private static extern bool appcenter_unity_is_network_requests_allowed(); - - [DllImport("__Internal")] - private static extern bool appcenter_unity_is_enabled(); - - [DllImport("__Internal")] - private static extern string appcenter_unity_get_install_id(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_start(string appSecret, IntPtr[] classes, int count); - - [DllImport("__Internal")] - private static extern void appcenter_unity_start_no_secret(IntPtr[] classes, int count); - - [DllImport("__Internal")] - private static extern void appcenter_unity_start_from_library(IntPtr[] classes, int count); - - [DllImport("__Internal")] - private static extern void appcenter_unity_set_custom_properties(IntPtr properties); - - [DllImport("__Internal")] - private static extern void appcenter_unity_set_wrapper_sdk(string wrapperSdkVersion, - string wrapperSdkName, - string wrapperRuntimeVersion, - string liveUpdateReleaseLabel, - string liveUpdateDeploymentKey, - string liveUpdatePackageHash); - - [DllImport("__Internal")] - private static extern void appcenter_unity_set_storage_size(long size, AppCenter.SetMaxStorageSizeCompletionHandler handler); - -#endregion - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterInternal.cs.meta deleted file mode 100644 index c6408838..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f8cd42a72e249df42b1d2447dc9333b9 -timeCreated: 1497372965 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterTask.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterTask.cs deleted file mode 100644 index 80d40744..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterTask.cs +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR - -using UnityEngine; - -namespace Microsoft.AppCenter.Unity -{ - public partial class AppCenterTask - { - internal void SetResult() - { - CompletionAction(); - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterTask.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterTask.cs.meta deleted file mode 100644 index e8e1571d..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterTask.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0b6acf881c8f345de98d17cffa208d8e -timeCreated: 1501280010 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterTaskWithResult.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterTaskWithResult.cs deleted file mode 100644 index 61788715..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterTaskWithResult.cs +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR - -using System; -using System.Collections; -using System.Threading; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity -{ - public partial class AppCenterTask - { - private ManualResetEvent _completionEvent = new ManualResetEvent(false); - private TResult _result; - private Exception _exception; - - public TResult Result - { - get - { - _completionEvent.WaitOne(); - if (_exception == null) - { - return _result; - } - else - { - throw _exception; - } - } - } - - public Exception Exception - { - get - { - return _exception; - } - } - - internal void SetResult(TResult result) - { - lock (_lockObject) - { - ThrowIfCompleted(); - _result = result; - _completionEvent.Set(); - CompletionAction(); - } - } - - internal void SetException(Exception exception) - { - lock (_lockObject) - { - ThrowIfCompleted(); - _exception = exception; - _completionEvent.Set(); - CompletionAction(); - } - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterTaskWithResult.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterTaskWithResult.cs.meta deleted file mode 100644 index 96aea585..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/AppCenterTaskWithResult.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c4991171420d3459abbefd760cfba51e -timeCreated: 1501280010 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/CustomPropertiesInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/CustomPropertiesInternal.cs deleted file mode 100644 index 0bc79b08..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/CustomPropertiesInternal.cs +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using System; -using System.Runtime.InteropServices; -using Microsoft.AppCenter.Unity.Internal.Utility; - -namespace Microsoft.AppCenter.Unity.Internal -{ - class CustomPropertiesInternal - { - public static IntPtr Create() - { - return appcenter_unity_custom_properties_create(); - } - - public static void SetString(IntPtr properties, string key, string val) - { - appcenter_unity_custom_properties_set_string(properties, key, val); - } - - public static void SetNumber(IntPtr properties, string key, int val) - { - appcenter_unity_custom_properties_set_number(properties, key, NSNumberHelper.Convert(val)); - } - - public static void SetNumber(IntPtr properties, string key, long val) - { - appcenter_unity_custom_properties_set_number(properties, key, NSNumberHelper.Convert(val)); - } - - public static void SetNumber(IntPtr properties, string key, float val) - { - appcenter_unity_custom_properties_set_number(properties, key, NSNumberHelper.Convert(val)); - } - - public static void SetNumber(IntPtr properties, string key, double val) - { - appcenter_unity_custom_properties_set_number(properties, key, NSNumberHelper.Convert(val)); - } - - public static void SetBool(IntPtr properties, string key, bool val) - { - appcenter_unity_custom_properties_set_bool(properties, key, val); - } - - public static void SetDate(IntPtr properties, string key, DateTime val) - { - appcenter_unity_custom_properties_set_date(properties, key, NSDateHelper.DateTimeConvert(val)); - } - - public static void Clear(IntPtr properties, string key) - { - appcenter_unity_custom_properties_clear(properties, key); - } - -#region External - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_custom_properties_create(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_custom_properties_set_string(IntPtr properties, string key, string val); - - [DllImport("__Internal")] - private static extern void appcenter_unity_custom_properties_set_number(IntPtr properties, string key, IntPtr val); - - [DllImport("__Internal")] - private static extern void appcenter_unity_custom_properties_set_bool(IntPtr properties, string key, bool val); - - [DllImport("__Internal")] - private static extern void appcenter_unity_custom_properties_set_date(IntPtr properties, string key, IntPtr val); - - [DllImport("__Internal")] - private static extern void appcenter_unity_custom_properties_clear(IntPtr properties, string key); - -#endregion - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/CustomPropertiesInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/CustomPropertiesInternal.cs.meta deleted file mode 100644 index c471820e..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Core/iOS/CustomPropertiesInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: dd933e7104204430682354c11c40d2f2 -timeCreated: 1498515938 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes.meta deleted file mode 100644 index 3350e0a9..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9823f0cc51a9f07408e6f46b6820584e -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android.meta deleted file mode 100644 index 9834d0da..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: ed62715457ca14579a585b5e97cda35f -folderAsset: yes -timeCreated: 1512409292 -licenseType: Pro -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/CrashesDelegate.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/CrashesDelegate.cs deleted file mode 100644 index df3fa103..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/CrashesDelegate.cs +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR -using UnityEngine; -using System.Collections.Generic; - -namespace Microsoft.AppCenter.Unity.Crashes.Internal -{ - public class CrashesDelegate : AndroidJavaProxy - { - public static event Crashes.SendingErrorReportHandler SendingErrorReport; - public static event Crashes.SentErrorReportHandler SentErrorReport; - public static event Crashes.FailedToSendErrorReportHandler FailedToSendErrorReport; - internal static Crashes.GetErrorAttachmentsHandler GetErrorAttachmentsHandler; - private static Crashes.UserConfirmationHandler shouldAwaitUserConfirmationHandler = null; - private static Crashes.ShouldProcessErrorReportHandler shouldProcessErrorReportHandler = null; - private static readonly CrashesDelegate instance = new CrashesDelegate(); - - private CrashesDelegate() : base("com.microsoft.appcenter.crashes.CrashesListener") - { - } - - public static void SetDelegate() - { - var crashes = new AndroidJavaClass("com.microsoft.appcenter.crashes.Crashes"); - crashes.CallStatic("setListener", instance); - } - - public void onBeforeSending(AndroidJavaObject report) - { - var handlers = SendingErrorReport; - if (handlers != null) - { - var errorReport = JavaObjectsConverter.ConvertErrorReport(report); - handlers.Invoke(errorReport); - } - } - - public void onSendingFailed(AndroidJavaObject report, AndroidJavaObject exception) - { - var handlers = FailedToSendErrorReport; - if (handlers != null) - { - var errorReport = JavaObjectsConverter.ConvertErrorReport(report); - var exceptionStackTrace = exception.Call("getStackTrace"); - var failCause = JavaObjectsConverter.ConvertException(exceptionStackTrace); - handlers.Invoke(errorReport, failCause); - } - } - - public void onSendingSucceeded(AndroidJavaObject report) - { - var handlers = SentErrorReport; - if (handlers != null) - { - var errorReport = JavaObjectsConverter.ConvertErrorReport(report); - handlers.Invoke(errorReport); - } - } - - public bool shouldProcess(AndroidJavaObject report) - { - var handler = shouldProcessErrorReportHandler; - if (handler != null) - { - return handler.Invoke(JavaObjectsConverter.ConvertErrorReport(report)); - } - return true; - } - - public bool shouldAwaitUserConfirmation() - { - var handler = shouldAwaitUserConfirmationHandler; - if (handler != null) - { - return handler.Invoke(); - } - return false; - } - - public AndroidJavaObject getErrorAttachments(AndroidJavaObject report) - { - if (GetErrorAttachmentsHandler != null) - { - var logs = GetErrorAttachmentsHandler(JavaObjectsConverter.ConvertErrorReport(report)); - return JavaObjectsConverter.ToJavaAttachments(logs); - } - else - { - return null; - } - } - - public static void SetShouldAwaitUserConfirmationHandler(Crashes.UserConfirmationHandler handler) - { - shouldAwaitUserConfirmationHandler = handler; - } - - public static void SetShouldProcessErrorReportHandler(Crashes.ShouldProcessErrorReportHandler handler) - { - shouldProcessErrorReportHandler = handler; - } - - public static void SetGetErrorAttachmentsHandler(Crashes.GetErrorAttachmentsHandler handler) - { - GetErrorAttachmentsHandler = handler; - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/CrashesDelegate.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/CrashesDelegate.cs.meta deleted file mode 100644 index 3d07b27c..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/CrashesDelegate.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: fefa4412922e24dc7b45c8977d40ceb3 -timeCreated: 1497991554 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/CrashesInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/CrashesInternal.cs deleted file mode 100644 index 9a212d41..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/CrashesInternal.cs +++ /dev/null @@ -1,138 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR -using System; -using System.Collections.Generic; -using System.Threading; -using Assets.AppCenter.Plugins.Android.Utility; -using Microsoft.AppCenter.Unity.Internal; -using Microsoft.AppCenter.Unity.Internal.Utility; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Crashes.Internal -{ - class CrashesInternal - { - private static AndroidJavaClass _crashes = new AndroidJavaClass("com.microsoft.appcenter.crashes.Crashes"); - private static AndroidJavaClass _wrapperSdkExceptionManager = new AndroidJavaClass("com.microsoft.appcenter.crashes.WrapperSdkExceptionManager"); - - public static void AddNativeType(List nativeTypes) - { - nativeTypes.Add(AndroidJNI.FindClass("com/microsoft/appcenter/crashes/Crashes")); - } - - public static string TrackException(AndroidJavaObject exception, IDictionary properties, ErrorAttachmentLog[] attachments) - { - var javaProperties = JavaStringMapHelper.ConvertToJava(properties); - var javaAttachments = JavaObjectsConverter.ToJavaAttachments(attachments); - return _wrapperSdkExceptionManager.CallStatic("trackException", exception, javaProperties, javaAttachments); - } - - public static AppCenterTask HasReceivedMemoryWarningInLastSessionAsync() - { - var future = _crashes.CallStatic("hasReceivedMemoryWarningInLastSession"); - return new AppCenterTask(future); - } - - public static AppCenterTask SetEnabledAsync(bool isEnabled) - { - var future = _crashes.CallStatic("setEnabled", isEnabled); - return new AppCenterTask(future); - } - - public static AppCenterTask IsEnabledAsync() - { - var future = _crashes.CallStatic("isEnabled"); - return new AppCenterTask(future); - } - - public static void GenerateTestCrash() - { - // The call to the "generateTestCrash" method from native SDK wouldn't work in this - // case because it just throws an exception which Unity automatically catches and logs, - // without crashing the application - // _crashes.CallStatic("generateTestCrash"); - - if (Debug.isDebugBuild) - { - new Thread(() => - { - AndroidJNI.FindClass("Test/crash/generated/by/SDK"); - }).Start(); - } - } - - public static AppCenterTask HasCrashedInLastSessionAsync() - { - var future = _crashes.CallStatic("hasCrashedInLastSession"); - return new AppCenterTask(future); - } - - public static AppCenterTask GetLastSessionCrashReportAsync() - { - var future = _crashes.CallStatic("getLastSessionCrashReport"); - var javaTask = new AppCenterTask(future); - var errorReportTask = new AppCenterTask(); - javaTask.ContinueWith(t => - { - var errorReport = JavaObjectsConverter.ConvertErrorReport(t.Result); - errorReportTask.SetResult(errorReport); - }); - return errorReportTask; - } - - public static void DisableMachExceptionHandler() - { - } - - public static void SetUserConfirmationHandler(Crashes.UserConfirmationHandler handler) - { - CrashesDelegate.SetShouldAwaitUserConfirmationHandler(handler); - } - - public static void NotifyWithUserConfirmation(Crashes.ConfirmationResult answer) - { - _crashes.CallStatic("notifyUserConfirmation", ToJavaConfirmationResult(answer)); - } - - public static AppCenterTask GetMinidumpDirectoryAsync() - { - var future = _crashes.CallStatic("getMinidumpDirectory"); - return new AppCenterTask(future); - } - - public static void StartCrashes() - { - AppCenterInternal.Start(AppCenter.Crashes); - } - - public static ErrorReport BuildHandledErrorReport(string errorReportId) - { - var nativeErrorReport = _wrapperSdkExceptionManager.CallStatic("buildHandledErrorReport", AndroidUtility.GetAndroidContext(), errorReportId); - return JavaObjectsConverter.ConvertErrorReport(nativeErrorReport); - } - - public static void SendErrorAttachments(string errorReportId, ErrorAttachmentLog[] attachments) - { - var nativeAttachments = JavaObjectsConverter.ToJavaAttachments(attachments); - _wrapperSdkExceptionManager.CallStatic("sendErrorAttachments", errorReportId, nativeAttachments); - } - - private static int ToJavaConfirmationResult(Crashes.ConfirmationResult answer) - { - // Java values: SEND=0, DONT_SEND=1, ALWAYS_SEND=2 - // Crashes.ConfirmationResult values: SEND=1, DONT_SEND=0, ALWAYS_SEND=2 - switch (answer) - { - case Crashes.ConfirmationResult.Send: - return _crashes.GetStatic("SEND"); - case Crashes.ConfirmationResult.AlwaysSend: - return _crashes.GetStatic("ALWAYS_SEND"); - default: - return _crashes.GetStatic("DONT_SEND"); - } - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/CrashesInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/CrashesInternal.cs.meta deleted file mode 100644 index 99ff3cfb..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/CrashesInternal.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 49eed83874f5847fb8be3cc3ec315730 -timeCreated: 1512519361 -licenseType: Pro -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/JavaObjectsConverter.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/JavaObjectsConverter.cs deleted file mode 100644 index 42d72d29..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/JavaObjectsConverter.cs +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID -using Microsoft.AppCenter.Unity; -using Microsoft.AppCenter.Unity.Crashes; -using Microsoft.AppCenter.Unity.Crashes.Models; -using Microsoft.AppCenter.Unity.Internal.Utility; -using UnityEngine; - -public class JavaObjectsConverter -{ - private static readonly AndroidJavaClass _errorAttachmentLogClass = new AndroidJavaClass("com.microsoft.appcenter.crashes.ingestion.models.ErrorAttachmentLog"); - - public static ErrorReport ConvertErrorReport(AndroidJavaObject errorReport) - { - if (errorReport == null) - { - return null; - } - try - { - var id = errorReport.Call("getId"); - var threadName = errorReport.Call("getThreadName"); - var startTime = JavaDateHelper.DateTimeConvert(errorReport.Call("getAppStartTime")); - var errorTime = JavaDateHelper.DateTimeConvert(errorReport.Call("getAppErrorTime")); - var exception = ConvertException(errorReport.Call("getStackTrace")); - var device = ConvertDevice(errorReport.Call("getDevice")); - return new ErrorReport(id, startTime, errorTime, exception, device, threadName); - } - catch (System.Exception e) - { - Debug.LogErrorFormat("Failed to convert error report Java object to .Net object: {0}", e.ToString()); - return null; - } - } - - public static Exception ConvertException(string stackTrace) - { - return new Exception(null, stackTrace); - } - - private static Device ConvertDevice(AndroidJavaObject device) - { - return new Device( - device.Call("getSdkName"), - device.Call("getSdkVersion"), - device.Call("getModel"), - device.Call("getOemName"), - device.Call("getOsName"), - device.Call("getOsVersion"), - device.Call("getOsBuild"), - GetIntValue(device, "getOsApiLevel"), - device.Call("getLocale"), - GetIntValue(device, "getTimeZoneOffset"), - device.Call("getScreenSize"), - device.Call("getAppVersion"), - device.Call("getCarrierName"), - device.Call("getCarrierCountry"), - device.Call("getAppBuild"), - device.Call("getAppNamespace")); - } - - private static int GetIntValue(AndroidJavaObject javaObject, string getterName) - { - var integer = javaObject.Call(getterName); - return integer.Call("intValue"); - } - - internal static AndroidJavaObject ToJavaAttachments(ErrorAttachmentLog[] attachments) - { - if (attachments == null) - { - return null; - } - var javaList = new AndroidJavaObject("java.util.ArrayList", attachments.Length); - foreach (var errorAttachmentLog in attachments) - { - if (errorAttachmentLog != null) - { - AndroidJavaObject nativeLog = null; - if (errorAttachmentLog.Type == ErrorAttachmentLog.AttachmentType.Text) - { - nativeLog = _errorAttachmentLogClass.CallStatic("attachmentWithText", errorAttachmentLog.Text, errorAttachmentLog.FileName); - } - else - { - nativeLog = _errorAttachmentLogClass.CallStatic("attachmentWithBinary", errorAttachmentLog.Data, errorAttachmentLog.FileName, errorAttachmentLog.ContentType); - } - javaList.Call("add", nativeLog); - } - } - return javaList; - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/JavaObjectsConverter.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/JavaObjectsConverter.cs.meta deleted file mode 100644 index 60b52add..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/JavaObjectsConverter.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9322587201ec4ad48af11a58d953e826 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/WrapperExceptionInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/WrapperExceptionInternal.cs deleted file mode 100644 index 45b0a65b..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/WrapperExceptionInternal.cs +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Crashes.Internal -{ - class WrapperExceptionInternal - { - public static AndroidJavaObject Create() - { - return new AndroidJavaObject("com.microsoft.appcenter.crashes.ingestion.models.Exception"); - } - - public static void SetType(AndroidJavaObject exception, string type) - { - exception.Call("setType", type); - } - - public static void SetMessage(AndroidJavaObject exception, string message) - { - exception.Call("setMessage", message); - } - - public static void SetStacktrace(AndroidJavaObject exception, string stacktrace) - { - exception.Call("setStackTrace", stacktrace); - } - - public static void SetInnerException(AndroidJavaObject exception, AndroidJavaObject innerException) - { - var javaList = new AndroidJavaObject("java.util.LinkedList"); - javaList.Call("addLast", innerException); - exception.Call("setInnerExceptions", javaList); - } - - public static void SetWrapperSdkName(AndroidJavaObject exception, string sdkName) - { - exception.Call("setWrapperSdkName", sdkName); - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/WrapperExceptionInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/WrapperExceptionInternal.cs.meta deleted file mode 100644 index c75e0b74..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Android/WrapperExceptionInternal.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: b4325894391be49838145922ef28e7ca -timeCreated: 1512582941 -licenseType: Free -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank.meta deleted file mode 100644 index cd747e9d..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 5e6188b3d234f4b888dbe6e8b27c6cc6 -folderAsset: yes -timeCreated: 1512409292 -licenseType: Pro -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/CrashesDelegate.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/CrashesDelegate.cs deleted file mode 100644 index 62d4ff78..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/CrashesDelegate.cs +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR - -namespace Microsoft.AppCenter.Unity.Crashes.Internal -{ - class CrashesDelegate - { -#pragma warning disable 0067 - public static event Crashes.SendingErrorReportHandler SendingErrorReport; - - public static event Crashes.SentErrorReportHandler SentErrorReport; - - public static event Crashes.FailedToSendErrorReportHandler FailedToSendErrorReport; -#pragma warning restore 0067 - -#pragma warning disable 0649 - internal static Crashes.GetErrorAttachmentsHandler GetErrorAttachmentsHandler; -#pragma warning restore 0649 - - public static void SetDelegate() - { - } - - public static void SetShouldProcessErrorReportHandler(Crashes.ShouldProcessErrorReportHandler handler) - { - } - - public static void SetGetErrorAttachmentsHandler(Crashes.GetErrorAttachmentsHandler handler) - { - } - - public static void SetSentErrorReportHandler(Crashes.SentErrorReportHandler handler) - { - } - - public static void SetFailedToSendErrorReportHandler(Crashes.FailedToSendErrorReportHandler handler) - { - } - - public static void SetShouldAwaitUserConfirmationHandler(Crashes.UserConfirmationHandler handler) - { - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/CrashesDelegate.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/CrashesDelegate.cs.meta deleted file mode 100644 index e7dde7aa..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/CrashesDelegate.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: cf531b4631aed4bf18e9e07c9783f0d9 -timeCreated: 1497905875 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/CrashesInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/CrashesInternal.cs deleted file mode 100644 index a15b2739..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/CrashesInternal.cs +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR -using System.Collections.Generic; -using Microsoft.AppCenter.Unity.Crashes.Models; -using Microsoft.AppCenter.Unity.Crashes; - -namespace Microsoft.AppCenter.Unity.Crashes.Internal -{ -#if UNITY_IOS - using NativeType = System.IntPtr; - using RawType = System.IntPtr; -#elif UNITY_ANDROID - using NativeType = System.IntPtr; - using RawType = UnityEngine.AndroidJavaObject; -#else - using NativeType = System.Type; - using RawType = System.Object; -#endif - - class CrashesInternal - { - public static void AddNativeType(List nativeTypes) - { - } - - public static string TrackException(RawType exception, IDictionary properties, ErrorAttachmentLog[] attachments) - { - return ""; - } - - public static AppCenterTask HasReceivedMemoryWarningInLastSessionAsync() - { - return AppCenterTask.FromCompleted(false); - } - - public static AppCenterTask SetEnabledAsync(bool enabled) - { - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync() - { - return AppCenterTask.FromCompleted(false); - } - - public static AppCenterTask GetMinidumpDirectoryAsync() - { - return AppCenterTask.FromCompleted(""); - } - - public static void GenerateTestCrash() - { - } - - public static AppCenterTask HasCrashedInLastSessionAsync() - { - return AppCenterTask.FromCompleted(false); - } - - public static void DisableMachExceptionHandler() - { - } - - public static AppCenterTask GetLastSessionCrashReportAsync() - { - return AppCenterTask.FromCompleted(null); - } - - public static void SetUserConfirmationHandler(Crashes.UserConfirmationHandler handler) - { - } - - public static void NotifyWithUserConfirmation(Crashes.ConfirmationResult answer) - { - } - - public static void StartCrashes() - { - } - - public static ErrorReport BuildHandledErrorReport(string errorReportId) - { - return null; - } - - public static void SendErrorAttachments(string errorReportId, ErrorAttachmentLog[] attachments) - { - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/CrashesInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/CrashesInternal.cs.meta deleted file mode 100644 index be819ea3..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/CrashesInternal.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 4c3f231fe8edd4d63807d60f84840df7 -timeCreated: 1512519361 -licenseType: Pro -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/WrapperExceptionInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/WrapperExceptionInternal.cs deleted file mode 100644 index acaa9e0b..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/WrapperExceptionInternal.cs +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR -using Microsoft.AppCenter.Unity.Crashes.Internal; -using System; - -namespace Microsoft.AppCenter.Unity.Crashes -{ -#if UNITY_IOS - using RawType = System.IntPtr; -#elif UNITY_ANDROID - using RawType = UnityEngine.AndroidJavaObject; -#else - using RawType = System.Object; -#endif - - public class WrapperExceptionInternal - { - public static RawType Create() - { - return default(RawType); - } - - public static void SetType(RawType exception, string type) - { - } - - public static void SetMessage(RawType exception, string message) - { - } - - public static void SetStacktrace(RawType exception, string stacktrace) - { - } - - public static void SetInnerException(RawType exception, RawType innerException) - { - } - - public static void SetWrapperSdkName(RawType exception, string sdkName) - { - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/WrapperExceptionInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/WrapperExceptionInternal.cs.meta deleted file mode 100644 index 459da150..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Blank/WrapperExceptionInternal.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 40951c1d8e9b542f0a086a579d880ce8 -timeCreated: 1512582941 -licenseType: Free -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models.meta deleted file mode 100644 index 0bbd1cbb..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 357e82d836da8a546ab138a7d10dc0b0 -folderAsset: yes -timeCreated: 1499796409 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/ErrorAttachmentLog.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/ErrorAttachmentLog.cs deleted file mode 100644 index 758d9798..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/ErrorAttachmentLog.cs +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; - -namespace Microsoft.AppCenter.Unity.Crashes -{ - public class ErrorAttachmentLog - { - public string Text { get; private set; } - public byte[] Data { get; private set; } - public string FileName { get; private set; } - public string ContentType { get; private set; } - public AttachmentType Type { get; private set; } - - public static ErrorAttachmentLog AttachmentWithText(string text, string fileName) - { - return new ErrorAttachmentLog - { - Text = text, - FileName = fileName, - Type = AttachmentType.Text - }; - } - - public static ErrorAttachmentLog AttachmentWithBinary(byte[] data, string fileName, string contentType) - { - return new ErrorAttachmentLog - { - Data = data, - FileName = fileName, - ContentType = contentType, - Type = AttachmentType.Binary - }; - } - - public enum AttachmentType { Text, Binary } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/ErrorAttachmentLog.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/ErrorAttachmentLog.cs.meta deleted file mode 100644 index 25b5a3d6..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/ErrorAttachmentLog.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 77bffd8d50b4648c4b9b1ae1553c31fe -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/ErrorReport.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/ErrorReport.cs deleted file mode 100644 index c9769815..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/ErrorReport.cs +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; - -namespace Microsoft.AppCenter.Unity.Crashes -{ - public class ErrorReport - { - public ErrorReport(string id, DateTimeOffset appStartTime, DateTimeOffset appErrorTime, Models.Exception exception, Device device, string threadName) - { - Id = id; - AppStartTime = appStartTime; - AppErrorTime = appErrorTime; - Exception = exception; - Device = device; - ThreadName = threadName; - IsCrash = true; - } - - public ErrorReport(string id, DateTimeOffset appStartTime, DateTimeOffset appErrorTime, Models.Exception exception, int processId, string reporterKey, - string reporterSignal, bool isAppKill, Device device) - { - Id = id; - AppStartTime = appStartTime; - AppErrorTime = appErrorTime; - Exception = exception; - ProcessId = processId; - ReporterKey = reporterKey; - ReporterSignal = reporterSignal; - IsAppKill = isAppKill; - Device = device; - IsCrash = true; - } - - /// - /// Gets the report identifier. - /// - /// UUID for the report. - public string Id { get; private set; } - - /// - /// Gets the app start time. - /// - /// Date and time the app started - public DateTimeOffset AppStartTime { get; private set; } - - /// - /// Gets the app error time. - /// - /// Date and time the error occured - public DateTimeOffset AppErrorTime { get; private set; } - - /// - /// Gets the device that the crashed app was being run on. - /// - /// Device information at the crash time. - public Device Device { get; private set; } - - /// - /// Gets the model exception associated with the error. - /// - /// The exception. - public Models.Exception Exception { get; private set; } - - /// - /// Gets the thread name. - /// - /// The thread name. - public string ThreadName { get; private set; } - - /// - /// Gets the process identifier. - /// - /// Process Id. - public int ProcessId { get; private set; } - - /// - /// Gets the reporter key. - /// - /// Reporter Key. - public string ReporterKey { get; private set; } - - /// - /// Gets the reporter signal. - /// - /// Reporter Signal. - public string ReporterSignal { get; private set; } - - /// - /// True if the details represent an app kill instead of a crash. - /// - /// True if the details represent an app kill instead of a crash. - public bool IsAppKill { get; private set; } - - /// - /// Indicates whether this error report reprents a true app crash. - /// - /// True if the unhandled error actually resulted in app termination. - public bool IsCrash { get; internal set; } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/ErrorReport.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/ErrorReport.cs.meta deleted file mode 100644 index e330b2e2..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/ErrorReport.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: bced6ecefb6eb43a9b879a75795ac5b6 -timeCreated: 1500410905 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/Exception.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/Exception.cs deleted file mode 100644 index fc6e9583..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/Exception.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -namespace Microsoft.AppCenter.Unity.Crashes.Models -{ - public class Exception - { - public string Message { get; private set; } - public string StackTrace { get; private set; } - - public Exception(string message, string stackTrace) - { - Message = message; - StackTrace = stackTrace; - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/Exception.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/Exception.cs.meta deleted file mode 100644 index c0c4823c..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Models/Exception.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 83ddd846fbadea1458aa9f6fc7e86522 -timeCreated: 1499796418 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared.meta deleted file mode 100644 index 629f8f52..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 2436e86c33df74be3a2e9e83ce80fc51 -folderAsset: yes -timeCreated: 1512409292 -licenseType: Pro -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/Crashes.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/Crashes.cs deleted file mode 100644 index ac810f32..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/Crashes.cs +++ /dev/null @@ -1,407 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using Microsoft.AppCenter.Unity.Crashes.Internal; -using Microsoft.AppCenter.Unity.Internal.Utils; -using System; -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using System.Runtime.InteropServices; - -namespace Microsoft.AppCenter.Unity.Crashes -{ -#if UNITY_IOS || UNITY_ANDROID - using RawType = System.IntPtr; -#else - using RawType = System.Type; -#endif - - public class Crashes - { - // Used by App Center Unity Editor Extensions: https://github.com/Microsoft/AppCenter-SDK-Unity-Extension - public const string CrashesSDKVersion = "4.3.0"; - private static bool _reportUnhandledExceptions = false; - private static bool _enableErrorAttachmentsCallbacks = false; - private static readonly object _objectLock = new object(); - -#if !UNITY_WSA_10_0 - private static Queue _unhandledExceptions = new Queue(); -#endif - - public static void PrepareEventHandlers() - { - AppCenterBehavior.InitializingServices += Initialize; - AppCenterBehavior.InitializedAppCenterAndServices += HandleAppCenterInitialized; - } - - public static void Initialize() - { - CrashesDelegate.SetDelegate(); - } - - public static void AddNativeType(List nativeTypes) - { - CrashesInternal.AddNativeType(nativeTypes); - } - - public static void TrackError(Exception exception, IDictionary properties = null, params ErrorAttachmentLog[] attachments) - { - if (exception != null) - { - var exceptionWrapper = CreateWrapperException(exception); - CrashesInternal.TrackException(exceptionWrapper.GetRawObject(), properties, attachments); - } - } - - public static void OnHandleLog(string logString, string stackTrace, LogType type) - { - if (LogType.Assert == type || LogType.Exception == type || LogType.Error == type) - { - var exception = CreateWrapperException(logString, stackTrace, type); - var errorReportId = CrashesInternal.TrackException(exception.GetRawObject(), null, null); - if (_enableErrorAttachmentsCallbacks) - { - SendErrorAttachments(errorReportId); - } - } - } - -#if !UNITY_WSA_10_0 - public static void OnHandleUnresolvedException(object sender, UnhandledExceptionEventArgs args) - { - if (args == null || args.ExceptionObject == null) - { - return; - } - var exception = args.ExceptionObject as Exception; - if (exception != null) - { - Debug.Log("Unhandled exception: " + exception.ToString()); -#if UNITY_IOS && !UNITY_EDITOR - TrackErrorWithAttachments(exception); -#else - lock (_unhandledExceptions) - { - _unhandledExceptions.Enqueue(exception); - } - UnityCoroutineHelper.StartCoroutine(SendUnhandledExceptionReports); -#endif - } - } -#endif - - public static AppCenterTask GetMinidumpDirectoryAsync() - { - return CrashesInternal.GetMinidumpDirectoryAsync(); - } - - public static AppCenterTask HasReceivedMemoryWarningInLastSessionAsync() - { - return CrashesInternal.HasReceivedMemoryWarningInLastSessionAsync(); - } - - public static AppCenterTask IsEnabledAsync() - { - return CrashesInternal.IsEnabledAsync(); - } - - public static AppCenterTask SetEnabledAsync(bool enabled) - { - return CrashesInternal.SetEnabledAsync(enabled); - } - - public static void GenerateTestCrash() - { - CrashesInternal.GenerateTestCrash(); - } - - public static AppCenterTask HasCrashedInLastSessionAsync() - { - return CrashesInternal.HasCrashedInLastSessionAsync(); - } - - public static void DisableMachExceptionHandler() - { - CrashesInternal.DisableMachExceptionHandler(); - } - - public static AppCenterTask GetLastSessionCrashReportAsync() - { - return CrashesInternal.GetLastSessionCrashReportAsync(); - } - - /// - /// Report unhandled exceptions, automatically captured by Unity, as handled errors - /// - /// Specify true to enable reporting of unhandled exceptions, automatically captured by Unity, as handled errors; otherwise, false. - /// Specify true to enable a callback that gives the app an opportunity to augment crash reports with additional attachments. - public static void ReportUnhandledExceptions(bool enabled, bool enableAttachmentsCallback = false) - { - if (!enabled && enableAttachmentsCallback) - { - Debug.LogWarning("Cannot enable attachments callbacks without enabling unhandled exception reporting."); - } - else - { - _enableErrorAttachmentsCallbacks = enableAttachmentsCallback; - } - if (_reportUnhandledExceptions == enabled) - { - return; - } - _reportUnhandledExceptions = enabled; - if (enabled) - { - SubscribeToUnhandledExceptions(); - } - else - { - UnsubscribeFromUnhandledExceptions(); - } - } - - public static bool IsReportingUnhandledExceptions() - { - return _reportUnhandledExceptions; - } - -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - public delegate bool UserConfirmationHandler(); - - public static UserConfirmationHandler ShouldAwaitUserConfirmation - { - set - { - CrashesInternal.SetUserConfirmationHandler(value); - } - } - - public enum ConfirmationResult { DontSend, Send, AlwaysSend }; - - public static void NotifyUserConfirmation(ConfirmationResult answer) - { - CrashesInternal.NotifyWithUserConfirmation(answer); - } - -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - public delegate bool ShouldProcessErrorReportHandler(ErrorReport errorReport); - - public static ShouldProcessErrorReportHandler ShouldProcessErrorReport - { - set - { - CrashesDelegate.SetShouldProcessErrorReportHandler(value); - } - } - -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - public delegate ErrorAttachmentLog[] GetErrorAttachmentsHandler(ErrorReport errorReport); - - public static GetErrorAttachmentsHandler GetErrorAttachments - { - set - { - CrashesDelegate.SetGetErrorAttachmentsHandler(value); - } - } - -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - public delegate void SendingErrorReportHandler(ErrorReport errorReport); - - public static event SendingErrorReportHandler SendingErrorReport - { - add - { - lock (_objectLock) - { - CrashesDelegate.SendingErrorReport += value; - } - } - remove - { - lock (_objectLock) - { - CrashesDelegate.SendingErrorReport -= value; - } - } - } - -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - public delegate void SentErrorReportHandler(ErrorReport errorReport); - - public static event SentErrorReportHandler SentErrorReport - { - add - { - lock (_objectLock) - { - CrashesDelegate.SentErrorReport += value; - } - } - remove - { - lock (_objectLock) - { - CrashesDelegate.SentErrorReport -= value; - } - } - } - -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - public delegate void FailedToSendErrorReportHandler(ErrorReport errorReport, Models.Exception exception); - - public static event FailedToSendErrorReportHandler FailedToSendErrorReport - { - add - { - lock (_objectLock) - { - CrashesDelegate.FailedToSendErrorReport += value; - } - } - remove - { - lock (_objectLock) - { - CrashesDelegate.FailedToSendErrorReport -= value; - } - } - } - - public static void StartCrashes() - { - CrashesInternal.StartCrashes(); - } - - private static void SubscribeToUnhandledExceptions() - { -#if !UNITY_EDITOR && !UNITY_WSA_10_0 - Application.logMessageReceived += OnHandleLog; - System.AppDomain.CurrentDomain.UnhandledException += OnHandleUnresolvedException; -#endif - } - - private static void UnsubscribeFromUnhandledExceptions() - { -#if !UNITY_EDITOR && !UNITY_WSA_10_0 - Application.logMessageReceived -= OnHandleLog; - System.AppDomain.CurrentDomain.UnhandledException -= OnHandleUnresolvedException; -#endif - } - - private static void HandleAppCenterInitialized() - { - if (_reportUnhandledExceptions) - { - SubscribeToUnhandledExceptions(); - } - } - -#if !UNITY_WSA_10_0 - private static IEnumerator SendUnhandledExceptionReports() - { - yield return null; // ensure that code is executed in main thread - while (true) - { - Exception exception = null; - lock (_unhandledExceptions) - { - if (_unhandledExceptions.Count > 0) - { - exception = _unhandledExceptions.Dequeue(); - } - else - { - yield break; - } - } - if (exception != null) - { - TrackErrorWithAttachments(exception); - } - yield return null; // report remaining exceptions on next frames - } - } -#endif - - private static void TrackErrorWithAttachments(Exception exception) - { - var exceptionWrapper = CreateWrapperException(exception); - var errorId = CrashesInternal.TrackException(exceptionWrapper.GetRawObject(), null, null); - - // If the main thread is not crashed, attachments should be sent. - if (_enableErrorAttachmentsCallbacks) - { - SendErrorAttachments(errorId); - } - } - - private static WrapperException CreateWrapperException(Exception exception) - { - var exceptionWrapper = new WrapperException(); - exceptionWrapper.SetWrapperSdkName(GetExceptionWrapperSdkName()); - exceptionWrapper.SetStacktrace(exception.StackTrace); - exceptionWrapper.SetMessage(exception.Message); - exceptionWrapper.SetType(exception.GetType().ToString()); - - if (exception.InnerException != null) - { - var innerExceptionWrapper = CreateWrapperException(exception.InnerException).GetRawObject(); - exceptionWrapper.SetInnerException(innerExceptionWrapper); - } - - return exceptionWrapper; - } - - private static WrapperException CreateWrapperException(string logString, string stackTrace, LogType type) - { - var exception = new WrapperException(); - exception.SetWrapperSdkName(GetExceptionWrapperSdkName()); - - string sanitizedLogString = logString.Replace("\n", " "); - exception.SetMessage(sanitizedLogString); - exception.SetType(type.ToString()); - - string[] stacktraceLines = stackTrace.Split('\n'); - string stackTraceString = ""; - foreach (string line in stacktraceLines) - { - if (line.Length > 0) - { - stackTraceString += "at " + line + "\n"; - } - } - exception.SetStacktrace(stackTraceString); - - return exception; - } - - private static string GetExceptionWrapperSdkName() - { - //return WrapperSdk.Name; - return "appcenter.xamarin"; // fix stack traces are not showing up in the portal UI - } - - private static void SendErrorAttachments(string errorReportId) - { - // Send attachments for error report. - var errorReport = CrashesInternal.BuildHandledErrorReport(errorReportId); - errorReport.IsCrash = false; - var attachments = CrashesDelegate.GetErrorAttachmentsHandler == null ? null : CrashesDelegate.GetErrorAttachmentsHandler(errorReport); - CrashesInternal.SendErrorAttachments(errorReportId, attachments); - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/Crashes.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/Crashes.cs.meta deleted file mode 100644 index 3adb41ba..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/Crashes.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: b845273fb230f4d4087e0795f0588549 -timeCreated: 1512519361 -licenseType: Free -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/WrapperException.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/WrapperException.cs deleted file mode 100644 index f5000bbf..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/WrapperException.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using Microsoft.AppCenter.Unity.Crashes.Internal; -using System; - -namespace Microsoft.AppCenter.Unity.Crashes -{ -#if UNITY_IOS - using RawType = System.IntPtr; -#elif UNITY_ANDROID - using RawType = UnityEngine.AndroidJavaObject; -#else - using RawType = System.Object; -#endif - - public class WrapperException - { - private readonly RawType _rawObject; - - internal RawType GetRawObject() - { - return _rawObject; - } - - public WrapperException() - { - _rawObject = WrapperExceptionInternal.Create(); - } - - public void SetType(string type) - { - WrapperExceptionInternal.SetType(_rawObject, type); - } - - public void SetMessage(string message) - { - WrapperExceptionInternal.SetMessage(_rawObject, message); - } - - public void SetStacktrace(string stacktrace) - { - WrapperExceptionInternal.SetStacktrace(_rawObject, stacktrace); - } - - public void SetInnerException(RawType innerException) - { - WrapperExceptionInternal.SetInnerException(_rawObject, innerException); - } - - public void SetWrapperSdkName(string sdkName) - { - WrapperExceptionInternal.SetWrapperSdkName(_rawObject, sdkName); - } - } -} \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/WrapperException.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/WrapperException.cs.meta deleted file mode 100644 index 22f45631..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/Shared/WrapperException.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 4c021f5e331994d7993f15f25519448d -timeCreated: 1512582941 -licenseType: Free -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP.meta deleted file mode 100644 index 0cbad32b..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: b647c68cd69ba475581d0ec0af39e4ba -folderAsset: yes -timeCreated: 1512467976 -licenseType: Pro -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesDelegate.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesDelegate.cs deleted file mode 100644 index 0ae0193a..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesDelegate.cs +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR - -namespace Microsoft.AppCenter.Unity.Crashes.Internal -{ - public class CrashesDelegate - { -#pragma warning disable 0067 - public static event Crashes.SendingErrorReportHandler SendingErrorReport; - - public static event Crashes.SentErrorReportHandler SentErrorReport; - - public static event Crashes.FailedToSendErrorReportHandler FailedToSendErrorReport; -#pragma warning restore 0067 - -#pragma warning disable 0649 - internal static Crashes.GetErrorAttachmentsHandler GetErrorAttachmentsHandler; -#pragma warning restore 0649 - - public static void SetDelegate() - { - } - - public static void SetShouldProcessErrorReportHandler(Crashes.ShouldProcessErrorReportHandler handler) - { - } - - public static void SetGetErrorAttachmentsHandler(Crashes.GetErrorAttachmentsHandler handler) - { - } - - public static void SetSentErrorReportHandler(Crashes.SentErrorReportHandler handler) - { - } - - public static void SetFailedToSendErrorReportHandler(Crashes.FailedToSendErrorReportHandler handler) - { - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesDelegate.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesDelegate.cs.meta deleted file mode 100644 index a8c910d2..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesDelegate.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 58a05f18710714e42872b326eb0cfc2d -timeCreated: 1497991554 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesInternal.cs deleted file mode 100644 index f9c75f86..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesInternal.cs +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR -using Microsoft.AppCenter.Unity.Crashes.Models; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using Microsoft.AppCenter.Unity.Crashes; - -namespace Microsoft.AppCenter.Unity.Crashes.Internal -{ - class CrashesInternal - { - public static void AddNativeType(List nativeTypes) - { - } - - public static string TrackException(object exception, IDictionary properties, ErrorAttachmentLog[] attachments) - { - return ""; - } - - public static AppCenterTask HasReceivedMemoryWarningInLastSessionAsync() - { - return AppCenterTask.FromCompleted(false); - } - - public static AppCenterTask SetEnabledAsync(bool enabled) - { - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync() - { - return AppCenterTask.FromCompleted(false); - } - - public static void GenerateTestCrash() - { - } - - public static AppCenterTask HasCrashedInLastSessionAsync() - { - return AppCenterTask.FromCompleted(false); - } - - public static AppCenterTask GetLastSessionCrashReportAsync() - { - return AppCenterTask.FromCompleted(null); - } - - public static void DisableMachExceptionHandler() - { - } - - private class Crashes - { - } - - public static void SetUserConfirmationHandler(Unity.Crashes.Crashes.UserConfirmationHandler handler) - { - } - - public static void NotifyWithUserConfirmation(Unity.Crashes.Crashes.ConfirmationResult answer) - { - } - - public static void StartCrashes() - { - } - - public static ErrorReport BuildHandledErrorReport(string errorReportId) - { - return null; - } - - public static void SendErrorAttachments(string errorReportId, ErrorAttachmentLog[] attachments) - { - } - - public static AppCenterTask GetMinidumpDirectoryAsync() - { - return AppCenterTask.FromCompleted(""); - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesInternal.cs.meta deleted file mode 100644 index 01746187..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/CrashesInternal.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 6fcc6fa30cf3e4471a73d26c3405be12 -timeCreated: 1512519361 -licenseType: Pro -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/WrapperExceptionInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/WrapperExceptionInternal.cs deleted file mode 100644 index bec48a10..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/WrapperExceptionInternal.cs +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.AppCenter.Unity.Crashes.Internal -{ - class WrapperExceptionInternal - { - public static object Create() - { - return new object(); - } - - public static void SetType(object exception, string type) - { - } - - public static void SetMessage(object exception, string message) - { - } - - public static void SetStacktrace(object exception, string stacktrace) - { - } - - public static void SetInnerException(object exception, object innerException) - { - } - - public static void SetWrapperSdkName(object exception, string sdkName) - { - } - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/WrapperExceptionInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/WrapperExceptionInternal.cs.meta deleted file mode 100644 index 5eaae9ed..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/UWP/WrapperExceptionInternal.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 3e9e782b8a7114f62b08d96b94bae9bd -timeCreated: 1512582940 -licenseType: Free -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS.meta deleted file mode 100644 index 4bff6c09..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 3d0c42fb4423a4c9d9177718ffb37314 -folderAsset: yes -timeCreated: 1512409292 -licenseType: Pro -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/CrashesDelegate.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/CrashesDelegate.cs deleted file mode 100644 index 7b44979c..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/CrashesDelegate.cs +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using System; -using System.Collections.Generic; -using System.Runtime.InteropServices; -using AOT; -using Microsoft.AppCenter.Unity.Crashes; -using Microsoft.AppCenter.Unity.Internal.Utility; - -namespace Microsoft.AppCenter.Unity.Crashes.Internal -{ - public class CrashesDelegate - { - static CrashesDelegate() - { - app_center_unity_crashes_delegate_set_should_process_error_report_delegate(ShouldProcessErrorReportNativeFunc); - app_center_unity_crashes_delegate_set_get_error_attachments_delegate(GetErrorAttachmentsNativeFunc); - app_center_unity_crashes_delegate_set_sending_error_report_delegate(SendingErrorReportNativeFunc); - app_center_unity_crashes_delegate_set_sent_error_report_delegate(SentErrorReportNativeFunc); - app_center_unity_crashes_delegate_set_failed_to_send_error_report_delegate(FailedToSendErrorReportNativeFunc); - } - - public static void SetDelegate() - { - app_center_unity_crashes_set_delegate(); - } - -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - public delegate bool NativeShouldProcessErrorReportDelegate(IntPtr report); - private static Crashes.ShouldProcessErrorReportHandler shouldProcessReportHandler; - - [MonoPInvokeCallback(typeof(NativeShouldProcessErrorReportDelegate))] - public static bool ShouldProcessErrorReportNativeFunc(IntPtr report) - { - if (shouldProcessReportHandler != null) - { - ErrorReport errorReport = CrashesInternal.GetErrorReportFromIntPtr(report); - return shouldProcessReportHandler(errorReport); - } - else - { - return true; - } - } - - public static void SetShouldProcessErrorReportHandler(Crashes.ShouldProcessErrorReportHandler handler) - { - shouldProcessReportHandler = handler; - } - -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - public delegate IntPtr NativeGetErrorAttachmentsDelegate(IntPtr report); - internal static Crashes.GetErrorAttachmentsHandler GetErrorAttachmentsHandler; - - [MonoPInvokeCallback(typeof(NativeGetErrorAttachmentsDelegate))] - public static IntPtr GetErrorAttachmentsNativeFunc(IntPtr report) - { - if (GetErrorAttachmentsHandler == null) - { - return IntPtr.Zero; - } - var errorReport = CrashesInternal.GetErrorReportFromIntPtr(report); - var logs = GetErrorAttachmentsHandler(errorReport); - return NativeObjectsConverter.ToNativeAttachments(logs); - } - - public static void SetGetErrorAttachmentsHandler(Crashes.GetErrorAttachmentsHandler handler) - { - GetErrorAttachmentsHandler = handler; - } - -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - public delegate void NativeSendingErrorReportDelegate(IntPtr report); - public static event Crashes.SendingErrorReportHandler SendingErrorReport; - - [MonoPInvokeCallback(typeof(NativeSendingErrorReportDelegate))] - public static void SendingErrorReportNativeFunc(IntPtr report) - { - if (SendingErrorReport != null) - { - ErrorReport errorReport = CrashesInternal.GetErrorReportFromIntPtr(report); - SendingErrorReport(errorReport); - } - } - -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - public delegate void NativeSentErrorReportDelegate(IntPtr report); - public static event Crashes.SentErrorReportHandler SentErrorReport; - - [MonoPInvokeCallback(typeof(NativeSentErrorReportDelegate))] - public static void SentErrorReportNativeFunc(IntPtr report) - { - if (SentErrorReport != null) - { - ErrorReport errorReport = CrashesInternal.GetErrorReportFromIntPtr(report); - SentErrorReport(errorReport); - } - } - -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - public delegate void NativeFailedToSendErrorReportDelegate(IntPtr report, IntPtr error); - public static event Crashes.FailedToSendErrorReportHandler FailedToSendErrorReport; - - [MonoPInvokeCallback(typeof(NativeFailedToSendErrorReportDelegate))] - public static void FailedToSendErrorReportNativeFunc(IntPtr report, IntPtr error) - { - if (FailedToSendErrorReport != null) - { - var errorReport = CrashesInternal.GetErrorReportFromIntPtr(report); - var exception = NSErrorHelper.Convert(error); - FailedToSendErrorReport(errorReport, exception); - } - } - -#region External - - [DllImport("__Internal")] - private static extern void app_center_unity_crashes_set_delegate(); - - [DllImport("__Internal")] - private static extern void app_center_unity_crashes_delegate_set_should_process_error_report_delegate(NativeShouldProcessErrorReportDelegate functionPtr); - - [DllImport("__Internal")] - private static extern void app_center_unity_crashes_delegate_set_get_error_attachments_delegate(NativeGetErrorAttachmentsDelegate functionPtr); - - [DllImport("__Internal")] - private static extern void app_center_unity_crashes_delegate_set_sending_error_report_delegate(NativeSendingErrorReportDelegate functionPtr); - - [DllImport("__Internal")] - private static extern void app_center_unity_crashes_delegate_set_sent_error_report_delegate(NativeSentErrorReportDelegate functionPtr); - - [DllImport("__Internal")] - private static extern void app_center_unity_crashes_delegate_set_failed_to_send_error_report_delegate(NativeFailedToSendErrorReportDelegate functionPtr); - -#endregion - - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/CrashesDelegate.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/CrashesDelegate.cs.meta deleted file mode 100644 index 608d8cc5..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/CrashesDelegate.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 2513223aa4b5240f4b429182fbd581d8 -timeCreated: 1497901125 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/CrashesInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/CrashesInternal.cs deleted file mode 100644 index 1d885544..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/CrashesInternal.cs +++ /dev/null @@ -1,214 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using AOT; -using System; -using System.Linq; -using System.Collections.Generic; -using System.Runtime.InteropServices; - -namespace Microsoft.AppCenter.Unity.Crashes.Internal -{ - class CrashesInternal - { - public static void AddNativeType(List nativeTypes) - { - nativeTypes.Add(appcenter_unity_crashes_get_type()); - } - - public static string TrackException(IntPtr exception, IDictionary properties, ErrorAttachmentLog[] attachments) - { - var keys = properties == null ? null : properties.Keys.ToArray(); - var values = properties == null ? null : properties.Values.ToArray(); - var propertyCount = properties == null ? 0 : properties.Count; - var nativeAttachments = NativeObjectsConverter.ToNativeAttachments(attachments); - return appcenter_unity_crashes_track_exception_with_properties_with_attachments(exception, keys, values, propertyCount, nativeAttachments); - } - - public static AppCenterTask SetEnabledAsync(bool isEnabled) - { - appcenter_unity_crashes_set_enabled(isEnabled); - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync() - { - var isEnabled = appcenter_unity_crashes_is_enabled(); - return AppCenterTask.FromCompleted(isEnabled); - } - - public static void GenerateTestCrash() - { - appcenter_unity_crashes_generate_test_crash(); - } - - public static AppCenterTask HasCrashedInLastSessionAsync() - { - var hasCrashedInLastSession = appcenter_unity_crashes_has_crashed_in_last_session(); - return AppCenterTask.FromCompleted(hasCrashedInLastSession); - } - - public static void DisableMachExceptionHandler() - { - appcenter_unity_crashes_disable_mach_exception_handler(); - } - - public static AppCenterTask GetLastSessionCrashReportAsync() - { - var errorReportPtr = appcenter_unity_crashes_last_session_crash_report(); - var errorReport = GetErrorReportFromIntPtr(errorReportPtr); - return AppCenterTask.FromCompleted(errorReport); - } - - public static void SetUserConfirmationHandler(Crashes.UserConfirmationHandler handler) - { - appcenter_unity_crashes_set_user_confirmation_handler(handler); - } - - public static void NotifyWithUserConfirmation(Crashes.ConfirmationResult answer) - { - appcenter_unity_crashes_notify_with_user_confirmation((int)answer); - } - - public static void StartCrashes() - { - appcenter_unity_start_crashes(); - } - - public static ErrorReport GetErrorReportFromIntPtr(IntPtr errorReportPtr) - { - if (errorReportPtr == IntPtr.Zero) - { - return null; - } - var procId = app_center_unity_crashes_error_report_app_process_identifier(errorReportPtr); - var identifier = app_center_unity_crashes_error_report_incident_identifier(errorReportPtr); - var exceptionName = app_center_unity_crashes_error_report_exception_name(errorReportPtr); - var reporterKey = app_center_unity_crashes_error_report_reporter_key(errorReportPtr); - var reporterSignal = app_center_unity_crashes_error_report_signal(errorReportPtr); - var exceptionReason = app_center_unity_crashes_error_report_exception_reason(errorReportPtr); - var startTime = app_center_unity_crashes_error_report_app_start_time(errorReportPtr); - DateTimeOffset dtoStart = DateTimeOffset.UtcNow; - if (startTime != null) - { - dtoStart = DateTimeOffset.Parse(startTime); - } - var errorTime = app_center_unity_crashes_error_report_app_error_time(errorReportPtr); - DateTimeOffset dtoError = DateTimeOffset.UtcNow; - if (errorTime != null) - { - dtoError = DateTimeOffset.Parse(errorTime); - } - var isAppKill = app_center_unity_crashes_error_report_is_app_kill(errorReportPtr); - var exception = new Models.Exception(exceptionName + ": " + exceptionReason, ""); - var device = GetDevice(errorReportPtr); - return new ErrorReport(identifier, dtoStart, dtoError, exception, procId, reporterKey, reporterSignal, isAppKill, device); - } - - public static AppCenterTask GetMinidumpDirectoryAsync() - { - return AppCenterTask.FromCompleted(""); - } - - public static AppCenterTask HasReceivedMemoryWarningInLastSessionAsync() - { - var hadWarning = appcenter_unity_crashes_has_received_memory_warning_in_last_session(); - return AppCenterTask.FromCompleted(hadWarning); - } - - public static ErrorReport BuildHandledErrorReport(string errorId) - { - var nativeErrorReport = appcenter_unity_crashes_build_handled_error_report(errorId); - return GetErrorReportFromIntPtr(nativeErrorReport); - } - - public static void SendErrorAttachments(string errorReportId, ErrorAttachmentLog[] attachments) - { - var nativeAttachments = NativeObjectsConverter.ToNativeAttachments(attachments); - appcenter_unity_crashes_send_error_attachments(errorReportId, nativeAttachments); - } - - private static Device GetDevice(IntPtr errorReportPtr) - { - var device = app_center_unity_crashes_error_report_device(errorReportPtr); - return DeviceHelper.Convert(device); - } - -#region External - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_crashes_get_type(); - - [DllImport("__Internal")] - private static extern bool appcenter_unity_crashes_has_received_memory_warning_in_last_session(); - - [DllImport("__Internal")] - private static extern string appcenter_unity_crashes_track_exception_with_properties_with_attachments(IntPtr exception, string[] propertyKeys, string[] propertyValues, int propertyCount, IntPtr attachments); - - [DllImport("__Internal")] - private static extern void appcenter_unity_crashes_set_enabled(bool isEnabled); - - [DllImport("__Internal")] - private static extern bool appcenter_unity_crashes_is_enabled(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_crashes_generate_test_crash(); - - [DllImport("__Internal")] - private static extern bool appcenter_unity_crashes_has_crashed_in_last_session(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_crashes_disable_mach_exception_handler(); - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_crashes_last_session_crash_report(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_crashes_set_user_confirmation_handler(Crashes.UserConfirmationHandler handler); - - [DllImport("__Internal")] - private static extern void appcenter_unity_crashes_notify_with_user_confirmation(int code); - - [DllImport("__Internal")] - private static extern string app_center_unity_crashes_error_report_exception_name(IntPtr errorReport); - - [DllImport("__Internal")] - private static extern int app_center_unity_crashes_error_report_app_process_identifier(IntPtr errorReport); - - [DllImport("__Internal")] - private static extern string app_center_unity_crashes_error_report_incident_identifier(IntPtr errorReport); - - [DllImport("__Internal")] - private static extern string app_center_unity_crashes_error_report_reporter_key(IntPtr errorReport); - - [DllImport("__Internal")] - private static extern string app_center_unity_crashes_error_report_signal(IntPtr errorReport); - - [DllImport("__Internal")] - private static extern string app_center_unity_crashes_error_report_exception_reason(IntPtr errorReport); - - [DllImport("__Internal")] - private static extern string app_center_unity_crashes_error_report_app_start_time(IntPtr errorReport); - - [DllImport("__Internal")] - private static extern string app_center_unity_crashes_error_report_app_error_time(IntPtr errorReport); - - [DllImport("__Internal")] - private static extern bool app_center_unity_crashes_error_report_is_app_kill(IntPtr errorReport); - - [DllImport("__Internal")] - private static extern IntPtr app_center_unity_crashes_error_report_device(IntPtr errorReport); - - [DllImport("__Internal")] - private static extern void appcenter_unity_start_crashes(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_crashes_send_error_attachments(string errorReportId, IntPtr attachments); - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_crashes_build_handled_error_report(string errorId); -#endregion - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/CrashesInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/CrashesInternal.cs.meta deleted file mode 100644 index b98d178a..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/CrashesInternal.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: e4d1e0d5c8ec2496ead8e892600d04c2 -timeCreated: 1512519361 -licenseType: Pro -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/NativeObjectsConverter.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/NativeObjectsConverter.cs deleted file mode 100644 index 848859e4..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/NativeObjectsConverter.cs +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.AppCenter.Unity.Crashes.Internal -{ - public static class NativeObjectsConverter - { - public static IntPtr ToNativeAttachments(ErrorAttachmentLog[] logs) - { - if (logs == null) - { - return IntPtr.Zero; - } - var nativeArray = app_center_unity_crashes_create_error_attachments_array(logs.Length); - foreach (var errorAttachmentLog in logs) - { - if (errorAttachmentLog != null) - { - IntPtr nativeLog; - if (errorAttachmentLog.Type == ErrorAttachmentLog.AttachmentType.Text) - { - nativeLog = app_center_unity_crashes_create_error_attachment_log_text(errorAttachmentLog.Text, errorAttachmentLog.FileName); - } - else - { - nativeLog = app_center_unity_crashes_create_error_attachment_log_binary(errorAttachmentLog.Data, errorAttachmentLog.Data.Length, errorAttachmentLog.FileName, errorAttachmentLog.ContentType); - } - appcenter_unity_crashes_add_error_attachment(nativeArray, nativeLog); - } - } - return nativeArray; - } - - #region External - - [DllImport("__Internal")] - private static extern IntPtr app_center_unity_crashes_create_error_attachments_array(int capacity); - - [DllImport("__Internal")] - private static extern IntPtr app_center_unity_crashes_create_error_attachment_log_text(string text, string fileName); - - [DllImport("__Internal")] - private static extern IntPtr app_center_unity_crashes_create_error_attachment_log_binary(byte[] data, int size, string fileName, string contentType); - - [DllImport("__Internal")] - private static extern void appcenter_unity_crashes_add_error_attachment(IntPtr attachments, IntPtr attachment); - - #endregion - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/NativeObjectsConverter.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/NativeObjectsConverter.cs.meta deleted file mode 100644 index d7fbec72..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/NativeObjectsConverter.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 694cd3e96a3aa488883efce542ee8494 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/WrapperExceptionInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/WrapperExceptionInternal.cs deleted file mode 100644 index bac3c1d6..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/WrapperExceptionInternal.cs +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.AppCenter.Unity.Crashes.Internal -{ - class WrapperExceptionInternal - { - public static IntPtr Create() - { - return appcenter_unity_exception_create(); - } - - public static void SetType(IntPtr exception, string type) - { - appcenter_unity_exception_set_type(exception, type); - } - - public static void SetMessage(IntPtr exception, string message) - { - appcenter_unity_exception_set_message(exception, message); - } - - public static void SetStacktrace(IntPtr exception, string stacktrace) - { - appcenter_unity_exception_set_stacktrace(exception, stacktrace); - } - - public static void SetInnerException(IntPtr exception, IntPtr innerExcetion) - { - appcenter_unity_exception_set_inner_exception(exception, innerExcetion); - } - - public static void SetWrapperSdkName(IntPtr exception, string sdkName) - { - appcenter_unity_exception_set_wrapper_sdk_name(exception, sdkName); - } - - #region External - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_exception_create(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_exception_set_type(IntPtr exception, string type); - - [DllImport("__Internal")] - private static extern void appcenter_unity_exception_set_message(IntPtr exception, string message); - - [DllImport("__Internal")] - private static extern void appcenter_unity_exception_set_stacktrace(IntPtr exception, string stacktrace); - - [DllImport("__Internal")] - private static extern void appcenter_unity_exception_set_inner_exception(IntPtr exception, IntPtr innerExcetion); - - [DllImport("__Internal")] - private static extern void appcenter_unity_exception_set_wrapper_sdk_name(IntPtr exception, string key); - - #endregion - } -} -#endif \ No newline at end of file diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/WrapperExceptionInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/WrapperExceptionInternal.cs.meta deleted file mode 100644 index 520cc870..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Crashes/iOS/WrapperExceptionInternal.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: aa953c3d4660b4b119f048d2681fb463 -timeCreated: 1512582941 -licenseType: Free -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute.meta deleted file mode 100644 index 297403cd..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d1e287c2f4ca6864a8a169551cf487d8 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android.meta deleted file mode 100644 index c74c0c27..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 12452918d45f0491a8254ea6beaaeeaa -folderAsset: yes -timeCreated: 1499463013 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/DistributeDelegate.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/DistributeDelegate.cs deleted file mode 100644 index 2a7bec60..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/DistributeDelegate.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Distribute.Internal -{ - class DistributeDelegate : AndroidJavaProxy - { - private DistributeDelegate() : base("com.microsoft.appcenter.distribute.DistributeListener") - { - } - - public static void SetDelegate() - { - var distribute = new AndroidJavaClass("com.microsoft.appcenter.distribute.Distribute"); - distribute.CallStatic("setListener", new DistributeDelegate()); - } - - bool onReleaseAvailable(AndroidJavaObject activity, AndroidJavaObject details) - { - if (Distribute.ReleaseAvailable == null) - { - return false; - } - var releaseDetails = ReleaseDetailsHelper.ReleaseDetailsConvert(details); - return Distribute.ReleaseAvailable.Invoke(releaseDetails); - } - - void onNoReleaseAvailable(AndroidJavaObject activity) - { - if (Distribute.NoReleaseAvailable == null) - { - return; - } - Distribute.NoReleaseAvailable.Invoke(); - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/DistributeDelegate.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/DistributeDelegate.cs.meta deleted file mode 100644 index b457ee29..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/DistributeDelegate.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 5565f155f9c0341da9553fceba984a9b -timeCreated: 1499731881 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/DistributeInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/DistributeInternal.cs deleted file mode 100644 index c9db52b5..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/DistributeInternal.cs +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR -using System; -using System.Collections.Generic; -using Microsoft.AppCenter.Unity.Internal; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Distribute.Internal -{ - class DistributeInternal - { - private static AndroidJavaClass _distribute = new AndroidJavaClass("com.microsoft.appcenter.distribute.Distribute"); - - public static void PrepareEventHandlers() - { - AppCenterBehavior.InitializingServices += Initialize; - AppCenterBehavior.Started += StartBehavior; - } - - private static void Initialize() - { - DistributeDelegate.SetDelegate(); - } - - private static void StartBehavior() - { - var instance = _distribute.CallStatic("getInstance"); - AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); - AndroidJavaObject activity = unityPlayer.GetStatic("currentActivity"); - instance.Call("onActivityResumed", activity); - } - - public static AppCenterTask SetEnabledAsync(bool isEnabled) - { - var future = _distribute.CallStatic("setEnabled", isEnabled); - return new AppCenterTask(future); - } - - public static AppCenterTask IsEnabledAsync() - { - var future = _distribute.CallStatic("isEnabled"); - return new AppCenterTask(future); - } - - public static void AddNativeType(List nativeTypes) - { - nativeTypes.Add(AndroidJNI.FindClass("com/microsoft/appcenter/distribute/Distribute")); - } - - public static void SetInstallUrl(string installUrl) - { - _distribute.CallStatic("setInstallUrl", installUrl); - } - - public static void SetApiUrl(string apiUrl) - { - _distribute.CallStatic("setApiUrl", apiUrl); - } - - public static void NotifyUpdateAction(int updateAction) - { - var nativeAction = -2; - switch((UpdateAction)updateAction) { - case UpdateAction.Update: - nativeAction = -1; - break; - case UpdateAction.Postpone: - nativeAction = -2; - break; - } - _distribute.CallStatic("notifyUpdateAction", nativeAction); - } - - public static void CheckForUpdate() - { - _distribute.CallStatic("checkForUpdate"); - } - - public static void StartDistribute() - { - AppCenterInternal.Start(AppCenter.Distribute); - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/DistributeInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/DistributeInternal.cs.meta deleted file mode 100644 index 5f6c1792..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/DistributeInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c1521cae000a1431baeec88f1fc4656b -timeCreated: 1499725672 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/ReleaseDetailsHelper.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/ReleaseDetailsHelper.cs deleted file mode 100644 index 53232259..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/ReleaseDetailsHelper.cs +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_ANDROID && !UNITY_EDITOR -using System; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Distribute.Internal -{ - class ReleaseDetailsHelper - { - public static ReleaseDetails ReleaseDetailsConvert(AndroidJavaObject details) - { - var id = details.Call("getId"); - var version = details.Call("getVersion").ToString(); - var shortVersion = details.Call("getShortVersion"); - var releaseNotes = details.Call("getReleaseNotes"); - var mandatoryUpdate = details.Call("isMandatoryUpdate"); - var javaUri = details.Call("getReleaseNotesUrl"); - var uriString = javaUri.Call("toString"); - var uri = new Uri(uriString); - - return new ReleaseDetails - { - Id = id, - Version = version, - ShortVersion = shortVersion, - ReleaseNotes = releaseNotes, - MandatoryUpdate = mandatoryUpdate, - ReleaseNotesUrl = uri - }; - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/ReleaseDetailsHelper.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/ReleaseDetailsHelper.cs.meta deleted file mode 100644 index 2ea37282..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Android/ReleaseDetailsHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 1301d17c916574ed1a03ba682d73fa10 -timeCreated: 1499731881 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Blank.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Blank.meta deleted file mode 100644 index 80d6640f..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Blank.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 24aa0d1ff15d14448bbda7267480dd0f -folderAsset: yes -timeCreated: 1499465707 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Blank/DistributeInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Blank/DistributeInternal.cs deleted file mode 100644 index e33352f7..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Blank/DistributeInternal.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR - -namespace Microsoft.AppCenter.Unity.Distribute.Internal -{ - using System.Collections.Generic; -#if UNITY_IOS || UNITY_ANDROID - using RawType = System.IntPtr; -#else - using RawType = System.Type; -#endif - - class DistributeInternal - { - public static void PrepareEventHandlers() - { - } - - public static void AddNativeType(List nativeTypes) - { - } - - public static AppCenterTask SetEnabledAsync(bool enabled) - { - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync() - { - return AppCenterTask.FromCompleted(false); - } - - public static void SetInstallUrl(string installUrl) - { - } - - public static void SetApiUrl(string apiUrl) - { - } - - public static void NotifyUpdateAction(int updateAction) - { - } - - public static void StartDistribute() - { - } - - public static void CheckForUpdate() - { - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Blank/DistributeInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Blank/DistributeInternal.cs.meta deleted file mode 100644 index 9248f6c1..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Blank/DistributeInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 4ece8cf2ab2a84482ae4b62dbe028324 -timeCreated: 1499465889 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared.meta deleted file mode 100644 index 18d11bb1..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: c25d137b36c1841b6b2a732e6e8d6e6b -folderAsset: yes -timeCreated: 1503941150 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/Distribute.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/Distribute.cs deleted file mode 100644 index 9a1f5210..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/Distribute.cs +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using System.Collections.Generic; -using Microsoft.AppCenter.Unity.Distribute.Internal; - -namespace Microsoft.AppCenter.Unity.Distribute -{ -#if UNITY_IOS || UNITY_ANDROID - using RawType = System.IntPtr; -#else - using RawType = System.Type; -#endif - - public class Distribute - { - // Used by App Center Unity Editor Extensions: https://github.com/Microsoft/AppCenter-SDK-Unity-Extension - public const string DistributeSDKVersion = "4.3.0"; - - public static void PrepareEventHandlers() - { - DistributeInternal.PrepareEventHandlers(); - } - - public static void AddNativeType(List nativeTypes) - { - DistributeInternal.AddNativeType(nativeTypes); - } - - public static AppCenterTask IsEnabledAsync() - { - return DistributeInternal.IsEnabledAsync(); - } - - public static AppCenterTask SetEnabledAsync(bool enabled) - { - return DistributeInternal.SetEnabledAsync(enabled); - } - - public static void CheckForUpdate() - { - DistributeInternal.CheckForUpdate(); - } - - /// - /// Change the base URL opened in the browser to get update token from user login information. - /// - /// Install base URL. - public static void SetInstallUrl(string installUrl) - { - DistributeInternal.SetInstallUrl(installUrl); - } - - /// - /// Change the base URL used to make API calls. - /// - /// API base URL. - public static void SetApiUrl(string apiUrl) - { - DistributeInternal.SetApiUrl(apiUrl); - } - - /// - /// Sets the release available callback. - /// - /// The release available callback. - public static ReleaseAvailableCallback ReleaseAvailable - { - get; set; - } - - /// - /// Sets the app will exit callback. - /// - /// The app will exit callback. - public static WillExitAppCallback WillExitApp - { - get; set; - } - - /// - /// Sets the no release available callback. - /// - /// The no release available callback. - public static NoReleaseAvailableCallback NoReleaseAvailable - { - get; set; - } - - public static void StartDistribute() - { - DistributeInternal.StartDistribute(); - } - - /// - /// If update dialog is customized by returning true in , - /// You need to tell the distribute SDK using this function what is the user action. - /// - /// Update action. On mandatory update, you can only pass - public static void NotifyUpdateAction(UpdateAction updateAction) - { - DistributeInternal.NotifyUpdateAction((int)updateAction); - } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/Distribute.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/Distribute.cs.meta deleted file mode 100644 index 59311e6f..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/Distribute.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e80f1c986884b44879be715a6b8af353 -timeCreated: 1503941150 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/ReleaseAvailableCallback.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/ReleaseAvailableCallback.cs deleted file mode 100644 index ab8f36f5..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/ReleaseAvailableCallback.cs +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -namespace Microsoft.AppCenter.Unity.Distribute -{ - /// - /// Release available callback. - /// - public delegate bool ReleaseAvailableCallback(ReleaseDetails releaseDetails); - - /// - /// App will exit callback. - /// - public delegate void WillExitAppCallback(); - - /// - /// No Release available callback. - /// - public delegate void NoReleaseAvailableCallback(); -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/ReleaseAvailableCallback.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/ReleaseAvailableCallback.cs.meta deleted file mode 100644 index a7e7f7db..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/ReleaseAvailableCallback.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f98458dc0e38d44ee97fb5245326b20d -timeCreated: 1505175083 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/ReleaseDetails.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/ReleaseDetails.cs deleted file mode 100644 index 060e4e21..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/ReleaseDetails.cs +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; - -namespace Microsoft.AppCenter.Unity.Distribute -{ - /// - /// Release details. - /// - public class ReleaseDetails - { - internal ReleaseDetails() - { - } - - /// - /// Release identifier. - /// - /// Release identifier. - public int Id { get; internal set; } - - /// - /// Build number or version code. - /// - /// The version. - public string Version { get; internal set; } - - /// - /// Human readable version. - /// - /// The version. - public string ShortVersion { get; internal set; } - - /// - /// Release notes. - /// - /// The release notes. - public string ReleaseNotes { get; internal set; } - - /// - /// Release notes URL. - /// - /// The release notes URL. - public Uri ReleaseNotesUrl { get; internal set; } - - /// - /// Returns true if this release update is mandatory, otherwise false. - /// - /// true if mandatory update; otherwise, false. - public bool MandatoryUpdate { get; internal set; } - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/ReleaseDetails.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/ReleaseDetails.cs.meta deleted file mode 100644 index deb427f0..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/ReleaseDetails.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 3f7a6695be4af4d6ba53b3faf384d4bc -timeCreated: 1505175083 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/UpdateAction.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/UpdateAction.cs deleted file mode 100644 index c51bb89b..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/UpdateAction.cs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -namespace Microsoft.AppCenter.Unity.Distribute -{ - /// - /// User update action. - /// - public enum UpdateAction - { - /// - /// Action to trigger the download of the release. - /// - Update, - - /// - /// Action to postpone optional updates for 1 day. - /// - Postpone - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/UpdateAction.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/UpdateAction.cs.meta deleted file mode 100644 index 279f4669..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/UpdateAction.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b51f8b22ef03a4780a0d598af3edcd2a -timeCreated: 1499463000 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/UpdateTrack.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/UpdateTrack.cs deleted file mode 100644 index 18118d66..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/UpdateTrack.cs +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -namespace Microsoft.AppCenter.Unity.Distribute -{ - public enum UpdateTrack - { - /// - /// Releases from the public group that don't require authentication. - /// - Public = 1, - - /// - /// Releases from private groups that require authentication, also contain public releases. - /// - Private = 2 - } -} diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/UpdateTrack.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/UpdateTrack.cs.meta deleted file mode 100644 index 4c663d47..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/Shared/UpdateTrack.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5bfc9c7086d352f409ef43f1bbeddbd8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/UWP.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/UWP.meta deleted file mode 100644 index fdcc9d4d..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/UWP.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 88b09d17fd0344c86853703d0a605b08 -folderAsset: yes -timeCreated: 1499731881 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/UWP/DistributeInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/UWP/DistributeInternal.cs deleted file mode 100644 index da71e22d..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/UWP/DistributeInternal.cs +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_WSA_10_0 && !UNITY_EDITOR - -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Microsoft.AppCenter.Unity.Distribute.Internal -{ - class DistributeInternal - { - public static void PrepareEventHandlers() - { - } - - public static void AddNativeType(List nativeTypes) - { - } - - public static AppCenterTask SetEnabledAsync(bool isEnabled) - { - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync() - { - return AppCenterTask.FromCompleted(false); - } - - public static void SetInstallUrl(string installUrl) - { - } - - public static void SetApiUrl(string apiUrl) - { - } - - public static void NotifyUpdateAction(int updateAction) - { - } - - public static void StartDistribute() - { - } - - public static void CheckForUpdate() - { - } - - private class Distribute - { - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/UWP/DistributeInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/UWP/DistributeInternal.cs.meta deleted file mode 100644 index 542c9df9..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/UWP/DistributeInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 660527a98fa0d4e59b7dbf405bdbe77c -timeCreated: 1499731881 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS.meta deleted file mode 100644 index 78b42b2c..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 9131bc23ceae442e591db0cb1b191a3c -folderAsset: yes -timeCreated: 1499463007 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS/DistributeInternal.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS/DistributeInternal.cs deleted file mode 100644 index 4b9a3568..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS/DistributeInternal.cs +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using System; -using System.Collections.Generic; -using System.Runtime.InteropServices; -using AOT; - -namespace Microsoft.AppCenter.Unity.Distribute.Internal -{ - class DistributeInternal - { -#region Distribute delegate -#if ENABLE_IL2CPP - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] -#endif - delegate void WillExitAppDelegate(); - delegate void NoReleaseAvailableDelegate(); - delegate bool ReleaseAvailableDelegate(IntPtr details); - - static WillExitAppDelegate willExitAppDel; - static NoReleaseAvailableDelegate noReleaseDel; - static ReleaseAvailableDelegate del; - static IntPtr ptr; - - [MonoPInvokeCallback(typeof(ReleaseAvailableDelegate))] - static bool ReleaseAvailableFunc(IntPtr details) - { - if (Distribute.ReleaseAvailable == null) - { - return false; - } - var releaseDetails = ReleaseDetailsHelper.ReleaseDetailsConvert(details); - return Distribute.ReleaseAvailable.Invoke(releaseDetails); - } - - [MonoPInvokeCallback(typeof(NoReleaseAvailableDelegate))] - static void NoReleaseAvailableFunc() - { - Distribute.NoReleaseAvailable?.Invoke(); - } - - [MonoPInvokeCallback(typeof(WillExitAppDelegate))] - static void WillExitAppFunc() - { - Distribute.WillExitApp?.Invoke(); - } -#endregion - - public static void PrepareEventHandlers() - { - AppCenterBehavior.InitializingServices += Initialize; - AppCenterBehavior.Started += StartBehavior; - } - - private static void StartBehavior() - { - appcenter_unity_distribute_replay_release_available(); - } - - private static void Initialize() - { - appcenter_unity_distribute_set_delegate(); - del = ReleaseAvailableFunc; - willExitAppDel = WillExitAppFunc; - noReleaseDel = NoReleaseAvailableFunc; - appcenter_unity_distribute_set_release_available_impl(del); - appcenter_unity_distribute_set_no_release_available_impl(noReleaseDel); - appcenter_unity_distribute_set_will_exit_app_impl(willExitAppDel); - } - - public static void StartDistribute() - { - appcenter_unity_start_distribute(); - } - - public static void AddNativeType(List nativeTypes) - { - nativeTypes.Add(appcenter_unity_distribute_get_type()); - } - - public static AppCenterTask SetEnabledAsync(bool isEnabled) - { - appcenter_unity_distribute_set_enabled(isEnabled); - return AppCenterTask.FromCompleted(); - } - - public static AppCenterTask IsEnabledAsync() - { - var isEnabled = appcenter_unity_distribute_is_enabled(); - return AppCenterTask.FromCompleted(isEnabled); - } - - public static void SetInstallUrl(string installUrl) - { - appcenter_unity_distribute_set_install_url(installUrl); - } - - public static void SetApiUrl(string apiUrl) - { - appcenter_unity_distribute_set_api_url(apiUrl); - } - - public static void NotifyUpdateAction(int updateAction) - { - appcenter_unity_distribute_notify_update_action(updateAction); - } - - public static void CheckForUpdate() - { - appcenter_unity_distribute_check_for_update(); - } - -#region External - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_distribute_get_type(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_distribute_set_enabled(bool isEnabled); - - [DllImport("__Internal")] - private static extern bool appcenter_unity_distribute_is_enabled(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_distribute_set_install_url(string installUrl); - - [DllImport("__Internal")] - private static extern void appcenter_unity_distribute_set_api_url(string apiUrl); - - [DllImport("__Internal")] - private static extern void appcenter_unity_distribute_notify_update_action(int updateAction); - - [DllImport("__Internal")] - private static extern void appcenter_unity_distribute_set_release_available_impl(ReleaseAvailableDelegate functionPtr); - - [DllImport("__Internal")] - private static extern void appcenter_unity_distribute_set_will_exit_app_impl(WillExitAppDelegate functionPtr); - - [DllImport("__Internal")] - private static extern void appcenter_unity_distribute_set_no_release_available_impl(NoReleaseAvailableDelegate functionPtr); - - [DllImport("__Internal")] - private static extern void appcenter_unity_distribute_replay_release_available(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_distribute_set_delegate(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_distribute_check_for_update(); - - [DllImport("__Internal")] - private static extern void appcenter_unity_start_distribute(); - -#endregion - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS/DistributeInternal.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS/DistributeInternal.cs.meta deleted file mode 100644 index b8d43065..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS/DistributeInternal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 7f4a38be21ed54bc2906880c8e424da9 -timeCreated: 1499465694 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS/ReleaseDetailsHelper.cs b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS/ReleaseDetailsHelper.cs deleted file mode 100644 index 5ad960b0..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS/ReleaseDetailsHelper.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.AppCenter.Unity.Distribute.Internal -{ - class ReleaseDetailsHelper - { - public static ReleaseDetails ReleaseDetailsConvert(IntPtr details) - { - var id = appcenter_unity_release_details_get_id(details); - var version = appcenter_unity_release_details_get_version(details); - var shortVersion = appcenter_unity_release_details_get_short_version(details); - var releaseNotes = appcenter_unity_release_details_get_release_notes(details); - var mandatoryUpdate = appcenter_unity_release_details_get_mandatory_update(details); - var urlString = appcenter_unity_release_details_get_url(details); - var uri = new Uri(urlString); - - return new ReleaseDetails - { - Id = id, - Version = version, - ShortVersion = shortVersion, - ReleaseNotes = releaseNotes, - MandatoryUpdate = mandatoryUpdate, - ReleaseNotesUrl = uri - }; - } - -#region External - - [DllImport("__Internal")] - private static extern int appcenter_unity_release_details_get_id(IntPtr details); - - [DllImport("__Internal")] - private static extern string appcenter_unity_release_details_get_version(IntPtr details); - - [DllImport("__Internal")] - private static extern string appcenter_unity_release_details_get_short_version(IntPtr details); - - [DllImport("__Internal")] - private static extern string appcenter_unity_release_details_get_release_notes(IntPtr details); - - [DllImport("__Internal")] - private static extern bool appcenter_unity_release_details_get_mandatory_update(IntPtr details); - - [DllImport("__Internal")] - private static extern string appcenter_unity_release_details_get_url(IntPtr details); - -#endregion - } -} -#endif diff --git a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS/ReleaseDetailsHelper.cs.meta b/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS/ReleaseDetailsHelper.cs.meta deleted file mode 100644 index 1ca57225..00000000 --- a/Assets/AppCenter/Plugins/AppCenterSDK/Distribute/iOS/ReleaseDetailsHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b004972b6e2d047bd9d10090df552752 -timeCreated: 1499467878 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA.meta b/Assets/AppCenter/Plugins/WSA.meta deleted file mode 100644 index 36af834e..00000000 --- a/Assets/AppCenter/Plugins/WSA.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 83d7d2b50e7cc8f4599ac6dcf612b539 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/Analytics.meta b/Assets/AppCenter/Plugins/WSA/Analytics.meta deleted file mode 100644 index e704a5d8..00000000 --- a/Assets/AppCenter/Plugins/WSA/Analytics.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: d97b9b6ba4aec4aa6869929488f2b221 -folderAsset: yes -timeCreated: 1498152968 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/Analytics/Microsoft.AppCenter.Analytics.dll b/Assets/AppCenter/Plugins/WSA/Analytics/Microsoft.AppCenter.Analytics.dll deleted file mode 100644 index 99609e49..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/Analytics/Microsoft.AppCenter.Analytics.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/Analytics/Microsoft.AppCenter.Analytics.dll.meta b/Assets/AppCenter/Plugins/WSA/Analytics/Microsoft.AppCenter.Analytics.dll.meta deleted file mode 100644 index a10a6b53..00000000 --- a/Assets/AppCenter/Plugins/WSA/Analytics/Microsoft.AppCenter.Analytics.dll.meta +++ /dev/null @@ -1,134 +0,0 @@ -fileFormatVersion: 2 -guid: 94708bd4d18a116429306c3a651f0696 -timeCreated: 1504733013 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - data: - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - data: - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - data: - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - data: - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: AnyCPU - DontProcess: True - PlaceholderPath: - SDK: UWP - ScriptingBackend: AnyScriptingBackend - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/Core.meta b/Assets/AppCenter/Plugins/WSA/Core.meta deleted file mode 100644 index c460fab6..00000000 --- a/Assets/AppCenter/Plugins/WSA/Core.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 6e8a891e2316f4f5c90ec5a78950d9ea -folderAsset: yes -timeCreated: 1498152963 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/Core/Microsoft.AppCenter.dll b/Assets/AppCenter/Plugins/WSA/Core/Microsoft.AppCenter.dll deleted file mode 100644 index 6b4532c8..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/Core/Microsoft.AppCenter.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/Core/Microsoft.AppCenter.dll.meta b/Assets/AppCenter/Plugins/WSA/Core/Microsoft.AppCenter.dll.meta deleted file mode 100644 index ecbdf279..00000000 --- a/Assets/AppCenter/Plugins/WSA/Core/Microsoft.AppCenter.dll.meta +++ /dev/null @@ -1,134 +0,0 @@ -fileFormatVersion: 2 -guid: 697d167ebd9f21e4bbf14409bec8678a -timeCreated: 1504733014 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - data: - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - data: - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - data: - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - data: - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: AnyCPU - DontProcess: True - PlaceholderPath: - SDK: UWP - ScriptingBackend: AnyScriptingBackend - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP.meta deleted file mode 100644 index 83c07d7e..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: dd40512d1d8c74b1eb999097d012c800 -folderAsset: yes -timeCreated: 1503958091 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM.meta deleted file mode 100644 index a5a9ae81..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: a6b0d33a08076436f80b02be48758e5d -folderAsset: yes -timeCreated: 1503958092 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM/e_sqlite3.dll b/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM/e_sqlite3.dll deleted file mode 100644 index 5ec807b8..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM/e_sqlite3.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM/e_sqlite3.dll.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM/e_sqlite3.dll.meta deleted file mode 100644 index 36261acb..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM/e_sqlite3.dll.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: ff4a5d4ef85034470a9725d7d9ce1749 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude WebGL: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: ARM - DontProcess: false - PlaceholderPath: - SDK: UWP - ScriptingBackend: Il2Cpp - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM64.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM64.meta deleted file mode 100644 index 46f0039b..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM64.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 65739a0f60f614147a30dd81025d9085 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM64/e_sqlite3.dll b/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM64/e_sqlite3.dll deleted file mode 100644 index da5ef0c3..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM64/e_sqlite3.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM64/e_sqlite3.dll.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM64/e_sqlite3.dll.meta deleted file mode 100644 index b3a3ee91..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/ARM64/e_sqlite3.dll.meta +++ /dev/null @@ -1,48 +0,0 @@ -fileFormatVersion: 2 -guid: 10ac241a027ed024a9bb69dbbe156df1 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude WebGL: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - Exclude iOS: 1 - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: ARM64 - DontProcess: false - PlaceholderPath: - SDK: UWP - ScriptingBackend: Il2Cpp - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/Newtonsoft.Json.dll b/Assets/AppCenter/Plugins/WSA/IL2CPP/Newtonsoft.Json.dll deleted file mode 100644 index 5cfb306d..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/IL2CPP/Newtonsoft.Json.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/Newtonsoft.Json.dll.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/Newtonsoft.Json.dll.meta deleted file mode 100644 index bc999ef9..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/Newtonsoft.Json.dll.meta +++ /dev/null @@ -1,152 +0,0 @@ -fileFormatVersion: 2 -guid: ceb792cc7a3f14bde94b76e94463b37a -timeCreated: 1504718838 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - Exclude iOS: 1 - Exclude tvOS: 1 - data: - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - data: - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - data: - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - data: - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: AnyCPU - DontProcess: False - PlaceholderPath: - SDK: UWP - ScriptingBackend: Il2Cpp - data: - first: - iPhone: iOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - data: - first: - tvOS: tvOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.batteries_v2.dll b/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.batteries_v2.dll deleted file mode 100644 index ecded69b..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.batteries_v2.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.batteries_v2.dll.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.batteries_v2.dll.meta deleted file mode 100644 index 4f8af46a..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.batteries_v2.dll.meta +++ /dev/null @@ -1,125 +0,0 @@ -fileFormatVersion: 2 -guid: 253b65628ef724c85ad364097ef2a0e8 -timeCreated: 1504718839 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - Exclude iOS: 1 - Exclude tvOS: 1 - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: None - data: - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: None - data: - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: AnyCPU - SDK: UWP - ScriptingBackend: Il2Cpp - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.core.dll b/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.core.dll deleted file mode 100644 index 0f5d8146..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.core.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.core.dll.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.core.dll.meta deleted file mode 100644 index 5fc31bfd..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.core.dll.meta +++ /dev/null @@ -1,125 +0,0 @@ -fileFormatVersion: 2 -guid: d34b46675756c4c65b022eecdda6befb -timeCreated: 1504718839 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - Exclude iOS: 1 - Exclude tvOS: 1 - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: None - data: - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: None - data: - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: AnyCPU - SDK: UWP - ScriptingBackend: Il2Cpp - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.provider.e_sqlite3.dll b/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.provider.e_sqlite3.dll deleted file mode 100644 index 1136cc70..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.provider.e_sqlite3.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.provider.e_sqlite3.dll.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.provider.e_sqlite3.dll.meta deleted file mode 100644 index aabb0c63..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/SQLitePCLRaw.provider.e_sqlite3.dll.meta +++ /dev/null @@ -1,125 +0,0 @@ -fileFormatVersion: 2 -guid: 1423dd563ed114153904ac8756a34424 -timeCreated: 1504718839 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - Exclude iOS: 1 - Exclude tvOS: 1 - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: None - data: - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: None - data: - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: AnyCPU - SDK: UWP - ScriptingBackend: Il2Cpp - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Buffers.dll b/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Buffers.dll deleted file mode 100644 index b6d9c778..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Buffers.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Buffers.dll.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Buffers.dll.meta deleted file mode 100644 index 81400801..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Buffers.dll.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: dfb9fa1cf845a434b9b7af2fe17bb582 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude WebGL: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: AnyCPU - DontProcess: false - PlaceholderPath: - SDK: UWP - ScriptingBackend: Il2Cpp - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Memory.dll b/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Memory.dll deleted file mode 100644 index bdfc501e..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Memory.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Memory.dll.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Memory.dll.meta deleted file mode 100644 index 7ee67f88..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Memory.dll.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: 114cbff36c90cda4e97f0943f96b58a1 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude WebGL: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: AnyCPU - DontProcess: false - PlaceholderPath: - SDK: UWP - ScriptingBackend: Il2Cpp - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Runtime.CompilerServices.Unsafe.dll b/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Runtime.CompilerServices.Unsafe.dll deleted file mode 100644 index 31562392..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Runtime.CompilerServices.Unsafe.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Runtime.CompilerServices.Unsafe.dll.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Runtime.CompilerServices.Unsafe.dll.meta deleted file mode 100644 index 765a533b..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/System.Runtime.CompilerServices.Unsafe.dll.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: ba0549185900d6c428658709308b6913 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude WebGL: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: AnyCPU - DontProcess: false - PlaceholderPath: - SDK: UWP - ScriptingBackend: Il2Cpp - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/X64.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/X64.meta deleted file mode 100644 index 229e773a..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/X64.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 6da5d0d71acee4cfc83f443857ee99bb -folderAsset: yes -timeCreated: 1503958092 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/X64/e_sqlite3.dll b/Assets/AppCenter/Plugins/WSA/IL2CPP/X64/e_sqlite3.dll deleted file mode 100644 index 5bfab1f9..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/IL2CPP/X64/e_sqlite3.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/X64/e_sqlite3.dll.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/X64/e_sqlite3.dll.meta deleted file mode 100644 index 48ba23e3..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/X64/e_sqlite3.dll.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: 065388b820f65423b8cf6c242ebbe753 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude WebGL: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: X64 - DontProcess: false - PlaceholderPath: - SDK: UWP - ScriptingBackend: Il2Cpp - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/X86.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/X86.meta deleted file mode 100644 index 9c4ccc9b..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/X86.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: d530d7dd240404fb7a8d98a0847edc35 -folderAsset: yes -timeCreated: 1503958092 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/X86/e_sqlite3.dll b/Assets/AppCenter/Plugins/WSA/IL2CPP/X86/e_sqlite3.dll deleted file mode 100644 index 6c335f63..00000000 Binary files a/Assets/AppCenter/Plugins/WSA/IL2CPP/X86/e_sqlite3.dll and /dev/null differ diff --git a/Assets/AppCenter/Plugins/WSA/IL2CPP/X86/e_sqlite3.dll.meta b/Assets/AppCenter/Plugins/WSA/IL2CPP/X86/e_sqlite3.dll.meta deleted file mode 100644 index 174f2b09..00000000 --- a/Assets/AppCenter/Plugins/WSA/IL2CPP/X86/e_sqlite3.dll.meta +++ /dev/null @@ -1,117 +0,0 @@ -fileFormatVersion: 2 -guid: 164cd007a37314fd5a973e38582191be -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXUniversal: 1 - Exclude WebGL: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 0 - Exclude iOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 1 - settings: - CPU: X86 - DontProcess: false - PlaceholderPath: - SDK: UWP - ScriptingBackend: Il2Cpp - - first: - iPhone: iOS - second: - enabled: 0 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS.meta b/Assets/AppCenter/Plugins/iOS.meta deleted file mode 100644 index 78b61850..00000000 --- a/Assets/AppCenter/Plugins/iOS.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6730d8ce7c75ef14bbfd6ff2380e8d29 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics.meta b/Assets/AppCenter/Plugins/iOS/Analytics.meta deleted file mode 100644 index 587812df..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: e1cd2eab2eada4ba5a8c61e7936efb75 -folderAsset: yes -timeCreated: 1498060206 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AnalyticsUnity.h b/Assets/AppCenter/Plugins/iOS/Analytics/AnalyticsUnity.h deleted file mode 100644 index 9120bdaf..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AnalyticsUnity.h +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. -@class MSACAnalyticsTransmissionTarget; -@class MSACEventProperties; - -extern "C" void* appcenter_unity_analytics_get_type(); -extern "C" void appcenter_unity_analytics_track_event(char* eventName, int flags); -extern "C" void appcenter_unity_analytics_track_event_with_properties(char* eventName, char** keys, char** values, int count, int flags); -extern "C" void appcenter_unity_analytics_track_event_with_typed_properties(char* eventName, MSACEventProperties* properties, int flags); -extern "C" void appcenter_unity_analytics_set_enabled(bool isEnabled); -extern "C" bool appcenter_unity_analytics_is_enabled(); -extern "C" MSACAnalyticsTransmissionTarget *appcenter_unity_analytics_transmission_target_for_token(char* transmissionTargetToken); -extern "C" void appcenter_unity_analytics_pause(); -extern "C" void appcenter_unity_analytics_resume(); diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AnalyticsUnity.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AnalyticsUnity.h.meta deleted file mode 100644 index 9eb5f014..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AnalyticsUnity.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 823b802179bf34e73a8c4af069492a51 -timeCreated: 1497463489 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AnalyticsUnity.mm b/Assets/AppCenter/Plugins/iOS/Analytics/AnalyticsUnity.mm deleted file mode 100644 index 4d97072f..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AnalyticsUnity.mm +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "AnalyticsUnity.h" -#import "../Core/Utility/NSStringDictionaryHelper.h" -#import "AppCenterAnalytics/MSACAnalyticsTransmissionTarget.h" -#import -#import - -void* appcenter_unity_analytics_get_type() -{ - return (void *)CFBridgingRetain([MSACAnalytics class]); -} - -void appcenter_unity_analytics_track_event(char* eventName, int flags) -{ - [MSACAnalytics trackEvent:[NSString stringWithUTF8String:eventName] withProperties:NULL flags:flags]; -} - -void appcenter_unity_analytics_track_event_with_properties(char* eventName, char** keys, char** values, int count, int flags) -{ - NSDictionary *properties = appcenter_unity_create_ns_string_dictionary(keys, values, count); - [MSACAnalytics trackEvent:[NSString stringWithUTF8String:eventName] withProperties:properties flags:flags]; -} - -void appcenter_unity_analytics_track_event_with_typed_properties(char* eventName, MSACEventProperties* properties, int flags) -{ - [MSACAnalytics trackEvent:[NSString stringWithUTF8String:eventName] withTypedProperties:properties flags:flags]; -} - -void appcenter_unity_analytics_set_enabled(bool isEnabled) -{ - [MSACAnalytics setEnabled:isEnabled]; -} - -bool appcenter_unity_analytics_is_enabled() -{ - return [MSACAnalytics isEnabled]; -} - -MSACAnalyticsTransmissionTarget *appcenter_unity_analytics_transmission_target_for_token(char* transmissionTargetToken) { - return [MSACAnalytics transmissionTargetForToken: [NSString stringWithUTF8String:transmissionTargetToken]]; -} - -void appcenter_unity_analytics_pause() -{ - [MSACAnalytics pause]; -} - -void appcenter_unity_analytics_resume() -{ - [MSACAnalytics resume]; -} diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AnalyticsUnity.mm.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AnalyticsUnity.mm.meta deleted file mode 100644 index 9c88fc58..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AnalyticsUnity.mm.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: ec5e4839aa90b4ec58bd780f4df4ba79 -timeCreated: 1497463463 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework.meta deleted file mode 100644 index 0642eb50..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework.meta +++ /dev/null @@ -1,141 +0,0 @@ -fileFormatVersion: 2 -guid: 01273e5b6815941469a14a851d1a086f -folderAsset: yes -timeCreated: 1504718816 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 0 - Exclude tvOS: 1 - data: - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - data: - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - data: - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - data: - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: - CompileFlags: - FrameworkDependencies: - data: - first: - tvOS: tvOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/AppCenterAnalytics b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/AppCenterAnalytics deleted file mode 100644 index 69f64cfa..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/AppCenterAnalytics and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/AppCenterAnalytics.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/AppCenterAnalytics.meta deleted file mode 100644 index 30662f0a..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/AppCenterAnalytics.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d8d92c39ed6d2874bbaa8bcbb6228fc8 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers.meta deleted file mode 100644 index df737103..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7cade50e60d30634e9137e0531f5497f -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h deleted file mode 100644 index 5ab691ff..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#if __has_include() -#import -#import -#import -#import -#import -#import -#else -#import "MSACAnalytics.h" -#import "MSACAnalyticsAuthenticationProvider.h" -#import "MSACAnalyticsAuthenticationProviderDelegate.h" -#import "MSACAnalyticsTransmissionTarget.h" -#import "MSACEventLog.h" -#import "MSACEventProperties.h" -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h.meta deleted file mode 100644 index ce027b39..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/AppCenterAnalytics.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5671683276579b640b2e8a10135f3e07 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalytics.h b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalytics.h deleted file mode 100644 index ccc516e9..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalytics.h +++ /dev/null @@ -1,226 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_ANALYTICS_H -#define MSAC_ANALYTICS_H - -#if __has_include() -#import -#else -#import "MSACServiceAbstract.h" -#endif - -#if __has_include() -#import -#else -#import "MSACAnalyticsTransmissionTarget.h" -#endif - -@class MSACEventProperties; - -NS_ASSUME_NONNULL_BEGIN - -/** - * App Center analytics service. - */ -NS_SWIFT_NAME(Analytics) -@interface MSACAnalytics : MSACServiceAbstract - -/** - * Track an event. - * - * @param eventName Event name. Cannot be `nil` or empty. - * - * @discussion Validation rules apply depending on the configured secret. - * - * For App Center, the name cannot be longer than 256 and is truncated otherwise. - * - * For One Collector, the name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. - */ -+ (void)trackEvent:(NSString *)eventName; - -/** - * Track a custom event with optional string properties. - * - * @param eventName Event name. Cannot be `nil` or empty. - * @param properties Dictionary of properties. Keys and values must not be `nil`. - * - * @discussion Additional validation rules apply depending on the configured secret. - * - * For App Center: - * - * - The event name cannot be longer than 256 and is truncated otherwise. - * - * - The property names cannot be empty. - * - * - The property names and values are limited to 125 characters each (truncated). - * - * - The number of properties per event is limited to 20 (truncated). - * - * - * For One Collector: - * - * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. - * - * - The `baseData` and `baseDataType` properties are reserved and thus discarded. - * - * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. - */ -+ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; - -/** - * Track a custom event with optional string properties. - * - * @param eventName Event name. Cannot be `nil` or empty. - * @param properties Dictionary of properties. Keys and values must not be `nil`. - * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in - * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSACFlagsCritical flag. - * - * @discussion Additional validation rules apply depending on the configured secret. - * - * For App Center: - * - * - The event name cannot be longer than 256 and is truncated otherwise. - * - * - The property names cannot be empty. - * - * - The property names and values are limited to 125 characters each (truncated). - * - * - The number of properties per event is limited to 20 (truncated). - * - * - * For One Collector: - * - * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. - * - * - The `baseData` and `baseDataType` properties are reserved and thus discarded. - * - * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. - */ -+ (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; - -/** - * Track a custom event with name and optional typed properties. - * - * @param eventName Event name. - * @param properties Typed properties. - * - * @discussion The following validation rules are applied: - * - * The name cannot be null or empty. - * - * The property names or values cannot be null. - * - * Double values must be finite (NaN or Infinite values are discarded). - * - * Additional validation rules apply depending on the configured secret. - * - * - * For App Center: - * - * - The event name cannot be longer than 256 and is truncated otherwise. - * - * - The property names cannot be empty. - * - * - The property names and values are limited to 125 characters each (truncated). - * - * - The number of properties per event is limited to 20 (truncated). - * - * - * For One Collector: - * - * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. - * - * - The `baseData` and `baseDataType` properties are reserved and thus discarded. - * - * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. - */ -+ (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); - -/** - * Track a custom event with name and optional typed properties. - * - * @param eventName Event name. - * @param properties Typed properties. - * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in - * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSACFlagsCritical flag. - * - * @discussion The following validation rules are applied: - * - * The name cannot be null or empty. - * - * The property names or values cannot be null. - * - * Double values must be finite (NaN or Infinite values are discarded). - * - * Additional validation rules apply depending on the configured secret. - * - * - * For App Center: - * - * - The event name cannot be longer than 256 and is truncated otherwise. - * - * - The property names cannot be empty. - * - * - The property names and values are limited to 125 characters each (truncated). - * - * - The number of properties per event is limited to 20 (truncated). - * - * - * For One Collector: - * - * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. - * - * - The `baseData` and `baseDataType` properties are reserved and thus discarded. - * - * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. - */ -+ (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSACEventProperties *)properties - flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); - -/** - * Pause transmission of Analytics logs. While paused, Analytics logs are saved to disk. - * - * @see resume - */ -+ (void)pause; - -/** - * Resume transmission of Analytics logs. Any Analytics logs that accumulated on disk while paused are sent to the - * server. - * - * @see pause - */ -+ (void)resume; - -/** - * Get a transmission target. - * - * @param token The token of the transmission target to retrieve. - * - * @returns The transmission target object. - * - * @discussion This method does not need to be annotated with - * NS_SWIFT_NAME(transmissionTarget(forToken:)) as this is a static method that - * doesn't get translated like a setter in Swift. - * - * @see MSACAnalyticsTransmissionTarget for comparison. - */ -+ (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); - -/** - * Send time interval for non-critical logs. - * Must be between 3 seconds and 86400 seconds (1 day). - * Must be called before Analytics service start. - */ -@property(class, atomic) NSUInteger transmissionInterval; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalytics.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalytics.h.meta deleted file mode 100644 index ec7e254c..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalytics.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3473372458d99dd4380fb6fcf94bba02 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h deleted file mode 100644 index b8d6ed9e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#if __has_include() -#import -#else -#import "MSACAnalyticsAuthenticationProviderDelegate.h" -#endif - -/** - * Different authentication types, e.g. MSA Compact, MSA Delegate, AAD,... . - */ -typedef NS_ENUM(NSUInteger, MSACAnalyticsAuthenticationType) { - - /** - * AuthenticationType MSA Compact. - */ - MSACAnalyticsAuthenticationTypeMsaCompact, - - /** - * AuthenticationType MSA Delegate. - */ - MSACAnalyticsAuthenticationTypeMsaDelegate -} NS_SWIFT_NAME(AnalyticsAuthenticationType); - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AnalyticsAuthenticationProvider) -@interface MSACAnalyticsAuthenticationProvider : NSObject - -/** - * The type. - */ -@property(nonatomic, readonly, assign) MSACAnalyticsAuthenticationType type; - -/** - * The ticket key for this authentication provider. - */ -@property(nonatomic, readonly, copy) NSString *ticketKey; - -/** - * The ticket key as hash. - */ -@property(nonatomic, readonly, copy) NSString *ticketKeyHash; - -@property(nonatomic, readonly, weak) id delegate; - -/** - * Create a new authentication provider. - * - * @param type The type for the provider, e.g. MSA. - * @param ticketKey The ticket key for the provider. - * @param delegate The delegate. - * - * @return A new authentication provider. - */ -- (instancetype)initWithAuthenticationType:(MSACAnalyticsAuthenticationType)type - ticketKey:(NSString *)ticketKey - delegate:(id)delegate; - -/** - * Check expiration. - */ -- (void)checkTokenExpiry; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h.meta deleted file mode 100644 index 69953e59..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProvider.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4fa38c820b4f8344987390d4fdbc460e -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h deleted file mode 100644 index 9f7be7c6..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -@class MSACAnalyticsAuthenticationProvider; - -/** - * Completion handler that returns the authentication token and the expiry date. - */ -typedef void (^MSACAnalyticsAuthenticationProviderCompletionBlock)(NSString *token, NSDate *expiryDate) - NS_SWIFT_NAME(AnalyticsAuthenticationProviderCompletionBlock); - -NS_SWIFT_NAME(AnalyticsAuthenticationProviderDelegate) -@protocol MSACAnalyticsAuthenticationProviderDelegate - -/** - * Required method that needs to be called from within your authentication flow to provide the authentication token and expiry date. - * - * @param authenticationProvider The authentication provider. - * @param completionHandler The completion handler. - */ -- (void)authenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider - acquireTokenWithCompletionHandler:(MSACAnalyticsAuthenticationProviderCompletionBlock)completionHandler; - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h.meta deleted file mode 100644 index c3b3a26e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsAuthenticationProviderDelegate.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d008ae0697fc93244809b8e7db9306a1 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h deleted file mode 100644 index 4b735bae..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#ifndef ANALYTICS_TRANSMISSION_TARGET -#define ANALYTICS_TRANSMISSION_TARGET - -#if __has_include() -#import -#else -#import "MSACConstants+Flags.h" -#endif - -#if __has_include() -#import -#import -#else -#import "MSACAnalyticsAuthenticationProvider.h" -#import "MSACPropertyConfigurator.h" -#endif - -@class MSACEventProperties; - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(AnalyticsTransmissionTarget) -@interface MSACAnalyticsTransmissionTarget : NSObject - -/** - * Property configurator. - */ -@property(nonatomic, readonly, strong) MSACPropertyConfigurator *propertyConfigurator; - -+ (void)addAuthenticationProvider:(MSACAnalyticsAuthenticationProvider *)authenticationProvider - NS_SWIFT_NAME(addAuthenticationProvider(authenticationProvider:)); - -/** - * Track an event. - * - * @param eventName event name. - */ -- (void)trackEvent:(NSString *)eventName; - -/** - * Track an event. - * - * @param eventName event name. - * @param properties dictionary of properties. - */ -- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties; - -/** - * Track an event. - * - * @param eventName event name. - * @param properties dictionary of properties. - * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in - * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSACFlagsCritical flag. - */ -- (void)trackEvent:(NSString *)eventName withProperties:(nullable NSDictionary *)properties flags:(MSACFlags)flags; - -/** - * Track a custom event with name and optional typed properties. - * - * @param eventName Event name. - * @param properties Typed properties. - * - * @discussion The following validation rules are applied: - * - * The name cannot be null or empty. - * - * The property names or values cannot be null. - * - * Double values must be finite (NaN or Infinite values are discarded). - * - * Additional validation rules apply depending on the configured secret. - * - * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. - * - * - The `baseData` and `baseDataType` properties are reserved and thus discarded. - * - * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. - */ -- (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSACEventProperties *)properties NS_SWIFT_NAME(trackEvent(_:withProperties:)); - -/** - * Track a custom event with name and optional typed properties. - * - * @param eventName Event name. - * @param properties Typed properties. - * @param flags Optional flags. Events tracked with the MSACFlagsCritical flag will take precedence over all other events in - * storage. An event tracked with this option will only be dropped if storage must make room for a newer event that is also marked with the - * MSACFlagsCritical flag. - * - * @discussion The following validation rules are applied: - * - * The name cannot be null or empty. - * - * The property names or values cannot be null. - * - * Double values must be finite (NaN or Infinite values are discarded). - * - * Additional validation rules apply depending on the configured secret. - * - * - The event name needs to match the `[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}` regular expression. - * - * - The `baseData` and `baseDataType` properties are reserved and thus discarded. - * - * - The full event size when encoded as a JSON string cannot be larger than 1.9MB. - */ -- (void)trackEvent:(NSString *)eventName - withTypedProperties:(nullable MSACEventProperties *)properties - flags:(MSACFlags)flags NS_SWIFT_NAME(trackEvent(_:withProperties:flags:)); - -/** - * Get a nested transmission target. - * - * @param token The token of the transmission target to retrieve. - * - * @returns A transmission target object nested to this parent transmission target. - */ -- (MSACAnalyticsTransmissionTarget *)transmissionTargetForToken:(NSString *)token NS_SWIFT_NAME(transmissionTarget(forToken:)); - -/** - * The flag indicates whether or not this transmission target is enabled. Changing its state will also change states of nested transmission - * targets. - */ -@property(nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); - -/** - * Pause sending logs for the transmission target. It doesn't pause any of its decendants. - * - * @see resume - */ -- (void)pause; - -/** - * Resume sending logs for the transmission target. - * - * @see pause - */ -- (void)resume; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h.meta deleted file mode 100644 index fd9c8d19..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACAnalyticsTransmissionTarget.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e679e838621c788498b6a6921a2d1891 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACEventLog.h b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACEventLog.h deleted file mode 100644 index 21c47ee8..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACEventLog.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_EVENT_LOG_H -#define MSAC_EVENT_LOG_H - -#if __has_include() -#import -#else -#import "MSACLogWithNameAndProperties.h" -#endif - -@class MSACEventProperties; -@class MSACMetadataExtension; - -NS_SWIFT_NAME(EventLog) -@interface MSACEventLog : MSACLogWithNameAndProperties - -/** - * Unique identifier for this event. - */ -@property(nonatomic, copy) NSString *eventId; - -/** - * Event properties. - */ -@property(nonatomic, strong) MSACEventProperties *typedProperties; - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACEventLog.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACEventLog.h.meta deleted file mode 100644 index bb7a2247..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACEventLog.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0902c9e162e77da4d95ce9e7abb68d6b -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACEventProperties.h b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACEventProperties.h deleted file mode 100644 index f20b9781..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACEventProperties.h +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#ifndef EVENT_PROPERTIES -#define EVENT_PROPERTIES - -NS_ASSUME_NONNULL_BEGIN - -/** - * Contains typed event properties. - */ -NS_SWIFT_NAME(EventProperties) -@interface MSACEventProperties : NSObject - -/** - * Set a string property. - * - * @param value Property value. - * @param key Property key. - */ -- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); - -/** - * Set a double property. - * - * @param value Property value. Must be finite (`NAN` and `INFINITY` not allowed). - * @param key Property key. - */ -- (instancetype)setDouble:(double)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); - -/** - * Set a 64-bit integer property. - * - * @param value Property value. - * @param key Property key. - */ -- (instancetype)setInt64:(int64_t)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); - -/** - * Set a boolean property. - * - * @param value Property value. - * @param key Property key. - */ -- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); - -/** - * Set a date property. - * - * @param value Property value. - * @param key Property key. - */ -- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(setEventProperty(_:forKey:)); - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACEventProperties.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACEventProperties.h.meta deleted file mode 100644 index 4a23a575..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACEventProperties.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1d97250c889532742a1dc59f6bb144fe -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h deleted file mode 100644 index 81dbf77e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#ifndef MSAC_LOG_WITH_NAME_PROPERTIES_H -#define MSAC_LOG_WITH_NAME_PROPERTIES_H - -#if __has_include() -#import -#else -#import "MSACLogWithProperties.h" -#endif - -NS_SWIFT_NAME(LogWithNameAndProperties) -@interface MSACLogWithNameAndProperties : MSACLogWithProperties - -/** - * Name of the event. - */ -@property(nonatomic, copy) NSString *name; - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h.meta deleted file mode 100644 index a7bd3314..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACLogWithNameAndProperties.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bb716b435deaa234bb4eb6cd025b33f8 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h deleted file mode 100644 index 18da6726..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(PropertyConfigurator) -@interface MSACPropertyConfigurator : NSObject - -/** - * Override the application version. - * - */ -@property(nonatomic, copy) NSString *_Nullable appVersion; - -/** - * Override the application name. - * - */ -@property(nonatomic, copy) NSString *_Nullable appName; - -/** - * Override the application locale. - * - */ -@property(nonatomic, copy) NSString *_Nullable appLocale; - -/** - * User identifier. - * The identifier needs to start with c: or i: or d: or w: prefixes. - * - */ -@property(nonatomic, copy) NSString *_Nullable userId; - -/** - * Set a string event property to be attached to events tracked by this transmission target and its child transmission targets. - * - * @param propertyValue Property value. - * @param propertyKey Property key. - * - * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the - * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from - * the transmission target itself or its parents. - */ -- (void)setEventPropertyString:(NSString *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); - -/** - * Set a double event property to be attached to events tracked by this transmission target and its child transmission targets. - * - * @param propertyValue Property value. Must be finite (`NAN` and `INFINITY` not allowed). - * @param propertyKey Property key. - * - * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the - * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from - * the transmission target itself or its parents. - */ -- (void)setEventPropertyDouble:(double)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); - -/** - * Set a 64-bit integer event property to be attached to events tracked by this transmission target and its child transmission targets. - * - * @param propertyValue Property value. - * @param propertyKey Property key. - * - * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the - * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from - * the transmission target itself or its parents. - */ -- (void)setEventPropertyInt64:(int64_t)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); - -/** - * Set a boolean event property to be attached to events tracked by this transmission target and its child transmission targets. - * - * @param propertyValue Property value. - * @param propertyKey Property key. - * - * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the - * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from - * the transmission target itself or its parents. - */ -- (void)setEventPropertyBool:(BOOL)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); - -/** - * Set a date event property to be attached to events tracked by this transmission target and its child transmission targets. - * - * @param propertyValue Property value. - * @param propertyKey Property key. - * - * @discussion A property set in a child transmission target overrides a property with the same key inherited from its parents. Also, the - * properties passed to the `trackEvent:withProperties:` or `trackEvent:withTypedProperties:` override any property with the same key from - * the transmission target itself or its parents. - */ -- (void)setEventPropertyDate:(NSDate *)propertyValue forKey:(NSString *)propertyKey NS_SWIFT_NAME(setEventProperty(_:forKey:)); - -/** - * Remove an event property from this transmission target. - * - * @param propertyKey Property key. - * - * @discussion This won't remove properties with the same name declared in other nested transmission targets. - */ -- (void)removeEventPropertyForKey:(NSString *)propertyKey NS_SWIFT_NAME(removeEventProperty(forKey:)); - -/** - * Once called, the App Center SDK will automatically add UIDevice.identifierForVendor to common schema logs. - * - * @discussion Call this before starting the SDK. This setting is not persisted, so you need to call this when setting up the SDK every - * time. If you want to provide a way for users to opt-in or opt-out of this setting, it is on you to persist their choice and configure the - * App Center SDK accordingly. - */ -- (void)collectDeviceId; - -NS_ASSUME_NONNULL_END - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h.meta deleted file mode 100644 index c2c5be22..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Headers/MSACPropertyConfigurator.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 581ad62ec224e1d46aaadab82594a86d -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Info.plist b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Info.plist deleted file mode 100644 index 1b414092..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Info.plist and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Info.plist.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Info.plist.meta deleted file mode 100644 index 71c65b3c..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Info.plist.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6c8f51f1638667e4692b42add0000832 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Modules.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Modules.meta deleted file mode 100644 index dac67f99..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Modules.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4f47cef2ad03b5e41a058289bbd14d0f -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Modules/module.modulemap b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Modules/module.modulemap deleted file mode 100644 index ea370ea5..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Modules/module.modulemap +++ /dev/null @@ -1,9 +0,0 @@ -framework module AppCenterAnalytics { - umbrella header "AppCenterAnalytics.h" - - export * - module * { export * } - - link framework "Foundation" - link framework "UIKit" -} diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Modules/module.modulemap.meta b/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Modules/module.modulemap.meta deleted file mode 100644 index f532faaf..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/AppCenterAnalytics.framework/Modules/module.modulemap.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4e2e82330586b4248abbc582f821018a -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/EventProperties.h b/Assets/AppCenter/Plugins/iOS/Analytics/EventProperties.h deleted file mode 100644 index b8e5c488..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/EventProperties.h +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -@class MSACEventProperties; - -extern "C" void* appcenter_unity_analytics_create_event_properties(); -extern "C" void appcenter_unity_analytics_event_properties_set_string(MSACEventProperties *properties, char* key, char* value); -extern "C" void appcenter_unity_analytics_event_properties_set_long(MSACEventProperties *properties, char* key, long value); -extern "C" void appcenter_unity_analytics_event_properties_set_double(MSACEventProperties *properties, char* key, double value); -extern "C" void appcenter_unity_analytics_event_properties_set_bool(MSACEventProperties *properties, char* key, BOOL value); -extern "C" void appcenter_unity_analytics_event_properties_set_date(MSACEventProperties *properties, char* key, NSDate* value); diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/EventProperties.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/EventProperties.h.meta deleted file mode 100644 index c3379479..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/EventProperties.h.meta +++ /dev/null @@ -1,24 +0,0 @@ -fileFormatVersion: 2 -guid: f0b3627d2041e4d7cbcce23973265495 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/EventProperties.mm b/Assets/AppCenter/Plugins/iOS/Analytics/EventProperties.mm deleted file mode 100644 index 549c0f02..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/EventProperties.mm +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "EventProperties.h" -#import "AppCenterAnalytics/MSACEventProperties.h" -#import "../Core/Utility/NSDateHelper.h" - -void* appcenter_unity_analytics_create_event_properties() { - return (void *)CFBridgingRetain([[MSACEventProperties alloc] init]); -} - -void appcenter_unity_analytics_event_properties_set_string(MSACEventProperties *properties, char* key, char* val) { - [properties setString:[NSString stringWithUTF8String:val] forKey:[NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_analytics_event_properties_set_long(MSACEventProperties *properties, char* key, long val) { - [properties setInt64:val forKey:[NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_analytics_event_properties_set_double(MSACEventProperties *properties, char* key, double val) { - [properties setDouble:val forKey:[NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_analytics_event_properties_set_bool(MSACEventProperties *properties, char* key, BOOL val) { - [properties setBool:val forKey:[NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_analytics_event_properties_set_date(MSACEventProperties *properties, char* key, NSDate* val) { - [properties setDate:val forKey:[NSString stringWithUTF8String:key]]; -} diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/EventProperties.mm.meta b/Assets/AppCenter/Plugins/iOS/Analytics/EventProperties.mm.meta deleted file mode 100644 index 461b8e11..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/EventProperties.mm.meta +++ /dev/null @@ -1,34 +0,0 @@ -fileFormatVersion: 2 -guid: 8fd6bd9f1854544168e917be8b9b629d -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - - first: - tvOS: tvOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/PropertyConfigurator.h b/Assets/AppCenter/Plugins/iOS/Analytics/PropertyConfigurator.h deleted file mode 100644 index 4e60e5f9..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/PropertyConfigurator.h +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -@class MSACPropertyConfigurator; - -extern "C" void appcenter_unity_property_configurator_set_app_name(MSACPropertyConfigurator *configurator, char* appName); -extern "C" void appcenter_unity_property_configurator_set_user_id(MSACPropertyConfigurator *configurator, char* userId); -extern "C" void appcenter_unity_property_configurator_set_app_version(MSACPropertyConfigurator *configurator, char* appVersion); -extern "C" void appcenter_unity_property_configurator_set_app_locale(MSACPropertyConfigurator *configurator, char* appLocale); -extern "C" void appcenter_unity_property_configurator_collect_device_id(MSACPropertyConfigurator *configurator); -extern "C" void appcenter_unity_property_configurator_set_event_property(MSACPropertyConfigurator *configurator, char* key, char* value); -extern "C" void appcenter_unity_property_configurator_set_event_datetime_property(MSACPropertyConfigurator *configurator, char* key, NSDate* value); -extern "C" void appcenter_unity_property_configurator_set_event_long_property(MSACPropertyConfigurator *configurator, char* key, long value); -extern "C" void appcenter_unity_property_configurator_set_event_double_property(MSACPropertyConfigurator *configurator, char* key, double value); -extern "C" void appcenter_unity_property_configurator_set_event_bool_property(MSACPropertyConfigurator *configurator, char* key, bool value); -extern "C" void appcenter_unity_property_configurator_remove_event_property(MSACPropertyConfigurator *configurator, char* key); diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/PropertyConfigurator.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/PropertyConfigurator.h.meta deleted file mode 100644 index e644812b..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/PropertyConfigurator.h.meta +++ /dev/null @@ -1,24 +0,0 @@ -fileFormatVersion: 2 -guid: ff4aa16e3073345a89fc2bfb9b9209c8 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/PropertyConfigurator.mm b/Assets/AppCenter/Plugins/iOS/Analytics/PropertyConfigurator.mm deleted file mode 100644 index aedeb9d6..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/PropertyConfigurator.mm +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "PropertyConfigurator.h" -#import "AppCenterAnalytics/MSACPropertyConfigurator.h" -#import "../Core/Utility/NSStringHelper.h" -#import "../Core/Utility/NSStringDictionaryHelper.h" - -void appcenter_unity_property_configurator_set_app_name(MSACPropertyConfigurator *configurator, char* appName) { - [configurator setAppName: appcenter_unity_cstr_to_ns_string(appName)]; -} - -void appcenter_unity_property_configurator_set_user_id(MSACPropertyConfigurator *configurator, char* userId) { - [configurator setUserId: appcenter_unity_cstr_to_ns_string(userId)]; -} - -void appcenter_unity_property_configurator_set_app_version(MSACPropertyConfigurator *configurator, char* appVersion) { - [configurator setAppVersion: appcenter_unity_cstr_to_ns_string(appVersion)]; -} - -void appcenter_unity_property_configurator_set_app_locale(MSACPropertyConfigurator *configurator, char* appLocale) { - [configurator setAppLocale: appcenter_unity_cstr_to_ns_string(appLocale)]; -} - -void appcenter_unity_property_configurator_collect_device_id(MSACPropertyConfigurator *configurator) { - [configurator collectDeviceId]; -} - -void appcenter_unity_property_configurator_set_event_property(MSACPropertyConfigurator *configurator, char* key, char* value) { - [configurator setEventPropertyString: [NSString stringWithUTF8String:value] forKey: [NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_property_configurator_set_event_long_property(MSACPropertyConfigurator *configurator, char* key, long value) { - [configurator setEventPropertyInt64:value forKey: [NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_property_configurator_set_event_double_property(MSACPropertyConfigurator *configurator, char* key, double value) { - [configurator setEventPropertyDouble:value forKey: [NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_property_configurator_set_event_bool_property(MSACPropertyConfigurator *configurator, char* key, bool value) { - [configurator setEventPropertyBool:value forKey: [NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_property_configurator_set_event_datetime_property(MSACPropertyConfigurator *configurator, char* key, NSDate* value) { - [configurator setEventPropertyDate:value forKey: [NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_property_configurator_remove_event_property(MSACPropertyConfigurator *configurator, char* key) { - [configurator removeEventPropertyForKey: [NSString stringWithUTF8String:key]]; -} diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/PropertyConfigurator.mm.meta b/Assets/AppCenter/Plugins/iOS/Analytics/PropertyConfigurator.mm.meta deleted file mode 100644 index f4e4a4d5..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/PropertyConfigurator.mm.meta +++ /dev/null @@ -1,34 +0,0 @@ -fileFormatVersion: 2 -guid: 0d4638790df50445699ec091b3b3dc19 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - - first: - tvOS: tvOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/TransmissionTarget.h b/Assets/AppCenter/Plugins/iOS/Analytics/TransmissionTarget.h deleted file mode 100644 index 9e97faf5..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/TransmissionTarget.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import - -@class MSACAnalyticsTransmissionTarget; -@class MSACPropertyConfigurator; -@class MSACEventProperties; - -extern "C" void appcenter_unity_transmission_target_track_event(MSACAnalyticsTransmissionTarget *transmission, char* eventName, int flags); -extern "C" void appcenter_unity_transmission_target_set_enabled(MSACAnalyticsTransmissionTarget *transmission, BOOL enabled); -extern "C" BOOL appcenter_unity_transmission_target_is_enabled(MSACAnalyticsTransmissionTarget *transmission); -extern "C" void appcenter_unity_transmission_target_track_event_with_props(MSACAnalyticsTransmissionTarget *transmission, char* eventName, char** keys, char** values, int count, int flags); -extern "C" void appcenter_unity_transmission_target_track_event_with_typed_props(MSACAnalyticsTransmissionTarget *transmission, char* eventName, MSACEventProperties* properties, int flags); -extern "C" MSACAnalyticsTransmissionTarget *appcenter_unity_transmission_transmission_target_for_token(MSACAnalyticsTransmissionTarget *transmissionParent, char* transmissionTargetToken); -extern "C" MSACPropertyConfigurator *appcenter_unity_transmission_get_property_configurator(MSACAnalyticsTransmissionTarget *transmission); -extern "C" void appcenter_unity_transmission_pause(MSACAnalyticsTransmissionTarget *transmission); -extern "C" void appcenter_unity_transmission_resume(MSACAnalyticsTransmissionTarget *transmission); - - diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/TransmissionTarget.h.meta b/Assets/AppCenter/Plugins/iOS/Analytics/TransmissionTarget.h.meta deleted file mode 100644 index 8e37b258..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/TransmissionTarget.h.meta +++ /dev/null @@ -1,24 +0,0 @@ -fileFormatVersion: 2 -guid: 49b44566d6998432b8c7b76272ae2f85 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/TransmissionTarget.mm b/Assets/AppCenter/Plugins/iOS/Analytics/TransmissionTarget.mm deleted file mode 100644 index 01709f13..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/TransmissionTarget.mm +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "TransmissionTarget.h" -#import "AppCenterAnalytics/MSACAnalyticsTransmissionTarget.h" -#import "AppCenterAnalytics/MSACPropertyConfigurator.h" -#import "../Core/Utility/NSStringDictionaryHelper.h" - -void appcenter_unity_transmission_target_track_event(MSACAnalyticsTransmissionTarget *transmission, char* eventName, int flags) { - [transmission trackEvent:[NSString stringWithUTF8String:eventName] withProperties:NULL flags:flags]; -} - -void appcenter_unity_transmission_target_track_event_with_props(MSACAnalyticsTransmissionTarget *transmission, char* eventName, char** keys, char** values, int count, int flags) { - NSDictionary *properties = appcenter_unity_create_ns_string_dictionary(keys, values, count); - [transmission trackEvent:[NSString stringWithUTF8String:eventName] withProperties: properties flags:flags]; -} - -void appcenter_unity_transmission_target_track_event_with_typed_props(MSACAnalyticsTransmissionTarget *transmission, char* eventName, MSACEventProperties* properties, int flags) { - [transmission trackEvent: [NSString stringWithUTF8String:eventName] withTypedProperties:properties flags:flags]; -} - -void appcenter_unity_transmission_target_set_enabled(MSACAnalyticsTransmissionTarget *transmission, BOOL enabled) { - [transmission setEnabled: enabled]; -} - -BOOL appcenter_unity_transmission_target_is_enabled(MSACAnalyticsTransmissionTarget *transmission) { - return [transmission isEnabled]; -} - -MSACAnalyticsTransmissionTarget *appcenter_unity_transmission_transmission_target_for_token(MSACAnalyticsTransmissionTarget *transmissionParent, char* transmissionTargetToken) { - return [transmissionParent transmissionTargetForToken: [NSString stringWithUTF8String:transmissionTargetToken]]; -} - -MSACPropertyConfigurator *appcenter_unity_transmission_get_property_configurator(MSACAnalyticsTransmissionTarget *transmission) { - return [transmission propertyConfigurator]; -} - -void appcenter_unity_transmission_pause(MSACAnalyticsTransmissionTarget *transmission) -{ - [transmission pause]; -} - -void appcenter_unity_transmission_resume(MSACAnalyticsTransmissionTarget *transmission) -{ - [transmission resume]; -} diff --git a/Assets/AppCenter/Plugins/iOS/Analytics/TransmissionTarget.mm.meta b/Assets/AppCenter/Plugins/iOS/Analytics/TransmissionTarget.mm.meta deleted file mode 100644 index 3dada4e6..00000000 --- a/Assets/AppCenter/Plugins/iOS/Analytics/TransmissionTarget.mm.meta +++ /dev/null @@ -1,34 +0,0 @@ -fileFormatVersion: 2 -guid: 5d1d93c1fa55346b5a911a45646c9795 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - - first: - tvOS: tvOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core.meta b/Assets/AppCenter/Plugins/iOS/Core.meta deleted file mode 100644 index 637e647b..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: caf6d21aeae2a415fa74bef339878f2e -folderAsset: yes -timeCreated: 1498060186 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework.meta deleted file mode 100644 index add14c5b..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework.meta +++ /dev/null @@ -1,140 +0,0 @@ -fileFormatVersion: 2 -guid: 4d7f499ac3ac1457ab2825691b1e86ff -folderAsset: yes -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude WebGL: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude WindowsStoreApps: 1 - Exclude iOS: 0 - Exclude tvOS: 1 - - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 0 - settings: - CPU: AnyCPU - DontProcess: false - PlaceholderPath: - SDK: AnySDK - ScriptingBackend: AnyScriptingBackend - - first: - iPhone: iOS - second: - enabled: 1 - settings: - AddToEmbeddedBinaries: false - CompileFlags: - FrameworkDependencies: CoreTelephony; - - first: - tvOS: tvOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/AppCenter b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/AppCenter deleted file mode 100644 index 4f2afd11..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/AppCenter and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/AppCenter.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/AppCenter.meta deleted file mode 100644 index 074cee30..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/AppCenter.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 63aaab9aaf628e244ae90893c4033933 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers.meta deleted file mode 100644 index b9f98b0f..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e873f826ffc8503449715ca3c1678105 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/AppCenter.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/AppCenter.h deleted file mode 100644 index 617ff109..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/AppCenter.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#if __has_include() -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#else -#import "MSACAbstractLog.h" -#import "MSACAppCenter.h" -#import "MSACAppCenterErrors.h" -#import "MSACChannelGroupProtocol.h" -#import "MSACChannelProtocol.h" -#import "MSACConstants+Flags.h" -#import "MSACConstants.h" -#import "MSACCustomProperties.h" -#import "MSACDevice.h" -#import "MSACEnable.h" -#import "MSACLog.h" -#import "MSACLogWithProperties.h" -#import "MSACLogger.h" -#import "MSACSerializableObject.h" -#import "MSACService.h" -#import "MSACServiceAbstract.h" -#import "MSACWrapperLogger.h" -#import "MSACWrapperSdk.h" -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/AppCenter.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/AppCenter.h.meta deleted file mode 100644 index 60849346..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/AppCenter.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5afde213a96bedc408ef9ca393f75c40 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAbstractLog.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAbstractLog.h deleted file mode 100644 index 2d6db269..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAbstractLog.h +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_ABSTRACT_LOG_H -#define MSAC_ABSTRACT_LOG_H - -#import - -NS_SWIFT_NAME(AbstractLog) -@interface MSACAbstractLog : NSObject - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAbstractLog.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAbstractLog.h.meta deleted file mode 100644 index f4e40e64..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAbstractLog.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d269040c8d236c94493aa6c0fa69c34b -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAppCenter.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAppCenter.h deleted file mode 100644 index 4e4f689e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAppCenter.h +++ /dev/null @@ -1,203 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#ifndef MSAC_APP_CENTER -#define MSAC_APP_CENTER - -#if __has_include() -#import -#else -#import "MSACConstants.h" -#endif - -@class MSACWrapperSdk; - -#if !TARGET_OS_TV -@class MSACCustomProperties; -#endif - -NS_SWIFT_NAME(AppCenter) -@interface MSACAppCenter : NSObject - -/** - * Returns the singleton instance of MSACAppCenter. - */ -+ (instancetype)sharedInstance; - -/** - * Configure the SDK with an application secret. - * - * @param appSecret A unique and secret key used to identify the application. - * - * @discussion This may be called only once per application process lifetime. - */ -+ (void)configureWithAppSecret:(NSString *)appSecret NS_SWIFT_NAME(configure(withAppSecret:)); - -/** - * Configure the SDK. - * - * @discussion This may be called only once per application process lifetime. - */ -+ (void)configure; - -/** - * Configure the SDK with an application secret and an array of services to start. - * - * @param appSecret A unique and secret key used to identify the application. - * @param services Array of services to start. - * - * @discussion This may be called only once per application process lifetime. - */ -+ (void)start:(NSString *)appSecret withServices:(NSArray *)services NS_SWIFT_NAME(start(withAppSecret:services:)); - -/** - * Start the SDK with an array of services. - * - * @param services Array of services to start. - * - * @discussion This may be called only once per application process lifetime. - */ -+ (void)startWithServices:(NSArray *)services NS_SWIFT_NAME(start(services:)); - -/** - * Start a service. - * - * @param service A service to start. - * - * @discussion This may be called only once per service per application process lifetime. - */ -+ (void)startService:(Class)service; - -/** - * Configure the SDK with an array of services to start from a library. This will not start the service at application level, it will enable - * the service only for the library. - * - * @param services Array of services to start. - */ -+ (void)startFromLibraryWithServices:(NSArray *)services NS_SWIFT_NAME(startFromLibrary(services:)); - -/** - * The flag indicates whether the SDK has already been configured or not. - */ -@property(class, atomic, readonly, getter=isConfigured) BOOL configured; - -/** - * The flag indicates whether app is running in App Center Test Cloud. - */ -@property(class, atomic, readonly, getter=isRunningInAppCenterTestCloud) BOOL runningInAppCenterTestCloud; - -/** - * The flag indicates whether or not the SDK was enabled as a whole - * - * The state is persisted in the device's storage across application launches. - */ -@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); - -/** - * Flag indicating whether SDK can send network requests. - * - * The state is persisted in the device's storage across application launches. - */ -@property(class, nonatomic, getter=isNetworkRequestsAllowed, setter=setNetworkRequestsAllowed:) - BOOL networkRequestsAllowed NS_SWIFT_NAME(networkRequestsAllowed); - -/** - * The SDK's log level. - */ -@property(class, nonatomic) MSACLogLevel logLevel; - -/** - * Base URL to use for backend communication. - */ -@property(class, nonatomic, strong) NSString *logUrl; - -/** - * Set log handler. - */ -@property(class, nonatomic) MSACLogHandler logHandler; - -/** - * Set wrapper SDK information to use when building device properties. This is intended in case you are building a SDK that uses the App - * Center SDK under the hood, e.g. our Xamarin SDK or ReactNative SDk. - */ -@property(class, nonatomic, strong) MSACWrapperSdk *wrapperSdk; - -#if !TARGET_OS_TV -/** - * Set the custom properties. - * - * @param customProperties Custom properties object. - */ -+ (void)setCustomProperties:(MSACCustomProperties *)customProperties; -#endif - -/** - * Check whether the application delegate forwarder is enabled or not. - * - * @discussion The application delegate forwarder forwards messages that target your application delegate methods via swizzling to the SDK. - * It simplifies the SDK integration but may not be suitable to any situations. For - * instance it should be disabled if you or one of your third party SDK is doing message forwarding on the application delegate. Message - * forwarding usually implies the implementation of @see NSObject#forwardingTargetForSelector: or @see NSObject#forwardInvocation: methods. - * To disable the application delegate forwarder just add the `AppCenterAppDelegateForwarderEnabled` tag to your Info .plist file and set it - * to `0`. Then you will have to forward any application delegate needed by the SDK manually. - */ -@property(class, readonly, nonatomic, getter=isAppDelegateForwarderEnabled) BOOL appDelegateForwarderEnabled; - -/** - * Unique installation identifier. - * - */ -@property(class, readonly, nonatomic) NSUUID *installId; - -/** - * Detect if a debugger is attached to the app process. This is only invoked once on app startup and can not detect - * if the debugger is being attached during runtime! - * - */ -@property(class, readonly, nonatomic, getter=isDebuggerAttached) BOOL debuggerAttached; - -/** - * Current version of AppCenter SDK. - * - */ -@property(class, readonly, nonatomic) NSString *sdkVersion; - -/** - * Set the maximum size of the internal storage. This method must be called before App Center is started. This method is only intended for - * applications. - * - * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size - * (default is 4096 bytes). Values below 20,480 bytes (20 KiB) will be ignored. - * - * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size - * is successful, and `NO` otherwise. This parameter can be null. - * - * @discussion This only sets the maximum size of the database, but App Center modules might store additional data. - * The value passed to this method is not persisted on disk. The default maximum database size is 10485760 bytes (10 MiB). - */ -+ (void)setMaxStorageSize:(long)sizeInBytes completionHandler:(void (^)(BOOL))completionHandler; - -/** - * Set the user identifier. - * - * @discussion Set the user identifier for logs sent for the default target token when the secret passed in @c - * MSACAppCenter:start:withServices: contains "target={targetToken}". - * - * For App Center backend the user identifier maximum length is 256 characters. - * - * AppCenter must be configured or started before this API can be used. - */ -@property(class, nonatomic, strong) NSString *userId; - -/** - * Set country code to use when building device properties. - * - * @see https://www.iso.org/obp/ui/#search for more information. - */ -@property(class, nonatomic, strong) NSString *countryCode; - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAppCenter.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAppCenter.h.meta deleted file mode 100644 index 2c5069c7..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAppCenter.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d6c0b87fe2f081c4085d18397fe5e706 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAppCenterErrors.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAppCenterErrors.h deleted file mode 100644 index 8e77d77c..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAppCenterErrors.h +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_APP_CENTER_ERRORS_H -#define MSAC_APP_CENTER_ERRORS_H - -#import - -#define MSAC_APP_CENTER_BASE_DOMAIN @"com.Microsoft.AppCenter." - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - Domain - -static NSString *const kMSACACErrorDomain = MSAC_APP_CENTER_BASE_DOMAIN @"ErrorDomain"; - -#pragma mark - General - -// Error codes. -NS_ENUM(NSInteger){MSACACLogInvalidContainerErrorCode = 1, MSACACCanceledErrorCode = 2, MSACACDisabledErrorCode = 3}; - -// Error descriptions. -static NSString const *kMSACACLogInvalidContainerErrorDesc = @"Invalid log container."; -static NSString const *kMSACACCanceledErrorDesc = @"The operation was canceled."; -static NSString const *kMSACACDisabledErrorDesc = @"The service is disabled."; - -#pragma mark - Connection - -// Error codes. -NS_ENUM(NSInteger){MSACACConnectionPausedErrorCode = 100, MSACACConnectionHttpErrorCode = 101}; - -// Error descriptions. -static NSString const *kMSACACConnectionHttpErrorDesc = @"An HTTP error occured."; -static NSString const *kMSACACConnectionPausedErrorDesc = @"Canceled, connection paused with log deletion."; - -// Error user info keys. -static NSString const *kMSACACConnectionHttpCodeErrorKey = @"MSConnectionHttpCode"; - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAppCenterErrors.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAppCenterErrors.h.meta deleted file mode 100644 index 6838223f..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACAppCenterErrors.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2e2ffb05ce25fa74c844373a605ebe88 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACChannelGroupProtocol.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACChannelGroupProtocol.h deleted file mode 100644 index 2d621d85..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACChannelGroupProtocol.h +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_CHANNEL_GROUP_PROTOCOL_H -#define MSAC_CHANNEL_GROUP_PROTOCOL_H - -#import - -#if __has_include() -#import -#else -#import "MSACChannelProtocol.h" -#endif - -NS_ASSUME_NONNULL_BEGIN - -@class MSACChannelUnitConfiguration; - -@protocol MSACIngestionProtocol; -@protocol MSACChannelUnitProtocol; - -/** - * `MSACChannelGroupProtocol` represents a kind of channel that contains constituent MSACChannelUnit objects. When an operation from the - * `MSACChannelProtocol` is performed on the group, that operation should be propagated to its constituent MSACChannelUnit objects. - */ -NS_SWIFT_NAME(ChannelGroupProtocol) -@protocol MSACChannelGroupProtocol - -/** - * Initialize a channel unit with the given configuration. - * - * @param configuration channel configuration. - * - * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. - */ -- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration - NS_SWIFT_NAME(addChannelUnit(withConfiguration:)); - -/** - * Initialize a channel unit with the given configuration. - * - * @param configuration channel configuration. - * @param ingestion The alternative ingestion object - * - * @return The added `MSACChannelUnitProtocol`. Use this object to enqueue logs. - */ -- (id)addChannelUnitWithConfiguration:(MSACChannelUnitConfiguration *)configuration - withIngestion:(nullable id)ingestion - NS_SWIFT_NAME(addChannelUnit(_:ingestion:)); - -/** - * Change the base URL (schema + authority + port only) used to communicate with the backend. - */ -@property(nonatomic, strong) NSString *_Nullable logUrl; - -/** - * Set the app secret. - */ -@property(nonatomic, strong) NSString *_Nullable appSecret; - -/** - * Set the maximum size of the internal storage. This method must be called before App Center is started. - * - * @discussion The default maximum database size is 10485760 bytes (10 MiB). - * - * @param sizeInBytes Maximum size of the internal storage in bytes. This will be rounded up to the nearest multiple of a SQLite page size - * (default is 4096 bytes). Values below 24576 bytes (24 KiB) will be ignored. - * @param completionHandler Callback that is invoked when the database size has been set. The `BOOL` parameter is `YES` if changing the size - * is successful, and `NO` otherwise. - */ -- (void)setMaxStorageSize:(long)sizeInBytes - completionHandler:(nullable void (^)(BOOL))completionHandler NS_SWIFT_NAME(setMaxStorageSize(_:completionHandler:)); - -/** - * Return a channel unit instance for the given groupId. - * - * @param groupId The group ID for a channel unit. - * - * @return A channel unit instance or `nil`. - */ -- (nullable id)channelUnitForGroupId:(NSString *)groupId; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACChannelGroupProtocol.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACChannelGroupProtocol.h.meta deleted file mode 100644 index 30b11554..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACChannelGroupProtocol.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 59b4c9ccf873ec14aac775ea6355576b -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACChannelProtocol.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACChannelProtocol.h deleted file mode 100644 index 09fcb7d0..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACChannelProtocol.h +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_CHANNEL_PROTOCOL_H -#define MSAC_CHANNEL_PROTOCOL_H - -#import - -#if __has_include() -#import -#else -#import "MSACEnable.h" -#endif - -NS_ASSUME_NONNULL_BEGIN - -@protocol MSACChannelDelegate; - -/** - * `MSACChannelProtocol` contains the essential operations of a channel. Channels are broadly responsible for enqueuing logs to be sent to - * the backend and/or stored on disk. - */ -NS_SWIFT_NAME(ChannelProtocol) -@protocol MSACChannelProtocol - -/** - * Add delegate. - * - * @param delegate delegate. - */ -- (void)addDelegate:(id)delegate; - -/** - * Remove delegate. - * - * @param delegate delegate. - */ -- (void)removeDelegate:(id)delegate; - -/** - * Pause operations, logs will be stored but not sent. - * - * @param identifyingObject Object used to identify the pause request. - * - * @discussion A paused channel doesn't forward logs to the ingestion. The identifying object used to pause the channel can be any unique - * object. The same identifying object must be used to call resume. For simplicity if the caller is the one owning the channel then @c self - * can be used as identifying object. - * - * @see resumeWithIdentifyingObject: - */ -- (void)pauseWithIdentifyingObject:(id)identifyingObject; - -/** - * Resume operations, logs can be sent again. - * - * @param identifyingObject Object used to passed to the pause method. - * - * @discussion The channel only resume when all the outstanding identifying objects have been resumed. - * - * @see pauseWithIdentifyingObject: - */ -- (void)resumeWithIdentifyingObject:(id)identifyingObject; - -@end - -NS_ASSUME_NONNULL_END - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACChannelProtocol.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACChannelProtocol.h.meta deleted file mode 100644 index 8f42f89e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACChannelProtocol.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5c86ac1e5f839b34e9fea988dde215ab -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACConstants+Flags.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACConstants+Flags.h deleted file mode 100644 index 5408e550..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACConstants+Flags.h +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_CONSTANTS_FLAGS_H -#define MSAC_CONSTANTS_FLAGS_H - -#import - -typedef NS_OPTIONS(NSUInteger, MSACFlags) { - MSACFlagsNone = (0 << 0), // => 00000000 - MSACFlagsNormal = (1 << 0), // => 00000001 - MSACFlagsCritical = (1 << 1), // => 00000010 - MSACFlagsPersistenceNormal DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsNormal") = MSACFlagsNormal, - MSACFlagsPersistenceCritical DEPRECATED_MSG_ATTRIBUTE("please use MSACFlagsCritical") = MSACFlagsCritical, - MSACFlagsDefault = MSACFlagsNormal -} NS_SWIFT_NAME(Flags); - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACConstants+Flags.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACConstants+Flags.h.meta deleted file mode 100644 index b4477c9d..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACConstants+Flags.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 691d011af5ecef846b0bf1232358d6fd -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACConstants.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACConstants.h deleted file mode 100644 index 545e9ea7..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACConstants.h +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -/** - * Log Levels - */ -typedef NS_ENUM(NSUInteger, MSACLogLevel) { - - /** - * Logging will be very chatty - */ - MSACLogLevelVerbose = 2, - - /** - * Debug information will be logged - */ - MSACLogLevelDebug = 3, - - /** - * Information will be logged - */ - MSACLogLevelInfo = 4, - - /** - * Errors and warnings will be logged - */ - MSACLogLevelWarning = 5, - - /** - * Errors will be logged - */ - MSACLogLevelError = 6, - - /** - * Only critical errors will be logged - */ - MSACLogLevelAssert = 7, - - /** - * Logging is disabled - */ - MSACLogLevelNone = 99 -} NS_SWIFT_NAME(LogLevel); - -typedef NSString * (^MSACLogMessageProvider)(void)NS_SWIFT_NAME(LogMessageProvider); -typedef void (^MSACLogHandler)(MSACLogMessageProvider messageProvider, MSACLogLevel logLevel, NSString *tag, const char *file, - const char *function, uint line) NS_SWIFT_NAME(LogHandler); - -/** - * Channel priorities, check the kMSACPriorityCount if you add a new value. - * The order matters here! Values NEED to range from low priority to high priority. - */ -typedef NS_ENUM(NSInteger, MSACPriority) { MSACPriorityBackground, MSACPriorityDefault, MSACPriorityHigh } NS_SWIFT_NAME(Priority); -static short const kMSACPriorityCount = MSACPriorityHigh + 1; - -/** - * The priority by which the modules are initialized. - * MSACPriorityMax is reserved for only 1 module and this needs to be Crashes. - * Crashes needs to be initialized first to catch crashes in our other SDK Modules (which will hopefully never happen) and to avoid losing - * any log at crash time. - */ -typedef NS_ENUM(NSInteger, MSACInitializationPriority) { - MSACInitializationPriorityDefault = 500, - MSACInitializationPriorityHigh = 750, - MSACInitializationPriorityMax = 999 -} NS_SWIFT_NAME(InitializationPriority); - -/** - * Enum with the different HTTP status codes. - */ -typedef NS_ENUM(NSInteger, MSACHTTPCodesNo) { - - // Invalid - MSACHTTPCodesNo0XXInvalidUnknown = 0, - - // Informational - MSACHTTPCodesNo1XXInformationalUnknown = 1, - MSACHTTPCodesNo100Continue = 100, - MSACHTTPCodesNo101SwitchingProtocols = 101, - MSACHTTPCodesNo102Processing = 102, - - // Success - MSACHTTPCodesNo2XXSuccessUnknown = 2, - MSACHTTPCodesNo200OK = 200, - MSACHTTPCodesNo201Created = 201, - MSACHTTPCodesNo202Accepted = 202, - MSACHTTPCodesNo203NonAuthoritativeInformation = 203, - MSACHTTPCodesNo204NoContent = 204, - MSACHTTPCodesNo205ResetContent = 205, - MSACHTTPCodesNo206PartialContent = 206, - MSACHTTPCodesNo207MultiStatus = 207, - MSACHTTPCodesNo208AlreadyReported = 208, - MSACHTTPCodesNo209IMUsed = 209, - - // Redirection - MSACHTTPCodesNo3XXSuccessUnknown = 3, - MSACHTTPCodesNo300MultipleChoices = 300, - MSACHTTPCodesNo301MovedPermanently = 301, - MSACHTTPCodesNo302Found = 302, - MSACHTTPCodesNo303SeeOther = 303, - MSACHTTPCodesNo304NotModified = 304, - MSACHTTPCodesNo305UseProxy = 305, - MSACHTTPCodesNo306SwitchProxy = 306, - MSACHTTPCodesNo307TemporaryRedirect = 307, - MSACHTTPCodesNo308PermanentRedirect = 308, - - // Client error - MSACHTTPCodesNo4XXSuccessUnknown = 4, - MSACHTTPCodesNo400BadRequest = 400, - MSACHTTPCodesNo401Unauthorised = 401, - MSACHTTPCodesNo402PaymentRequired = 402, - MSACHTTPCodesNo403Forbidden = 403, - MSACHTTPCodesNo404NotFound = 404, - MSACHTTPCodesNo405MethodNotAllowed = 405, - MSACHTTPCodesNo406NotAcceptable = 406, - MSACHTTPCodesNo407ProxyAuthenticationRequired = 407, - MSACHTTPCodesNo408RequestTimeout = 408, - MSACHTTPCodesNo409Conflict = 409, - MSACHTTPCodesNo410Gone = 410, - MSACHTTPCodesNo411LengthRequired = 411, - MSACHTTPCodesNo412PreconditionFailed = 412, - MSACHTTPCodesNo413RequestEntityTooLarge = 413, - MSACHTTPCodesNo414RequestURITooLong = 414, - MSACHTTPCodesNo415UnsupportedMediaType = 415, - MSACHTTPCodesNo416RequestedRangeNotSatisfiable = 416, - MSACHTTPCodesNo417ExpectationFailed = 417, - MSACHTTPCodesNo418IamATeapot = 418, - MSACHTTPCodesNo419AuthenticationTimeout = 419, - MSACHTTPCodesNo420MethodFailureSpringFramework = 420, - MSACHTTPCodesNo420EnhanceYourCalmTwitter = 4200, - MSACHTTPCodesNo422UnprocessableEntity = 422, - MSACHTTPCodesNo423Locked = 423, - MSACHTTPCodesNo424FailedDependency = 424, - MSACHTTPCodesNo424MethodFailureWebDaw = 4240, - MSACHTTPCodesNo425UnorderedCollection = 425, - MSACHTTPCodesNo426UpgradeRequired = 426, - MSACHTTPCodesNo428PreconditionRequired = 428, - MSACHTTPCodesNo429TooManyRequests = 429, - MSACHTTPCodesNo431RequestHeaderFieldsTooLarge = 431, - MSACHTTPCodesNo444NoResponseNginx = 444, - MSACHTTPCodesNo449RetryWithMicrosoft = 449, - MSACHTTPCodesNo450BlockedByWindowsParentalControls = 450, - MSACHTTPCodesNo451RedirectMicrosoft = 451, - MSACHTTPCodesNo451UnavailableForLegalReasons = 4510, - MSACHTTPCodesNo494RequestHeaderTooLargeNginx = 494, - MSACHTTPCodesNo495CertErrorNginx = 495, - MSACHTTPCodesNo496NoCertNginx = 496, - MSACHTTPCodesNo497HTTPToHTTPSNginx = 497, - MSACHTTPCodesNo499ClientClosedRequestNginx = 499, - - // Server error - MSACHTTPCodesNo5XXSuccessUnknown = 5, - MSACHTTPCodesNo500InternalServerError = 500, - MSACHTTPCodesNo501NotImplemented = 501, - MSACHTTPCodesNo502BadGateway = 502, - MSACHTTPCodesNo503ServiceUnavailable = 503, - MSACHTTPCodesNo504GatewayTimeout = 504, - MSACHTTPCodesNo505HTTPVersionNotSupported = 505, - MSACHTTPCodesNo506VariantAlsoNegotiates = 506, - MSACHTTPCodesNo507InsufficientStorage = 507, - MSACHTTPCodesNo508LoopDetected = 508, - MSACHTTPCodesNo509BandwidthLimitExceeded = 509, - MSACHTTPCodesNo510NotExtended = 510, - MSACHTTPCodesNo511NetworkAuthenticationRequired = 511, - MSACHTTPCodesNo522ConnectionTimedOut = 522, - MSACHTTPCodesNo598NetworkReadTimeoutErrorUnknown = 598, - MSACHTTPCodesNo599NetworkConnectTimeoutErrorUnknown = 599 -} NS_SWIFT_NAME(HTTPCodesNo); diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACConstants.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACConstants.h.meta deleted file mode 100644 index ffcaf016..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACConstants.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 27edcc9a07a43ae4b968db5628d0d85e -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACCustomProperties.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACCustomProperties.h deleted file mode 100644 index 28f1cf77..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACCustomProperties.h +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_CUSTOM_PROPERTIES_H -#define MSAC_CUSTOM_PROPERTIES_H - -#import - -/** - * Custom properties builder. - * Collects multiple properties to send in one log. - */ -NS_SWIFT_NAME(CustomProperties) -@interface MSACCustomProperties : NSObject - -/** - * Set the specified property value with the specified key. - * If the properties previously contained a property for the key, the old value is replaced. - * - * @param key Key with which the specified value is to be set. - * @param value Value to be set with the specified key. - * - * @return This instance. - */ -- (instancetype)setString:(NSString *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); - -/** - * Set the specified property value with the specified key. - * If the properties previously contained a property for the key, the old value is replaced. - * - * @param key Key with which the specified value is to be set. - * @param value Value to be set with the specified key. - * - * @return This instance. - */ -- (instancetype)setNumber:(NSNumber *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); - -/** - * Set the specified property value with the specified key. - * If the properties previously contained a property for the key, the old value is replaced. - * - * @param key Key with which the specified value is to be set. - * @param value Value to be set with the specified key. - * - * @return This instance. - */ -- (instancetype)setBool:(BOOL)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); - -/** - * Set the specified property value with the specified key. - * If the properties previously contained a property for the key, the old value is replaced. - * - * @param key Key with which the specified value is to be set. - * @param value Value to be set with the specified key. - * - * @return This instance. - */ -- (instancetype)setDate:(NSDate *)value forKey:(NSString *)key NS_SWIFT_NAME(set(_:forKey:)); - -/** - * Clear the property for the specified key. - * - * @param key Key whose mapping is to be cleared. - * - * @return This instance. - */ -- (instancetype)clearPropertyForKey:(NSString *)key NS_SWIFT_NAME(clearProperty(forKey:)); - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACCustomProperties.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACCustomProperties.h.meta deleted file mode 100644 index 7db01a93..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACCustomProperties.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 007c15081409d7c4fb501d43d9c2b5ec -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACDevice.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACDevice.h deleted file mode 100644 index b8fd18d7..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACDevice.h +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_DEVICE_H -#define MSAC_DEVICE_H - -#import - -#if __has_include() -#import -#else -#import "MSACWrapperSdk.h" -#endif - -NS_SWIFT_NAME(Device) -@interface MSACDevice : MSACWrapperSdk - -/* - * Name of the SDK. Consists of the name of the SDK and the platform, e.g. "appcenter.ios", "appcenter.android" - */ -@property(nonatomic, copy, readonly) NSString *sdkName; - -/* - * Version of the SDK in semver format, e.g. "1.2.0" or "0.12.3-alpha.1". - */ -@property(nonatomic, copy, readonly) NSString *sdkVersion; - -/* - * Device model (example: iPad2,3). - */ -@property(nonatomic, copy, readonly) NSString *model; - -/* - * Device manufacturer (example: HTC). - */ -@property(nonatomic, copy, readonly) NSString *oemName; - -/* - * OS name (example: iOS). - */ -@property(nonatomic, copy, readonly) NSString *osName; - -/* - * OS version (example: 9.3.0). - */ -@property(nonatomic, copy, readonly) NSString *osVersion; - -/* - * OS build code (example: LMY47X). [optional] - */ -@property(nonatomic, copy, readonly) NSString *osBuild; - -/* - * API level when applicable like in Android (example: 15). [optional] - */ -@property(nonatomic, copy, readonly) NSNumber *osApiLevel; - -/* - * Language code (example: en_US). - */ -@property(nonatomic, copy, readonly) NSString *locale; - -/* - * The offset in minutes from UTC for the device time zone, including daylight savings time. - */ -@property(nonatomic, readonly, strong) NSNumber *timeZoneOffset; - -/* - * Screen size of the device in pixels (example: 640x480). - */ -@property(nonatomic, copy, readonly) NSString *screenSize; - -/* - * Application version name, e.g. 1.1.0 - */ -@property(nonatomic, copy, readonly) NSString *appVersion; - -/* - * Carrier name (for mobile devices). [optional] - */ -@property(nonatomic, copy, readonly) NSString *carrierName; - -/* - * Carrier country code (for mobile devices). [optional] - */ -@property(nonatomic, copy, readonly) NSString *carrierCountry; - -/* - * The app's build number, e.g. 42. - */ -@property(nonatomic, copy, readonly) NSString *appBuild; - -/* - * The bundle identifier, package identifier, or namespace, depending on what the individual plattforms use, .e.g com.microsoft.example. - * [optional] - */ -@property(nonatomic, copy, readonly) NSString *appNamespace; - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACDevice.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACDevice.h.meta deleted file mode 100644 index acd37816..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACDevice.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c6090d5dc8899f94f9c57d8de12daf8d -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACEnable.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACEnable.h deleted file mode 100644 index 3feff5b5..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACEnable.h +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_ENABLE_H -#define MSAC_ENABLE_H - -#import - -/** - * Protocol to define an instance that can be enabled/disabled. - */ -NS_SWIFT_NAME(Enable) -@protocol MSACEnable - -@required - -/** - * Enable/disable this instance and delete data on disabled state. - * - * @param isEnabled A boolean value set to YES to enable the instance or NO to disable it. - * @param deleteData A boolean value set to YES to delete data or NO to keep it. - */ -- (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData NS_SWIFT_NAME(setEnabled(_:deleteDataOnDisabled:)); - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACEnable.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACEnable.h.meta deleted file mode 100644 index 9ac44dcc..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACEnable.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2b55eaf557924204490676d9e484d033 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLog.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLog.h deleted file mode 100644 index d46b377f..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLog.h +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_LOG_H -#define MSAC_LOG_H - -#import - -@class MSACDevice; - -NS_SWIFT_NAME(Log) -@protocol MSACLog - -/** - * Log type. - */ -@property(nonatomic, copy) NSString *type; - -/** - * Log timestamp. - */ -@property(nonatomic, strong) NSDate *timestamp; - -/** - * A session identifier is used to correlate logs together. A session is an abstract concept in the API and is not necessarily an analytics - * session, it can be used to only track crashes. - */ -@property(nonatomic, copy) NSString *sid; - -/** - * Optional distribution group ID value. - */ -@property(nonatomic, copy) NSString *distributionGroupId; - -/** - * Optional user identifier. - */ -@property(nonatomic, copy) NSString *userId; - -/** - * Device properties associated to this log. - */ -@property(nonatomic, strong) MSACDevice *device; - -/** - * Transient object tag. For example, a log can be tagged with a transmission target. We do this currently to prevent properties being - * applied retroactively to previous logs by comparing their tags. - */ -@property(nonatomic, strong) NSObject *tag; - -/** - * Checks if the object's values are valid. - * - * @return YES, if the object is valid. - */ -- (BOOL)isValid; - -/** - * Adds a transmission target token that this log should be sent to. - * - * @param token The transmission target token. - */ -- (void)addTransmissionTargetToken:(NSString *)token; - -/** - * Gets all transmission target tokens that this log should be sent to. - * - * @returns Collection of transmission target tokens that this log should be sent to. - */ -- (NSSet *)transmissionTargetTokens; - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLog.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLog.h.meta deleted file mode 100644 index c32cdbbf..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLog.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 71933501f40dc174dbb1452394fe4238 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLogWithProperties.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLogWithProperties.h deleted file mode 100644 index 12af6c40..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLogWithProperties.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_LOG_WITH_PROPERTIES_H -#define MSAC_LOG_WITH_PROPERTIES_H - -#import - -#if __has_include() -#import -#else -#import "MSACAbstractLog.h" -#endif - -NS_SWIFT_NAME(LogWithProperties) -@interface MSACLogWithProperties : MSACAbstractLog - -/** - * Additional key/value pair parameters. [optional] - */ -@property(nonatomic, strong) NSDictionary *properties; - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLogWithProperties.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLogWithProperties.h.meta deleted file mode 100644 index 198c6180..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLogWithProperties.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 75a4cb55a13d80944b5d9ccf48da66da -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLogger.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLogger.h deleted file mode 100644 index bb4b4136..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLogger.h +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#ifndef MSAC_LOGGER -#define MSAC_LOGGER - -#if __has_include() -#import -#else -#import "MSACConstants.h" -#endif - -#define MSACLog(_level, _tag, _message) \ - [MSACLogger logMessage:_message level:_level tag:_tag file:__FILE__ function:__PRETTY_FUNCTION__ line:__LINE__] -#define MSACLogAssert(tag, format, ...) \ - MSACLog(MSACLogLevelAssert, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSACLogError(tag, format, ...) \ - MSACLog(MSACLogLevelError, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSACLogWarning(tag, format, ...) \ - MSACLog(MSACLogLevelWarning, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSACLogInfo(tag, format, ...) \ - MSACLog(MSACLogLevelInfo, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSACLogDebug(tag, format, ...) \ - MSACLog(MSACLogLevelDebug, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) -#define MSACLogVerbose(tag, format, ...) \ - MSACLog(MSACLogLevelVerbose, tag, (^{ \ - return [NSString stringWithFormat:(format), ##__VA_ARGS__]; \ - })) - -NS_SWIFT_NAME(Logger) -@interface MSACLogger : NSObject - -+ (void)logMessage:(MSACLogMessageProvider)messageProvider - level:(MSACLogLevel)loglevel - tag:(NSString *)tag - file:(const char *)file - function:(const char *)function - line:(uint)line; - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLogger.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLogger.h.meta deleted file mode 100644 index 80e17f5e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACLogger.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: dee347580c3ddf3438c1171ab7ec0aa0 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACSerializableObject.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACSerializableObject.h deleted file mode 100644 index 600308cb..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACSerializableObject.h +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#ifndef SERIALIZABLE_OBJECT_H -#define SERIALIZABLE_OBJECT_H - -@protocol MSACSerializableObject - -/** - * Serialize this object to a dictionary. - * - * @return A dictionary representing this object. - */ -- (NSMutableDictionary *)serializeToDictionary; - -@end -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACSerializableObject.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACSerializableObject.h.meta deleted file mode 100644 index d8a9f40b..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACSerializableObject.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4371122c1e116b444bdf89da9b5afdc9 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACService.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACService.h deleted file mode 100644 index b9fafff9..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACService.h +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_SERVICE_H -#define MSAC_SERVICE_H - -#import - -/** - * Protocol declaring service logic. - */ -NS_SWIFT_NAME(Service) -@protocol MSACService - -/** - * Indicates whether this service is enabled. - * The state is persisted in the device's storage across application launches. - */ -@property(class, nonatomic, getter=isEnabled, setter=setEnabled:) BOOL enabled NS_SWIFT_NAME(enabled); - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACService.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACService.h.meta deleted file mode 100644 index eb430c6b..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACService.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9c65525e380edab4490d6a46aee7c981 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACServiceAbstract.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACServiceAbstract.h deleted file mode 100644 index ad7a2ef3..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACServiceAbstract.h +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_SERVICE_ABSTRACT_H -#define MSAC_SERVICE_ABSTRACT_H - -#import - -#if __has_include() -#import -#else -#import "MSACService.h" -#endif - -@protocol MSACChannelGroupProtocol; - -/** - * Abstraction of services common logic. - * This class is intended to be subclassed only not instantiated directly. - */ -NS_SWIFT_NAME(ServiceAbstract) -@interface MSACServiceAbstract : NSObject - -/** - * The flag indicates whether the service is started from application or not. - */ -@property(nonatomic, assign) BOOL startedFromApplication; - -/** - * Start this service with a channel group. Also sets the flag that indicates that a service has been started. - * - * @param channelGroup channel group used to persist and send logs. - * @param appSecret app secret for the SDK. - * @param token default transmission target token for this service. - * @param fromApplication indicates whether the service started from an application or not. - */ -- (void)startWithChannelGroup:(id)channelGroup - appSecret:(NSString *)appSecret - transmissionTargetToken:(NSString *)token - fromApplication:(BOOL)fromApplication; - -/** - * Update configuration when the service requires to start again. This method should only be called if the service is started from libraries - * and then is being started from an application. - * - * @param appSecret app secret for the SDK. - * @param token default transmission target token for this service. - */ -- (void)updateConfigurationWithAppSecret:(NSString *)appSecret transmissionTargetToken:(NSString *)token; - -/** - * The flag indicate whether the service needs the application secret or not. - */ -@property(atomic, readonly) BOOL isAppSecretRequired; - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACServiceAbstract.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACServiceAbstract.h.meta deleted file mode 100644 index 932de702..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACServiceAbstract.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f5909332c1126f14fad70da5caf8d496 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACWrapperLogger.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACWrapperLogger.h deleted file mode 100644 index 79a14622..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACWrapperLogger.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#if __has_include() -#import -#else -#import "MSACConstants.h" -#endif - -/** - * This is a utility for producing App Center style log messages. It is only intended for use by App Center services and wrapper SDKs of App - * Center. - */ -NS_SWIFT_NAME(WrapperLogger) -@interface MSACWrapperLogger : NSObject - -+ (void)MSACWrapperLog:(MSACLogMessageProvider)message tag:(NSString *)tag level:(MSACLogLevel)level; - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACWrapperLogger.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACWrapperLogger.h.meta deleted file mode 100644 index 56f69f40..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACWrapperLogger.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b03b11801281aa24e922bbbb46ff78fa -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACWrapperSdk.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACWrapperSdk.h deleted file mode 100644 index 20410721..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACWrapperSdk.h +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#ifndef MSAC_WRAPPER_SDK_H -#define MSAC_WRAPPER_SDK_H - -#import - -NS_SWIFT_NAME(WrapperSdk) -@interface MSACWrapperSdk : NSObject - -/* - * Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific - * version is populated into this field while sdkVersion refers to the original Android SDK. [optional] - */ -@property(nonatomic, copy, readonly) NSString *wrapperSdkVersion; - -/* - * Name of the wrapper SDK (examples: Xamarin, Cordova). [optional] - */ -@property(nonatomic, copy, readonly) NSString *wrapperSdkName; - -/* - * Version of the wrapper technology framework (Xamarin runtime version or ReactNative or Cordova etc...). [optional] - */ -@property(nonatomic, copy, readonly) NSString *wrapperRuntimeVersion; - -/* - * Label that is used to identify application code 'version' released via Live Update beacon running on device. - */ -@property(nonatomic, copy, readonly) NSString *liveUpdateReleaseLabel; - -/* - * Identifier of environment that current application release belongs to, deployment key then maps to environment like Production, Staging. - */ -@property(nonatomic, copy, readonly) NSString *liveUpdateDeploymentKey; - -/* - * Hash of all files (ReactNative or Cordova) deployed to device via LiveUpdate beacon. Helps identify the Release version on device or need - * to download updates in future - */ -@property(nonatomic, copy, readonly) NSString *liveUpdatePackageHash; - -- (instancetype)initWithWrapperSdkVersion:(NSString *)wrapperSdkVersion - wrapperSdkName:(NSString *)wrapperSdkName - wrapperRuntimeVersion:(NSString *)wrapperRuntimeVersion - liveUpdateReleaseLabel:(NSString *)liveUpdateReleaseLabel - liveUpdateDeploymentKey:(NSString *)liveUpdateDeploymentKey - liveUpdatePackageHash:(NSString *)liveUpdatePackageHash; - -/** - * Checks if the object's values are valid. - * - * @return YES, if the object is valid. - */ -- (BOOL)isValid; - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACWrapperSdk.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACWrapperSdk.h.meta deleted file mode 100644 index f6ee31f9..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Headers/MSACWrapperSdk.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1d5d8ceddea113a43bacc8e2f7886c39 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Info.plist b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Info.plist deleted file mode 100644 index 05059ef6..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Info.plist and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Info.plist.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Info.plist.meta deleted file mode 100644 index 7b16fb35..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Info.plist.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bfefdac84f20eff42a420ca79913b106 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Modules.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Modules.meta deleted file mode 100644 index 6f52ba68..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Modules.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 41af84fa5b977164488a92e63716da66 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Modules/module.modulemap b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Modules/module.modulemap deleted file mode 100644 index f15d734d..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Modules/module.modulemap +++ /dev/null @@ -1,13 +0,0 @@ -framework module AppCenter { - umbrella header "AppCenter.h" - - export * - module * { export * } - - link framework "Foundation" - link framework "CoreTelephony" - link framework "SystemConfiguration" - link framework "UIKit" - link "sqlite3" - link "z" -} diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Modules/module.modulemap.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Modules/module.modulemap.meta deleted file mode 100644 index 4514bfb7..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/Modules/module.modulemap.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5da2ec48007613d4990bbb90acdc0914 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/PrivateHeaders.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/PrivateHeaders.meta deleted file mode 100644 index 773f3ee9..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/PrivateHeaders.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 748066203d70bfc4aafc78f80d8a18a0 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h deleted file mode 100644 index 0702176e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#import "MSACConstants+Flags.h" - -@protocol MSACChannelUnitProtocol; -@protocol MSACChannelGroupProtocol; -@protocol MSACChannelProtocol; -@protocol MSACLog; - -NS_ASSUME_NONNULL_BEGIN - -@protocol MSACChannelDelegate - -@optional - -/** - * A callback that is called when a channel unit is added to the channel group. - * - * @param channelGroup The channel group. - * @param channel The newly added channel. - */ -- (void)channelGroup:(id)channelGroup didAddChannelUnit:(id)channel; - -/** - * A callback that is called when a log is just enqueued. Delegates may want to prepare the log a little more before further processing. - * - * @param log The log to prepare. - */ -- (void)channel:(id)channel prepareLog:(id)log; - -/** - * A callback that is called after a log is definitely prepared. - * - * @param log The log. - * @param internalId An internal Id to keep track of logs. - * @param flags Options for the log. - */ -- (void)channel:(id)channel didPrepareLog:(id)log internalId:(NSString *)internalId flags:(MSACFlags)flags; - -/** - * A callback that is called after a log completed the enqueueing process whether it was successful or not. - * - * @param log The log. - * @param internalId An internal Id to keep track of logs. - */ -- (void)channel:(id)channel didCompleteEnqueueingLog:(id)log internalId:(NSString *)internalId; - -/** - * Callback method that will be called before each log will be send to the server. - * - * @param channel The channel object. - * @param log The log to be sent. - */ -- (void)channel:(id)channel willSendLog:(id)log; - -/** - * Callback method that will be called in case the SDK was able to send a log. - * - * @param channel The channel object. - * @param log The log to be sent. - */ -- (void)channel:(id)channel didSucceedSendingLog:(id)log; - -/** - * Callback method that will be called in case the SDK was unable to send a log. - * - * @param channel The channel object. - * @param log The log to be sent. - * @param error The error that occured. - */ -- (void)channel:(id)channel didFailSendingLog:(id)log withError:(nullable NSError *)error; - -/** - * A callback that is called when setEnabled has been invoked. - * - * @param channel The channel. - * @param isEnabled The boolean that indicates enabled. - * @param deletedData The boolean that indicates deleting data on disabled. - */ -- (void)channel:(id)channel didSetEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deletedData; - -/** - * A callback that is called when pause has been invoked. - * - * @param channel The channel. - * @param identifyingObject The identifying object used to pause the channel. - */ -- (void)channel:(id)channel didPauseWithIdentifyingObject:(id)identifyingObject; - -/** - * A callback that is called when resume has been invoked. - * - * @param channel The channel. - * @param identifyingObject The identifying object used to resume the channel. - */ -- (void)channel:(id)channel didResumeWithIdentifyingObject:(id)identifyingObject; - -/** - * Callback method that will determine if a log should be filtered out from the usual processing pipeline. If any delegate returns true, the - * log is filtered. - * - * @param channelUnit The channel unit that is going to send the log. - * @param log The log to be filtered or not. - * - * @return `true` if the log should be filtered out. - */ -- (BOOL)channelUnit:(id)channelUnit shouldFilterLog:(id)log; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h.meta deleted file mode 100644 index 49394d04..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenter.framework/PrivateHeaders/MSACChannelDelegate.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 152ef2246954088468276b005fe3b321 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.h deleted file mode 100644 index a0f47486..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.h +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import - -@interface AppCenterStarter : NSObject - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.h.meta deleted file mode 100644 index c81761fb..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.h.meta +++ /dev/null @@ -1,31 +0,0 @@ -fileFormatVersion: 2 -guid: 66682104049734a38a8f3114df75215f -timeCreated: 1502221064 -licenseType: Pro -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.m b/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.m deleted file mode 100644 index 816fe12b..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.m +++ /dev/null @@ -1,136 +0,0 @@ -#define APPCENTER_UNITY_USE_CRASHES -#define APPCENTER_UNITY_USE_ANALYTICS -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "AppCenterStarter.h" -#import -#import - -@import AppCenter; - -#ifdef APPCENTER_UNITY_USE_CRASHES -@import AppCenterCrashes; -#endif - -#ifdef APPCENTER_UNITY_USE_ANALYTICS -@import AppCenterAnalytics; -#endif - -#ifdef APPCENTER_UNITY_USE_DISTRIBUTE -@import AppCenterDistribute; -#import "../Distribute/DistributeDelegate.h" -#endif - -enum StartupMode { - APPCENTER, - ONECOLLECTOR, - BOTH, - NONE, - SKIP -}; - -@implementation AppCenterStarter - -static NSString *const kMSAppSecret = @"d8e69880-4b16-468e-9216-d0eec8fff482"; -static NSString *const kMSTargetToken = @"appcenter-transmission-target-token"; -static NSString *const kMSCustomLogUrl = @"custom-log-url"; -static NSString *const kMSCustomAllowNetworkRequests = @"YES"; -static NSString *const kMSCustomApiUrl = @"custom-api-url"; -static NSString *const kMSCustomInstallUrl = @"custom-install-url"; -static NSString *const kMSStartTargetKey = @"MSAppCenterStartTargetUnityKey"; -static NSString *const kMSStorageSizeKey = @"MSAppCenterMaxStorageSizeUnityKey"; -static NSString *const kMSLogUrlKey = @"MSAppCenterLogUrlUnityKey"; -static NSString *const kMSAppSecretKey = @"MSAppCenterAppSecretUnityKey"; -static NSString *const kMSUpdateTrackKey = @"MSAppCenterUpdateTrackUnityKey"; - -static const int kMSLogLevel = 0 /*LOG_LEVEL*/; -static const int kMSStartupType = 0 /*STARTUP_TYPE*/; -static const int kMSUpdateTrack = 1; - -+ (void)load { - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(startAppCenter) - name:UIApplicationDidFinishLaunchingNotification - object:nil]; -} - -+ (void)startAppCenter { - NSNumber *startTarget = [[NSUserDefaults standardUserDefaults] objectForKey:kMSStartTargetKey]; - int startTargetValue = startTarget == nil ? kMSStartupType : startTarget.intValue; - [MSACAppCenter setLogLevel:(MSACLogLevel)kMSLogLevel]; - if (startTargetValue == SKIP) { - return; - } - - NSMutableArray *classes = [[NSMutableArray alloc] init]; - - NSNumber *maxStorageSize = [[NSUserDefaults standardUserDefaults] objectForKey:kMSStorageSizeKey]; - if (maxStorageSize != nil) { - [MSACAppCenter setMaxStorageSize:maxStorageSize - completionHandler:^void(BOOL result) { - if (!result) { - MSACLogWarning(@"MSACAppCenter", @"setMaxStorageSize failed"); - } - }]; - } else { -#ifdef APPCENTER_USE_CUSTOM_MAX_STORAGE_SIZE - [MSACAppCenter setMaxStorageSize:APPCENTER_MAX_STORAGE_SIZE - completionHandler:^void(BOOL result) { - if (!result) { - MSACLogWarning(@"MSACAppCenter", @"setMaxStorageSize failed"); - } - }]; -#endif - } - -#ifdef APPCENTER_UNITY_USE_ANALYTICS - [classes addObject:MSACAnalytics.class]; -#endif - -#ifdef APPCENTER_UNITY_USE_DISTRIBUTE - -[MSACDistribute setUpdateTrack:(MSACUpdateTrack)kMSUpdateTrack]; - -#ifdef APPCENTER_UNITY_USE_CUSTOM_API_URL - [MSACDistribute setApiUrl:kMSCustomApiUrl]; -#endif // APPCENTER_UNITY_USE_CUSTOM_API_URL - -#ifdef APPCENTER_UNITY_USE_CUSTOM_INSTALL_URL - [MSACDistribute setInstallUrl:kMSCustomInstallUrl]; -#endif // APPCENTER_UNITY_USE_CUSTOM_INSTALL_URL - -#ifdef APPCENTER_DISTRIBUTE_DISABLE_AUTOMATIC_CHECK_FOR_UPDATE - [MSACDistribute disableAutomaticCheckForUpdate]; -#endif // APPCENTER_DISTRIBUTE_DISABLE_AUTOMATIC_CHECK_FOR_UPDATE - -#endif // APPCENTER_UNITY_USE_DISTRIBUTE - - NSString *customLogUrl = [[NSUserDefaults standardUserDefaults] objectForKey:kMSLogUrlKey]; - if (customLogUrl != nil) { - [MSACAppCenter setLogUrl:customLogUrl]; - } else { -#ifdef APPCENTER_UNITY_USE_CUSTOM_LOG_URL - [MSACAppCenter setLogUrl:kMSCustomLogUrl]; -#endif - } - [MSACAppCenter setNetworkRequestsAllowed:[kMSCustomAllowNetworkRequests boolValue]]; - NSString *customAppSecret = [[NSUserDefaults standardUserDefaults] objectForKey:kMSAppSecretKey]; - NSString *customAppSecretValue = customAppSecret == nil ? kMSAppSecret : customAppSecret; - switch (startTargetValue) { - case APPCENTER: - [MSACAppCenter start:customAppSecretValue withServices:classes]; - break; - case ONECOLLECTOR: - [MSACAppCenter start:[NSString stringWithFormat:@"target=%@", kMSTargetToken] withServices:classes]; - break; - case BOTH: - [MSACAppCenter start:[NSString stringWithFormat:@"appsecret=%@;target=%@", customAppSecretValue, kMSTargetToken] withServices:classes]; - break; - case NONE: - [MSACAppCenter startWithServices:classes]; - break; - } -} - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.m.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.m.meta deleted file mode 100644 index fc2f6941..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.m.meta +++ /dev/null @@ -1,37 +0,0 @@ -fileFormatVersion: 2 -guid: 319e7c6587510e9448244e0315279873 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - - first: - tvOS: tvOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.original b/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.original deleted file mode 100644 index b3b5ceb8..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.original +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "AppCenterStarter.h" -#import -#import - -@import AppCenter; - -#ifdef APPCENTER_UNITY_USE_CRASHES -@import AppCenterCrashes; -#endif - -#ifdef APPCENTER_UNITY_USE_ANALYTICS -@import AppCenterAnalytics; -#endif - -#ifdef APPCENTER_UNITY_USE_DISTRIBUTE -@import AppCenterDistribute; -#import "../Distribute/DistributeDelegate.h" -#endif - -enum StartupMode { - APPCENTER, - ONECOLLECTOR, - BOTH, - NONE, - SKIP -}; - -@implementation AppCenterStarter - -static NSString *const kMSAppSecret = @"appcenter-app-secret"; -static NSString *const kMSTargetToken = @"appcenter-transmission-target-token"; -static NSString *const kMSCustomLogUrl = @"custom-log-url"; -static NSString *const kMSCustomAllowNetworkRequests = @"allow-network-requests"; -static NSString *const kMSCustomApiUrl = @"custom-api-url"; -static NSString *const kMSCustomInstallUrl = @"custom-install-url"; -static NSString *const kMSStartTargetKey = @"MSAppCenterStartTargetUnityKey"; -static NSString *const kMSStorageSizeKey = @"MSAppCenterMaxStorageSizeUnityKey"; -static NSString *const kMSLogUrlKey = @"MSAppCenterLogUrlUnityKey"; -static NSString *const kMSAppSecretKey = @"MSAppCenterAppSecretUnityKey"; -static NSString *const kMSUpdateTrackKey = @"MSAppCenterUpdateTrackUnityKey"; - -static const int kMSLogLevel = 0 /*LOG_LEVEL*/; -static const int kMSStartupType = 0 /*STARTUP_TYPE*/; -static const int kMSUpdateTrack = 1 /*UPDATE_TRACK*/; - -+ (void)load { - [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(startAppCenter) - name:UIApplicationDidFinishLaunchingNotification - object:nil]; -} - -+ (void)startAppCenter { - NSNumber *startTarget = [[NSUserDefaults standardUserDefaults] objectForKey:kMSStartTargetKey]; - int startTargetValue = startTarget == nil ? kMSStartupType : startTarget.intValue; - [MSACAppCenter setLogLevel:(MSACLogLevel)kMSLogLevel]; - if (startTargetValue == SKIP) { - return; - } - - NSMutableArray *classes = [[NSMutableArray alloc] init]; - - NSNumber *maxStorageSize = [[NSUserDefaults standardUserDefaults] objectForKey:kMSStorageSizeKey]; - if (maxStorageSize != nil) { - [MSACAppCenter setMaxStorageSize:maxStorageSize - completionHandler:^void(BOOL result) { - if (!result) { - MSACLogWarning(@"MSACAppCenter", @"setMaxStorageSize failed"); - } - }]; - } else { -#ifdef APPCENTER_USE_CUSTOM_MAX_STORAGE_SIZE - [MSACAppCenter setMaxStorageSize:APPCENTER_MAX_STORAGE_SIZE - completionHandler:^void(BOOL result) { - if (!result) { - MSACLogWarning(@"MSACAppCenter", @"setMaxStorageSize failed"); - } - }]; -#endif - } - -#ifdef APPCENTER_UNITY_USE_ANALYTICS - [classes addObject:MSACAnalytics.class]; -#endif - -#ifdef APPCENTER_UNITY_USE_DISTRIBUTE - -[MSACDistribute setUpdateTrack:(MSACUpdateTrack)kMSUpdateTrack]; - -#ifdef APPCENTER_UNITY_USE_CUSTOM_API_URL - [MSACDistribute setApiUrl:kMSCustomApiUrl]; -#endif // APPCENTER_UNITY_USE_CUSTOM_API_URL - -#ifdef APPCENTER_UNITY_USE_CUSTOM_INSTALL_URL - [MSACDistribute setInstallUrl:kMSCustomInstallUrl]; -#endif // APPCENTER_UNITY_USE_CUSTOM_INSTALL_URL - -#ifdef APPCENTER_DISTRIBUTE_DISABLE_AUTOMATIC_CHECK_FOR_UPDATE - [MSACDistribute disableAutomaticCheckForUpdate]; -#endif // APPCENTER_DISTRIBUTE_DISABLE_AUTOMATIC_CHECK_FOR_UPDATE - -#endif // APPCENTER_UNITY_USE_DISTRIBUTE - - NSString *customLogUrl = [[NSUserDefaults standardUserDefaults] objectForKey:kMSLogUrlKey]; - if (customLogUrl != nil) { - [MSACAppCenter setLogUrl:customLogUrl]; - } else { -#ifdef APPCENTER_UNITY_USE_CUSTOM_LOG_URL - [MSACAppCenter setLogUrl:kMSCustomLogUrl]; -#endif - } - [MSACAppCenter setNetworkRequestsAllowed:[kMSCustomAllowNetworkRequests boolValue]]; - NSString *customAppSecret = [[NSUserDefaults standardUserDefaults] objectForKey:kMSAppSecretKey]; - NSString *customAppSecretValue = customAppSecret == nil ? kMSAppSecret : customAppSecret; - switch (startTargetValue) { - case APPCENTER: - [MSACAppCenter start:customAppSecretValue withServices:classes]; - break; - case ONECOLLECTOR: - [MSACAppCenter start:[NSString stringWithFormat:@"target=%@", kMSTargetToken] withServices:classes]; - break; - case BOTH: - [MSACAppCenter start:[NSString stringWithFormat:@"appsecret=%@;target=%@", customAppSecretValue, kMSTargetToken] withServices:classes]; - break; - case NONE: - [MSACAppCenter startWithServices:classes]; - break; - } -} - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.original.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.original.meta deleted file mode 100644 index b092fa93..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenterStarter.original.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 108740626ae994147a6859d8bc3232ed -timeCreated: 1512519361 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenterUnity.h b/Assets/AppCenter/Plugins/iOS/Core/AppCenterUnity.h deleted file mode 100644 index dcb8535d..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenterUnity.h +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import - -extern "C" void appcenter_unity_set_log_level(int logLevel); -extern "C" int appcenter_unity_get_log_level(); -extern "C" bool appcenter_unity_is_configured(); -extern "C" void appcenter_unity_set_log_url(const char* logUrl); -extern "C" void appcenter_unity_set_user_id(char* userId); -extern "C" void appcenter_unity_set_enabled(bool isEnabled); -extern "C" void appcenter_unity_set_network_requests_allowed(bool isAllowed); -extern "C" bool appcenter_unity_is_network_requests_allowed(); -extern "C" bool appcenter_unity_is_enabled(); -extern "C" const char* appcenter_unity_get_sdk_version(); -extern "C" const char* appcenter_unity_get_install_id(); -extern "C" void appcenter_unity_start(const char* appSecret, void** services, int count); -extern "C" void appcenter_unity_start_no_secret(void** services, int count); -extern "C" void appcenter_unity_start_from_library(void** services, int count); -extern "C" void appcenter_unity_set_custom_properties(MSACCustomProperties* properties); -extern "C" void appcenter_unity_set_wrapper_sdk(const char* wrapperSdkVersion, - const char* wrapperSdkName, - const char* wrapperRuntimeVersion, - const char* liveUpdateReleaseLabel, - const char* liveUpdateDeploymentKey, - const char* liveUpdatePackageHash); -extern "C" void appcenter_unity_set_storage_size(long size, void(* completionHandler)(bool)); diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenterUnity.h.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenterUnity.h.meta deleted file mode 100644 index 231635d0..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenterUnity.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 5c100da765363433c9bef3b81d036625 -timeCreated: 1497286029 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenterUnity.mm b/Assets/AppCenter/Plugins/iOS/Core/AppCenterUnity.mm deleted file mode 100644 index ebffdd5d..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenterUnity.mm +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "AppCenterUnity.h" -#import "Utility/NSStringHelper.h" -#import -#import - -NSMutableArray* get_services_array(void** services, int count) { - NSMutableArray* servicesArray = [NSMutableArray new]; - for (int i = 0; i < count; i++) { - [servicesArray addObject:(Class)CFBridgingRelease(services[i])]; - } - return servicesArray; -} - -void appcenter_unity_set_log_level(int logLevel) -{ - [MSACAppCenter setLogLevel:(MSACLogLevel)logLevel]; -} - -int appcenter_unity_get_log_level() -{ - return (int)MSACAppCenter.logLevel; -} - -bool appcenter_unity_is_configured() -{ - return [MSACAppCenter isConfigured]; -} - -void appcenter_unity_set_log_url(const char* logUrl) -{ - [MSACAppCenter setLogUrl:appcenter_unity_cstr_to_ns_string(logUrl)]; -} - -void appcenter_unity_set_user_id(char* userId) -{ - [MSACAppCenter setUserId: appcenter_unity_cstr_to_ns_string(userId)]; -} - -void appcenter_unity_set_enabled(bool isEnabled) -{ - [MSACAppCenter setEnabled:isEnabled]; -} - -void appcenter_unity_set_network_requests_allowed(bool isAllowed) -{ - [MSACAppCenter setNetworkRequestsAllowed:isAllowed]; -} - -bool appcenter_unity_is_network_requests_allowed() -{ - return [MSACAppCenter isNetworkRequestsAllowed]; -} - -void appcenter_unity_start(const char* appSecret, void** services, int count) { - NSMutableArray* servicesArray = get_services_array(services, count); - [MSACAppCenter start:appcenter_unity_cstr_to_ns_string(appSecret) withServices:servicesArray]; -} - -void appcenter_unity_start_no_secret(void** services, int count) { - NSMutableArray* servicesArray = get_services_array(services, count); - [MSACAppCenter startWithServices:servicesArray]; -} - -void appcenter_unity_start_from_library(void** services, int count) { - NSMutableArray* servicesArray = get_services_array(services, count); - [MSACAppCenter startFromLibraryWithServices:servicesArray]; -} - -bool appcenter_unity_is_enabled() -{ - return [MSACAppCenter isEnabled]; -} - -const char* appcenter_unity_get_install_id() -{ - NSString *uuidString = [[MSACAppCenter installId] UUIDString]; - return appcenter_unity_ns_string_to_cstr(uuidString); -} - -const char* appcenter_unity_get_sdk_version() -{ - return appcenter_unity_ns_string_to_cstr([MSACAppCenter sdkVersion]); -} - -void appcenter_unity_set_custom_properties(MSACCustomProperties* properties) -{ - [MSACAppCenter setCustomProperties:properties]; -} - -void appcenter_unity_set_wrapper_sdk(const char* wrapperSdkVersion, - const char* wrapperSdkName, - const char* wrapperRuntimeVersion, - const char* liveUpdateReleaseLabel, - const char* liveUpdateDeploymentKey, - const char* liveUpdatePackageHash) -{ - MSACWrapperSdk *wrapperSdk = [[MSACWrapperSdk alloc] - initWithWrapperSdkVersion:appcenter_unity_cstr_to_ns_string(wrapperSdkVersion) - wrapperSdkName:appcenter_unity_cstr_to_ns_string(wrapperSdkName) - wrapperRuntimeVersion:appcenter_unity_cstr_to_ns_string(wrapperRuntimeVersion) - liveUpdateReleaseLabel:appcenter_unity_cstr_to_ns_string(liveUpdateReleaseLabel) - liveUpdateDeploymentKey:appcenter_unity_cstr_to_ns_string(liveUpdateDeploymentKey) - liveUpdatePackageHash:appcenter_unity_cstr_to_ns_string(liveUpdatePackageHash)]; - [MSACAppCenter setWrapperSdk:wrapperSdk]; -} - -void appcenter_unity_set_storage_size(long size, void(* completionHandler)(bool)) -{ - [MSACAppCenter setMaxStorageSize:size completionHandler:^void(BOOL result){ - completionHandler(result); - }]; -} diff --git a/Assets/AppCenter/Plugins/iOS/Core/AppCenterUnity.mm.meta b/Assets/AppCenter/Plugins/iOS/Core/AppCenterUnity.mm.meta deleted file mode 100644 index 8b9658bf..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/AppCenterUnity.mm.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 3b5db8253bf544e5c98f4452295247d7 -timeCreated: 1497286025 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/CustomProperties.h b/Assets/AppCenter/Plugins/iOS/Core/CustomProperties.h deleted file mode 100644 index c12bb1af..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/CustomProperties.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import -#import - -// Don't need to return value because reference is kept by wrapper -extern "C" MSACCustomProperties* appcenter_unity_custom_properties_create(); -extern "C" void appcenter_unity_custom_properties_set_string(MSACCustomProperties* properties, char* key, char* val); -extern "C" void appcenter_unity_custom_properties_set_number(MSACCustomProperties* properties, char* key, NSNumber* val); -extern "C" void appcenter_unity_custom_properties_set_bool(MSACCustomProperties* properties, char* key, bool val); -extern "C" void appcenter_unity_custom_properties_set_date(MSACCustomProperties* properties, char* key, NSDate* val); -extern "C" void appcenter_unity_custom_properties_clear(MSACCustomProperties* properties, char* key); diff --git a/Assets/AppCenter/Plugins/iOS/Core/CustomProperties.h.meta b/Assets/AppCenter/Plugins/iOS/Core/CustomProperties.h.meta deleted file mode 100644 index 6b4e44c4..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/CustomProperties.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 3b9806201870a40199602233a9b5a765 -timeCreated: 1498515104 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/CustomProperties.mm b/Assets/AppCenter/Plugins/iOS/Core/CustomProperties.mm deleted file mode 100644 index 1c03565c..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/CustomProperties.mm +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "CustomProperties.h" -#import -#import - -MSACCustomProperties* appcenter_unity_custom_properties_create() -{ - return [[MSACCustomProperties alloc] init]; -} - -void appcenter_unity_custom_properties_set_string(MSACCustomProperties* properties, char* key, char* val) -{ - [properties setString:[NSString stringWithUTF8String:val] forKey:[NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_custom_properties_set_number(MSACCustomProperties* properties, char* key, NSNumber* val) -{ - [properties setNumber:val forKey:[NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_custom_properties_set_bool(MSACCustomProperties* properties, char* key, bool val) -{ - [properties setBool:val forKey:[NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_custom_properties_set_date(MSACCustomProperties* properties, char* key, NSDate* val) -{ - [properties setDate:val forKey:[NSString stringWithUTF8String:key]]; -} - -void appcenter_unity_custom_properties_clear(MSACCustomProperties* properties, char* key) -{ - [properties clearPropertyForKey:[NSString stringWithUTF8String:key]]; -} diff --git a/Assets/AppCenter/Plugins/iOS/Core/CustomProperties.mm.meta b/Assets/AppCenter/Plugins/iOS/Core/CustomProperties.mm.meta deleted file mode 100644 index 9bc581e4..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/CustomProperties.mm.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 6cee2815ee4e04655909ecaba350282c -timeCreated: 1498515094 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility.meta deleted file mode 100644 index c425e2a5..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 57b1dd6d6806d452d9dd3c180ce26a1f -folderAsset: yes -timeCreated: 1498062770 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.cs b/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.cs deleted file mode 100644 index 6ddbe8c8..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.cs +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.AppCenter.Unity -{ - public static class DeviceHelper - { - public static Device Convert(IntPtr devicePtr) - { - if (devicePtr == IntPtr.Zero) - { - return null; - } - var sdkName = app_center_unity_device_sdk_name(devicePtr); - var sdkVersion = app_center_unity_device_sdk_version(devicePtr); - var model = app_center_unity_device_model(devicePtr); - var oemName = app_center_unity_device_oem_name(devicePtr); - var osName = app_center_unity_device_os_name(devicePtr); - var osVersion = app_center_unity_device_os_version(devicePtr); - var osBuild = app_center_unity_device_os_build(devicePtr); - var osApiLevel = app_center_unity_device_os_api_level(devicePtr); - var locale = app_center_unity_device_locale(devicePtr); - var timeZoneOffset = app_center_unity_device_time_zone_offset(devicePtr); - var screenSize = app_center_unity_device_screen_size(devicePtr); - var appVersion = app_center_unity_device_app_version(devicePtr); - var carrierName = app_center_unity_device_carrier_name(devicePtr); - var carrierCountry = app_center_unity_device_carrier_country(devicePtr); - var appBuild = app_center_unity_device_app_build(devicePtr); - var appNamespace = app_center_unity_device_app_namespace(devicePtr); - return new Device(sdkName, sdkVersion, model, oemName, osName, osVersion, osBuild, osApiLevel, - locale, timeZoneOffset, screenSize, appVersion, carrierName, carrierCountry, - appBuild, appNamespace); - } - - [DllImport("__Internal")] - private static extern string app_center_unity_device_sdk_name(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_sdk_version(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_model(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_oem_name(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_os_name(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_os_version(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_os_build(IntPtr device); - - [DllImport("__Internal")] - private static extern int app_center_unity_device_os_api_level(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_locale(IntPtr device); - - [DllImport("__Internal")] - private static extern int app_center_unity_device_time_zone_offset(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_screen_size(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_app_version(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_carrier_name(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_carrier_country(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_app_build(IntPtr device); - - [DllImport("__Internal")] - private static extern string app_center_unity_device_app_namespace(IntPtr device); - } -} -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.cs.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.cs.meta deleted file mode 100644 index 0d973e30..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1cbedebc3603346ccba2733a839112d0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.h b/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.h deleted file mode 100644 index f4ecca58..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.h +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -extern "C" const char* app_center_unity_device_sdk_name(void* device); -extern "C" const char* app_center_unity_device_sdk_version(void* device); -extern "C" const char* app_center_unity_device_model(void* device); -extern "C" const char* app_center_unity_device_oem_name(void* device); -extern "C" const char* app_center_unity_device_os_name(void* device); -extern "C" const char* app_center_unity_device_os_version(void* device); -extern "C" const char* app_center_unity_device_os_build(void* device); -extern "C" int app_center_unity_device_os_api_level(void* device); -extern "C" const char* app_center_unity_device_locale(void* device); -extern "C" int app_center_unity_device_time_zone_offset(void* device); -extern "C" const char* app_center_unity_device_screen_size(void* device); -extern "C" const char* app_center_unity_device_app_version(void* device); -extern "C" const char* app_center_unity_device_carrier_name(void* device); -extern "C" const char* app_center_unity_device_carrier_country(void* device); -extern "C" const char* app_center_unity_device_app_build(void* device); -extern "C" const char* app_center_unity_device_app_namespace(void* device); diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.h.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.h.meta deleted file mode 100644 index e61e01ca..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.h.meta +++ /dev/null @@ -1,24 +0,0 @@ -fileFormatVersion: 2 -guid: bad688f7eba404cc4a90a8a0e0a1263f -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.mm b/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.mm deleted file mode 100644 index f8d2dbb5..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.mm +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import -#import "DeviceHelper.h" -#import "NSStringHelper.h" - -const char* app_center_unity_device_sdk_name(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo sdkName]); -} - -const char* app_center_unity_device_sdk_version(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo sdkVersion]); -} - -const char* app_center_unity_device_model(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo model]); -} - -const char* app_center_unity_device_oem_name(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo oemName]); -} - -const char* app_center_unity_device_os_name(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo osName]); -} - -const char* app_center_unity_device_os_version(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo osVersion]); -} - -const char* app_center_unity_device_os_build(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo osBuild]); -} - -int app_center_unity_device_os_api_level(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return [[deviceInfo osApiLevel] intValue]; -} - -const char* app_center_unity_device_locale(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo locale]); -} - -int app_center_unity_device_time_zone_offset(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return [[deviceInfo timeZoneOffset] intValue]; -} - -const char* app_center_unity_device_screen_size(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo screenSize]); -} - -const char* app_center_unity_device_app_version(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo appVersion]); -} - -const char* app_center_unity_device_carrier_name(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo carrierName]); -} - -const char* app_center_unity_device_carrier_country(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo carrierCountry]); -} - -const char* app_center_unity_device_app_build(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo appBuild]); -} - -const char* app_center_unity_device_app_namespace(void* device) -{ - MSACDevice *deviceInfo = (__bridge MSACDevice*)device; - return appcenter_unity_ns_string_to_cstr([deviceInfo appNamespace]); -} diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.mm.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.mm.meta deleted file mode 100644 index 412282d7..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/DeviceHelper.mm.meta +++ /dev/null @@ -1,34 +0,0 @@ -fileFormatVersion: 2 -guid: 03b9cfe7b6a4b4b70acf8694de18052e -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - - first: - tvOS: tvOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.cs b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.cs deleted file mode 100644 index 1f40f18c..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.cs +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS - -using System; -using System.Runtime.InteropServices; -using UnityEngine; - -namespace Microsoft.AppCenter.Unity.Internal.Utility -{ - public class NSDateHelper - { - public static IntPtr DateTimeConvert(DateTime date) - { - var unixStartTime = new DateTime(1970, 1, 1, 0, 0, 0, 0); - var timeSpan = date - unixStartTime; - var interval = (long)(timeSpan.TotalSeconds); - return appcenter_unity_ns_date_convert(interval); - } - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_ns_date_convert(long interval); - } -} -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.cs.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.cs.meta deleted file mode 100644 index 29b7e846..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 3efba9dacbfa347588fdde9d1cd911ac -timeCreated: 1498578955 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.h b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.h deleted file mode 100644 index f7ecf4e5..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.h +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#ifndef NS_DATE_HELPER_H -#define NS_DATE_HELPER_H - -#import - -extern "C" void* appcenter_unity_ns_date_convert(long interval); - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.h.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.h.meta deleted file mode 100644 index 4f508405..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: ab35984e9d22f4c5a93a2dd4af548412 -timeCreated: 1498584208 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.mm b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.mm deleted file mode 100644 index ab6524fb..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.mm +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "NSDateHelper.h" -#import - -void* appcenter_unity_ns_date_convert(long interval) -{ - return (void *)CFBridgingRetain([[NSDate alloc] initWithTimeIntervalSince1970:interval]); -} diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.mm.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.mm.meta deleted file mode 100644 index 974ea0aa..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSDateHelper.mm.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: dc5f65baccfe345be8fd3b0531c51edd -timeCreated: 1498584195 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.cs b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.cs deleted file mode 100644 index daf59700..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.cs +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.AppCenter.Unity.Internal.Utility -{ - public static partial class NSErrorHelper - { - public static Exception ToSystemException(IntPtr nsErrorPtr) - { - if (nsErrorPtr == IntPtr.Zero) - { - return null; - } - var domain = app_center_unity_nserror_domain(nsErrorPtr); - var errorCode = app_center_unity_nserror_code(nsErrorPtr); - var description = app_center_unity_nserror_description(nsErrorPtr); - return new Exception(string.Format("Domain: {0}, error code: {1}, description: {2}", domain, errorCode, description)); - } - - [DllImport("__Internal")] - private static extern string app_center_unity_nserror_domain(IntPtr error); - - [DllImport("__Internal")] - private static extern long app_center_unity_nserror_code(IntPtr error); - - [DllImport("__Internal")] - private static extern string app_center_unity_nserror_description(IntPtr error); - } -} -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.cs.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.cs.meta deleted file mode 100644 index 4b68102a..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f73030502bdd74d458f10a7c1a597e3b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.h b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.h deleted file mode 100644 index b3ccf138..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.h +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -extern "C" const char* app_center_unity_nserror_domain(void* error); -extern "C" long app_center_unity_nserror_code(void* error); -extern "C" const char* app_center_unity_nserror_description(void* error); diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.h.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.h.meta deleted file mode 100644 index 45cde614..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.h.meta +++ /dev/null @@ -1,24 +0,0 @@ -fileFormatVersion: 2 -guid: 23252b01a9d2f4f40ba6f2f0db9efbd5 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.mm b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.mm deleted file mode 100644 index 30d7f017..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.mm +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "NSStringHelper.h" -#import "NSErrorHelper.h" - -const char* app_center_unity_nserror_domain(void* error) -{ - NSError *nsError = (__bridge NSError*)error; - return appcenter_unity_ns_string_to_cstr([nsError domain]); -} - -long app_center_unity_nserror_code(void* error) -{ - NSError *nsError = (__bridge NSError*)error; - return [nsError code]; -} - -const char* app_center_unity_nserror_description(void* error) -{ - NSError *nsError = (__bridge NSError*)error; - return appcenter_unity_ns_string_to_cstr([nsError localizedDescription]); -} diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.mm.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.mm.meta deleted file mode 100644 index 03f16afe..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSErrorHelper.mm.meta +++ /dev/null @@ -1,34 +0,0 @@ -fileFormatVersion: 2 -guid: b122ae60c2ba54e659d9568ad78400e7 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - - first: - tvOS: tvOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.cs b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.cs deleted file mode 100644 index 96f37a37..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.cs +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS - -using System; -using System.Runtime.InteropServices; - -namespace Microsoft.AppCenter.Unity.Internal.Utility -{ - public class NSNumberHelper - { - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_nsnumber_convert_int(int val); - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_nsnumber_convert_long(long val); - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_nsnumber_convert_float(float val); - - [DllImport("__Internal")] - private static extern IntPtr appcenter_unity_nsnumber_convert_double(double val); - - public static IntPtr Convert(int val) - { - return appcenter_unity_nsnumber_convert_int(val); - } - - public static IntPtr Convert(long val) - { - return appcenter_unity_nsnumber_convert_long(val); - } - - public static IntPtr Convert(float val) - { - return appcenter_unity_nsnumber_convert_float(val); - } - - public static IntPtr Convert(double val) - { - return appcenter_unity_nsnumber_convert_double(val); - } - - //TODO how to support 'decimal'? - } -} -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.cs.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.cs.meta deleted file mode 100644 index 00ea41de..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f53b041fddc194840aae7635b39bfde6 -timeCreated: 1498578955 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.h b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.h deleted file mode 100644 index 2e70a493..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.h +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#ifndef NS_NUMBER_HELPER_H -#define NS_NUMBER_HELPER_H - -#import - -extern "C" void* appcenter_unity_nsnumber_convert_int(int val); -extern "C" NSNumber* appcenter_unity_nsnumber_convert_long(long val); -extern "C" NSNumber* appcenter_unity_nsnumber_convert_float(float val); -extern "C" NSNumber* appcenter_unity_nsnumber_convert_double(double val); - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.h.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.h.meta deleted file mode 100644 index 5b78988c..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 80eab99a01c404cea937a54c788f7f0c -timeCreated: 1498583134 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.mm b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.mm deleted file mode 100644 index d065a430..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.mm +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "NSNumberHelper.h" -#import - -void* appcenter_unity_nsnumber_convert_int(int val) -{ - return (__bridge void*)[NSNumber numberWithInt:val]; -} - -NSNumber* appcenter_unity_nsnumber_convert_long(long val) -{ - return [NSNumber numberWithLong:val]; -} - -NSNumber* appcenter_unity_nsnumber_convert_float(float val) -{ - return [NSNumber numberWithFloat:val]; -} - -NSNumber* appcenter_unity_nsnumber_convert_double(double val) -{ - return [NSNumber numberWithDouble:val]; -} diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.mm.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.mm.meta deleted file mode 100644 index ba516bab..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSNumberHelper.mm.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 0eecac2606cb14ec6a20fd15ec08feb2 -timeCreated: 1498583125 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.cs b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.cs deleted file mode 100644 index 6e82b204..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS -using System.Runtime.InteropServices; -using System; -using System.Collections.Generic; - -namespace Microsoft.AppCenter.Unity.Internal.Utility -{ - public class NSStringDictionaryHelper - { - public static Dictionary NSDictionaryConvert(IntPtr nsDictionary) - { - var length = appcenter_unity_ns_dictionary_get_length(nsDictionary); - var dictionary = new Dictionary(); - for (int i = 0; i < length; ++i) - { - var key = appcenter_unity_ns_string_dictionary_get_key_at_idx(nsDictionary, i); - var value = appcenter_unity_ns_string_dictionary_get_value_for_key(nsDictionary, key); - dictionary[key] = value; - } - return dictionary; - } - - [DllImport("__Internal")] - private static extern string appcenter_unity_ns_string_dictionary_get_key_at_idx(IntPtr dictionary, int idx); - - [DllImport("__Internal")] - private static extern string appcenter_unity_ns_string_dictionary_get_value_for_key(IntPtr dictionary, string key); - - [DllImport("__Internal")] - private static extern uint appcenter_unity_ns_dictionary_get_length(IntPtr dictionary); - } -} -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.cs.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.cs.meta deleted file mode 100644 index 1168cc9e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 4b38da4320f354ed2af0a1af947badd9 -timeCreated: 1498075853 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.h b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.h deleted file mode 100644 index b671861c..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.h +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#ifndef NS_STRING_DICTIONARY_HELPER_H -#define NS_STRING_DICTIONARY_HELPER_H - -#import - -extern "C" const char* appcenter_unity_ns_string_dictionary_get_key_at_idx(NSDictionary *dictionary, int idx); - -extern "C" const char* appcenter_unity_ns_string_dictionary_get_value_for_key(NSDictionary *dictionary, char* key); - -extern "C" size_t appcenter_unity_ns_dictionary_get_length(NSDictionary *dictionary); - -extern "C" NSDictionary* appcenter_unity_create_ns_string_dictionary(char** keys, char** values, int count); - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.h.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.h.meta deleted file mode 100644 index 7d483588..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 5d5be32a195b94d58b0410f7d8eb3e82 -timeCreated: 1498062779 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.mm b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.mm deleted file mode 100644 index 427d8760..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.mm +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "NSStringDictionaryHelper.h" -#import "NSStringHelper.h" -#import - -const char *appcenter_unity_ns_string_dictionary_get_key_at_idx(NSDictionary *dictionary, int idx) { - id sortKeys = ^(NSString *key1, NSString *key2) { - return [key1 compare:key2]; - }; - NSArray *keys = [[dictionary allKeys] sortedArrayUsingComparator:sortKeys]; - return appcenter_unity_ns_string_to_cstr(keys[idx]); -} - -const char *appcenter_unity_ns_string_dictionary_get_value_for_key(NSDictionary *dictionary, char *key) { - NSString *keyString = [NSString stringWithUTF8String:key]; - return appcenter_unity_ns_string_to_cstr([dictionary objectForKey:keyString]); -} - -NSDictionary *appcenter_unity_create_ns_string_dictionary(char **keys, char **values, int count) { - if (count == 0) { - return nil; - } - - // Convert the two arrays to a single dictionary - NSMutableDictionary *nsdictionary = [[NSMutableDictionary alloc] initWithCapacity:count]; - for (int i = 0; i < count; ++i) { - NSString *key = appcenter_unity_cstr_to_ns_string(keys[i]); - NSString *value = appcenter_unity_cstr_to_ns_string(values[i]); - [nsdictionary setValue:value forKey:key]; - } - return nsdictionary; -} - -size_t appcenter_unity_ns_dictionary_get_length(NSDictionary *dictionary) { return [dictionary count]; } diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.mm.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.mm.meta deleted file mode 100644 index eae0d87e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringDictionaryHelper.mm.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 21e289077520b433ca6d72c25f19bcbb -timeCreated: 1498062777 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringHelper.h b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringHelper.h deleted file mode 100644 index 22104f3a..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringHelper.h +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#ifndef NS_STRING_HELPER_H -#define NS_STRING_HELPER_H - -#import - -extern "C" const char* appcenter_unity_ns_string_to_cstr(NSString* nsstring); -extern "C" NSString* appcenter_unity_cstr_to_ns_string(const char* str); - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringHelper.h.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringHelper.h.meta deleted file mode 100644 index 5847e77a..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringHelper.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 90801404dc9c24b02802066bad5dc732 -timeCreated: 1498063641 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringHelper.mm b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringHelper.mm deleted file mode 100644 index 7f7060d0..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringHelper.mm +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "NSStringHelper.h" -#import - -const char* appcenter_unity_ns_string_to_cstr(NSString* nsstring) -{ - if (!nsstring) - { - return NULL; - } - - // It seems that with (at least) IL2CPP, when returning a char* that is to be - // converted to a System.String in C#, the char array is freed - which causes - // a double-deallocation if ARC also tries to free it. To prevent this, we - // must return a manually allocated copy of the string returned by "UTF8String" - const char *cstring = [nsstring UTF8String]; - size_t cstringLength = strlen(cstring) + 1; // +1 for '\0' - char *cstring_copy = (char*)malloc(cstringLength); - strncpy(cstring_copy, cstring, cstringLength); - return cstring_copy; -} - -NSString* appcenter_unity_cstr_to_ns_string(const char* str) -{ - return str ? [NSString stringWithUTF8String:str] : nil; -} diff --git a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringHelper.mm.meta b/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringHelper.mm.meta deleted file mode 100644 index 91ecef45..00000000 --- a/Assets/AppCenter/Plugins/iOS/Core/Utility/NSStringHelper.mm.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 690b05b14d3e640429af5eaacfdec2ca -timeCreated: 1498063660 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes.meta b/Assets/AppCenter/Plugins/iOS/Crashes.meta deleted file mode 100644 index 97dbc2f8..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: a8f8619e403154ebaa7ae4b211d19c08 -folderAsset: yes -timeCreated: 1512387208 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework.meta deleted file mode 100644 index 3ad57030..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework.meta +++ /dev/null @@ -1,28 +0,0 @@ -fileFormatVersion: 2 -guid: 080dbfb0806f34da8b23bb5d484e22b2 -folderAsset: yes -timeCreated: 1512387208 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 1 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/AppCenterCrashes b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/AppCenterCrashes deleted file mode 100644 index f0585af1..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/AppCenterCrashes and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/AppCenterCrashes.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/AppCenterCrashes.meta deleted file mode 100644 index 136440c5..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/AppCenterCrashes.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: aa6854b26ab6c9047a2452ef7f21f337 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers.meta deleted file mode 100644 index 5c95fae2..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1f4094ef4bd487243b518ee2f9fc7ace -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/AppCenterCrashes.h b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/AppCenterCrashes.h deleted file mode 100644 index b1258656..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/AppCenterCrashes.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#if __has_include() -#import -#import -#import -#import -#import -#import -#import -#import -#import -#else -#import "MSACCrashHandlerSetupDelegate.h" -#import "MSACCrashes.h" -#import "MSACCrashesDelegate.h" -#import "MSACErrorAttachmentLog+Utility.h" -#import "MSACErrorAttachmentLog.h" -#import "MSACExceptionModel.h" -#import "MSACStackFrame.h" -#import "MSACWrapperCrashesHelper.h" -#import "MSACWrapperExceptionModel.h" -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/AppCenterCrashes.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/AppCenterCrashes.h.meta deleted file mode 100644 index a0a3441c..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/AppCenterCrashes.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7de92b23b6ef32946be1aea945be9df9 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h deleted file mode 100644 index 0a05beb8..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -/** - * This is required for Wrapper SDKs that need to provide custom behavior surrounding the setup of crash handlers. - */ -NS_SWIFT_NAME(CrashHandlerSetupDelegate) -@protocol MSACCrashHandlerSetupDelegate - -@optional - -/** - * Callback method that will be called immediately before crash handlers are set up. - */ -- (void)willSetUpCrashHandlers; - -/** - * Callback method that will be called immediately after crash handlers are set up. - */ -- (void)didSetUpCrashHandlers; - -/** - * Callback method that gets a value indicating whether the SDK should enable an uncaught exception handler. - * - * @return YES if SDK should enable uncaught exception handler, otherwise NO. - * - * @discussion Do not register an UncaughtExceptionHandler for Xamarin as we rely on the Xamarin runtime to report NSExceptions. Registering - * our own UncaughtExceptionHandler will cause the Xamarin debugger to not work properly (it will not stop for NSExceptions). - */ -- (BOOL)shouldEnableUncaughtExceptionHandler; - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h.meta deleted file mode 100644 index bb003d8a..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashHandlerSetupDelegate.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 219da441a20f7534d9173f028a255329 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashes.h b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashes.h deleted file mode 100644 index d7672c4a..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashes.h +++ /dev/null @@ -1,207 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#if __has_include() -#import -#else -#import "MSACServiceAbstract.h" -#endif - -#if __has_include() -#import -#else -#import "MSACErrorReport.h" -#endif - -@class MSACCrashesDelegate; -@class MSACExceptionModel; -@class MSACErrorAttachmentLog; - -/** - * Custom block that handles the alert that prompts the user whether crash reports need to be processed or not. - * - * @return Returns YES to discard crash reports, otherwise NO. - */ -typedef BOOL (^MSACUserConfirmationHandler)(NSArray *_Nonnull errorReports) NS_SWIFT_NAME(UserConfirmationHandler); - -/** - * Error Logging status. - */ -typedef NS_ENUM(NSUInteger, MSACErrorLogSetting) { - - /** - * Crash reporting is disabled. - */ - MSACErrorLogSettingDisabled = 0, - - /** - * User is asked each time before sending error logs. - */ - MSACErrorLogSettingAlwaysAsk = 1, - - /** - * Each error log is send automatically. - */ - MSACErrorLogSettingAutoSend = 2 -} NS_SWIFT_NAME(ErrorLogSetting); - -/** - * Crash Manager alert user input. - */ -typedef NS_ENUM(NSUInteger, MSACUserConfirmation) { - - /** - * User chose not to send the crash report. - */ - MSACUserConfirmationDontSend = 0, - - /** - * User wants the crash report to be sent. - */ - MSACUserConfirmationSend = 1, - - /** - * User wants to send all error logs. - */ - MSACUserConfirmationAlways = 2 -} NS_SWIFT_NAME(UserConfirmation); - -@protocol MSACCrashesDelegate; - -NS_SWIFT_NAME(Crashes) -@interface MSACCrashes : MSACServiceAbstract - -/** - * Track handled error. - * - * @param error error. - * @param properties dictionary of properties. - * @param attachments a list of attachments. - * - * @return handled error ID. - */ -+ (NSString *_Nonnull)trackError:(NSError *_Nonnull)error - withProperties:(nullable NSDictionary *)properties - attachments:(nullable NSArray *)attachments NS_SWIFT_NAME(trackError(_:properties:attachments:)); - -/** - * Track handled exception from custom exception model. - * - * @param exception custom model exception. - * @param properties dictionary of properties. - * @param attachments a list of attachments. - * - * @return handled error ID. - */ -+ (NSString *_Nonnull)trackException:(MSACExceptionModel *_Nonnull)exception - withProperties:(nullable NSDictionary *)properties - attachments:(nullable NSArray *)attachments NS_SWIFT_NAME(trackException(_:properties:attachments:)); - -///----------------------------------------------------------------------------- -/// @name Testing Crashes Feature -///----------------------------------------------------------------------------- - -/** - * Lets the app crash for easy testing of the SDK. - * - * The best way to use this is to trigger the crash with a button action. - * - * Make sure not to let the app crash in `applicationDidFinishLaunching` or any other startup method! Since otherwise the app would crash - * before the SDK could process it. - * - * Note that our SDK provides support for handling crashes that happen early on startup. Check the documentation for more information on how - * to use this. - * - * If the SDK detects an App Store environment, it will _NOT_ cause the app to crash! - */ -+ (void)generateTestCrash; - -///----------------------------------------------------------------------------- -/// @name Helpers -///----------------------------------------------------------------------------- - -/** - * Check if the app has crashed in the last session. - * - * @return Returns YES is the app has crashed in the last session. - */ -@property(class, readonly, nonatomic) BOOL hasCrashedInLastSession; - -/** - * Check if the app received memory warning in the last session. - * - * @return Returns YES is the app received memory warning in the last session. - */ -@property(class, readonly, nonatomic) BOOL hasReceivedMemoryWarningInLastSession; - -/** - * Provides details about the crash that occurred in the last app session - */ -@property(class, nullable, readonly, nonatomic) MSACErrorReport *lastSessionCrashReport; - -#if TARGET_OS_OSX || TARGET_OS_MACCATALYST -/** - * Callback for report exception. - * - * NOTE: This method should be called only if you explicitly disabled swizzling for it. - * - * On OS X runtime, not all uncaught exceptions end in a custom `NSUncaughtExceptionHandler`. - * Forward exception from overrided `[NSApplication reportException:]` to catch additional exceptions. - */ -+ (void)applicationDidReportException:(NSException *_Nonnull)exception; -#endif - -///----------------------------------------------------------------------------- -/// @name Configuration -///----------------------------------------------------------------------------- - -#if !TARGET_OS_TV -/** - * Disable the Mach exception server. - * - * By default, the SDK uses the Mach exception handler to catch fatal signals, e.g. stack overflows, via a Mach exception server. If you - * want to disable the Mach exception handler, you should call this method _BEFORE_ starting the SDK. Your typical setup code would look - * like this: - * - * `[MSACCrashes disableMachExceptionHandler]`; - * `[MSACAppCenter start:@"YOUR_APP_ID" withServices:@[[MSACCrashes class]]];` - * - * or if you are using Swift: - * - * `MSACCrashes.disableMachExceptionHandler()` - * `MSACAppCenter.start("YOUR_APP_ID", withServices: [MSACAnalytics.self, MSACCrashes.self])` - * - * tvOS does not support the Mach exception handler, thus crashes that are caused by stack overflows cannot be detected. As a result, - * disabling the Mach exception server is not available in the tvOS SDK. - * - * @discussion It can be useful to disable the Mach exception handler when you are debugging the Crashes service while developing, - * especially when you attach the debugger to your application after launch. - */ -+ (void)disableMachExceptionHandler; -#endif - -/** - * Set the delegate - * Defines the class that implements the optional protocol `MSACCrashesDelegate`. - * - * @see MSACCrashesDelegate - */ -@property(class, nonatomic, weak) id _Nullable delegate; - -/** - * Set a user confirmation handler that is invoked right before processing crash reports to determine whether sending crash reports or not. - * - * @see MSACUserConfirmationHandler - */ -@property(class, nonatomic) MSACUserConfirmationHandler _Nullable userConfirmationHandler; - -/** - * Notify SDK with a confirmation to handle the crash report. - * - * @param userConfirmation A user confirmation. - * - * @see MSACUserConfirmation. - */ -+ (void)notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation; - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashes.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashes.h.meta deleted file mode 100644 index 0b6a0739..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashes.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 065567eaa08c24543b46c9358b0c69ca -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h deleted file mode 100644 index 6dad5e5a..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -@class MSACCrashes; -@class MSACErrorReport; -@class MSACErrorAttachmentLog; - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(CrashesDelegate) -@protocol MSACCrashesDelegate - -@optional - -/** - * Callback method that will be called before processing errors. - * - * @param crashes The instance of MSACCrashes. - * @param errorReport The errorReport that will be sent. - * - * @discussion Crashes will send logs to the server or discard/delete logs based on this method's return value. - */ -- (BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport NS_SWIFT_NAME(crashes(_:shouldProcess:)); - -/** - * Callback method that will be called before each error will be send to the server. - * - * @param crashes The instance of MSACCrashes. - * @param errorReport The errorReport that will be sent. - * - * @discussion Use this callback to display custom UI while crashes are sent to the server. - */ -- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; - -/** - * Callback method that will be called after the SDK successfully sent an error report to the server. - * - * @param crashes The instance of MSACCrashes. - * @param errorReport The errorReport that App Center sent. - * - * @discussion Use this method to hide your custom UI. - */ -- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; - -/** - * Callback method that will be called in case the SDK was unable to send an error report to the server. - * - * @param crashes The instance of MSACCrashes. - * @param errorReport The errorReport that App Center tried to send. - * @param error The error that occurred. - */ -- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(nullable NSError *)error; - -/** - * Method to get the attachments associated to an error report. - * - * @param crashes The instance of MSACCrashes. - * @param errorReport The errorReport associated with the returned attachments. - * - * @return The attachments associated with the given error report or nil if the error report doesn't have any attachments. - * - * @discussion Implement this method if you want attachments to the given error report. - */ -- (nullable NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h.meta deleted file mode 100644 index bdde1f29..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACCrashesDelegate.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9cd0c2bc87f1e744dae772529e743a04 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h deleted file mode 100644 index 3d667f4a..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#if __has_include() -#import -#else -#import "MSACErrorAttachmentLog.h" -#endif - -// Exporting symbols for category. -extern NSString *MSACMSACErrorLogAttachmentLogUtilityCategory; - -@interface MSACErrorAttachmentLog (Utility) - -/** - * Create an attachment with a given filename and text. - * - * @param filename The filename the attachment should get. If nil will get an automatically generated filename. - * @param text The attachment text. - * - * @return An instance of `MSACErrorAttachmentLog`. - */ -+ (MSACErrorAttachmentLog *)attachmentWithText:(NSString *)text filename:(NSString *)filename; - -/** - * Create an attachment with a given filename and `NSData` object. - * - * @param filename The filename the attachment should get. If nil will get an automatically generated filename. - * @param data The attachment data as NSData. - * @param contentType The content type of your data as MIME type. - * - * @return An instance of `MSACErrorAttachmentLog`. - */ -+ (MSACErrorAttachmentLog *)attachmentWithBinary:(NSData *)data filename:(NSString *)filename contentType:(NSString *)contentType; - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h.meta deleted file mode 100644 index 4687b713..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog+Utility.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fec6b70a513841e4aa15451aed829acb -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h deleted file mode 100644 index d3482f50..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#if __has_include() -#import -#else -#import "MSACAbstractLog.h" -#endif - -/** - * Error attachment log. - */ -NS_SWIFT_NAME(ErrorAttachmentLog) -@interface MSACErrorAttachmentLog : MSACAbstractLog - -/** - * Content type (text/plain for text). - */ -@property(nonatomic, copy) NSString *contentType; - -/** - * File name. - */ -@property(nonatomic, copy) NSString *filename; - -/** - * The attachment data. - */ -@property(nonatomic, copy) NSData *data; - -/** - * Initialize an attachment with a given filename and `NSData` object. - * - * @param filename The filename the attachment should get. If nil will get an automatically generated filename. - * @param data The attachment data as `NSData`. - * @param contentType The content type of your data as MIME type. - * - * @return An instance of `MSACErrorAttachmentLog`. - */ -- (instancetype)initWithFilename:(NSString *)filename attachmentBinary:(NSData *)data contentType:(NSString *)contentType; - -/** - * Initialize an attachment with a given filename and text. - * - * @param filename The filename the attachment should get. If nil will get an automatically generated filename. - * @param text The attachment text. - * - * @return An instance of `MSACErrorAttachmentLog`. - */ -- (instancetype)initWithFilename:(NSString *)filename attachmentText:(NSString *)text; - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h.meta deleted file mode 100644 index e5cd8e8f..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorAttachmentLog.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 51f53336930cdcc48982a6da2e1d9ece -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorReport.h b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorReport.h deleted file mode 100644 index fb649374..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorReport.h +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -@class MSACDevice; - -NS_SWIFT_NAME(ErrorReport) -@interface MSACErrorReport : NSObject - -/** - * UUID for the crash report. - */ -@property(nonatomic, copy, readonly) NSString *incidentIdentifier; - -/** - * UUID for the app installation on the device. - */ -@property(nonatomic, copy, readonly) NSString *reporterKey; - -/** - * Signal that caused the crash. - */ -@property(nonatomic, copy, readonly) NSString *signal; - -/** - * Exception name that triggered the crash, nil if the crash was not caused by an exception. - */ -@property(nonatomic, copy, readonly) NSString *exceptionName; - -/** - * Exception reason, nil if the crash was not caused by an exception. - */ -@property(nonatomic, copy, readonly) NSString *exceptionReason; - -/** - * Date and time the app started, nil if unknown. - */ -@property(nonatomic, readonly, strong) NSDate *appStartTime; - -/** - * Date and time the error occurred, nil if unknown - */ -@property(nonatomic, readonly, strong) NSDate *appErrorTime; - -/** - * Device information of the app when it crashed. - */ -@property(nonatomic, readonly, strong) MSACDevice *device; - -/** - * Identifier of the app process that crashed. - */ -@property(nonatomic, readonly, assign) NSUInteger appProcessIdentifier; - -/** - * Indicates if the app was killed while being in foreground from the iOS. - * - * This can happen if it consumed too much memory or the watchdog killed the app because it took too long to startup or blocks the main - * thread for too long, or other reasons. See Apple documentation: - * https://developer.apple.com/library/ios/qa/qa1693/_index.html. - * - * @see `[MSACCrashes didReceiveMemoryWarningInLastSession]` - */ -@property(nonatomic, readonly) BOOL isAppKill; - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorReport.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorReport.h.meta deleted file mode 100644 index 642a8578..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACErrorReport.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 49cd6b4ccd1dc894990174d804206e9c -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACExceptionModel.h b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACExceptionModel.h deleted file mode 100644 index 7f96cc45..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACExceptionModel.h +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#ifndef MSAC_EXCEPTION_MODEL_H -#define MSAC_EXCEPTION_MODEL_H - -#if __has_include() -#import -#else -#import "MSACSerializableObject.h" -#endif - -@class MSACStackFrame; - -NS_SWIFT_NAME(ExceptionModel) -@interface MSACExceptionModel : NSObject - -/** - * Creates an instance of exception model. - * - * @param error error. - * - * @return A new instance of exception. - */ -- (instancetype)initWithError:(NSError *)error NS_SWIFT_NAME(init(withError:)); - -/** - * Creates an instance of exception model. - * - * @param exceptionType exception type. - * @param exceptionMessage exception message. - * @param stackTrace stack trace. - * - * @return A new instance of exception. - */ -- (instancetype)initWithType:(NSString *)exceptionType - exceptionMessage:(NSString *)exceptionMessage - stackTrace:(NSArray *)stackTrace - NS_SWIFT_NAME(init(withType:exceptionMessage:stackTrace:)); - -/** - * Creates an instance of exception model. - * - * @exception exception. - * - * @return A new instance of exception. - */ -- (instancetype)initWithException:(NSException *)exception NS_SWIFT_NAME(init(withException:)); - -/** - * Exception type. - */ -@property(nonatomic, copy) NSString *type; - -/** - * Exception reason. - */ -@property(nonatomic, copy) NSString *message; - -/** - * Raw stack trace. Sent when the frames property is either missing or unreliable. - */ -@property(nonatomic, copy) NSString *stackTrace; - -/** - * Stack frames [optional]. - */ -@property(nonatomic, strong) NSArray *frames; - -/** - * Checks if the object's values are valid. - * - * @return YES, if the object is valid. - */ -- (BOOL)isValid; - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACExceptionModel.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACExceptionModel.h.meta deleted file mode 100644 index a8e96efa..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACExceptionModel.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 215f50f9db30ad146aa10940c8f4dcdc -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACStackFrame.h b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACStackFrame.h deleted file mode 100644 index d88b0015..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACStackFrame.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#if __has_include() -#import -#else -#import "MSACSerializableObject.h" -#endif - -@interface MSACStackFrame : NSObject - -/* - * Frame address [optional]. - */ -@property(nonatomic, copy) NSString *address; - -/* - * Symbolized code line [optional]. - */ -@property(nonatomic, copy) NSString *code; - -/* - * The fully qualified name of the Class containing the execution point represented by this stack trace element [optional]. - */ -@property(nonatomic, copy) NSString *className; - -/* - * The name of the method containing the execution point represented by this stack trace element [optional]. - */ -@property(nonatomic, copy) NSString *methodName; - -/* - * The line number of the source line containing the execution point represented by this stack trace element [optional]. - */ -@property(nonatomic, copy) NSNumber *lineNumber; - -/* - * The name of the file containing the execution point represented by this stack trace element [optional]. - */ -@property(nonatomic, copy) NSString *fileName; - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACStackFrame.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACStackFrame.h.meta deleted file mode 100644 index 7c40a071..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACStackFrame.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e225394719144bf4abd810eeb3eb864c -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h deleted file mode 100644 index b812b501..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#if __has_include() -#import -#else -#import "MSACCrashHandlerSetupDelegate.h" -#endif - -NS_ASSUME_NONNULL_BEGIN - -@class MSACErrorReport; -@class MSACErrorAttachmentLog; - -/** - * This general class allows wrappers to supplement the Crashes SDK with their own behavior. - */ -NS_SWIFT_NAME(WrapperCrashesHelper) -@interface MSACWrapperCrashesHelper : NSObject - -/** - * The crash handler setup delegate. - * - */ -@property(class, nonatomic, weak) _Nullable id crashHandlerSetupDelegate; - -/** - * Gets the crash handler setup delegate. - * - * @deprecated - * - * @return The delegate being used by Crashes. - */ -+ (id)getCrashHandlerSetupDelegate DEPRECATED_MSG_ATTRIBUTE("Use crashHandlerSetupDelegate instead"); - -/** - * Enables or disables automatic crash processing. Passing NO causes SDK not to send reports immediately, even if "Always Send" is true. - */ -@property(class, nonatomic) BOOL automaticProcessing; - -/** - * Gets a list of unprocessed crash reports. Will block until the service starts. - * - * @return An array of unprocessed error reports. - */ -@property(class, readonly, nonatomic) NSArray *unprocessedCrashReports; - -/** - * Resumes processing for a given subset of the unprocessed reports. - * - * @param filteredIds An array containing the errorId/incidentIdentifier of each report that should be sent. - * - * @return YES if should "Always Send" is true. - */ -+ (BOOL)sendCrashReportsOrAwaitUserConfirmationForFilteredIds:(NSArray *)filteredIds; - -/** - * Sends error attachments for a particular error report. - * - * @param errorAttachments An array of error attachments that should be sent. - * @param incidentIdentifier The identifier of the error report that the attachments will be associated with. - */ -+ (void)sendErrorAttachments:(NSArray *)errorAttachments withIncidentIdentifier:(NSString *)incidentIdentifier; - -/** - * Get a generic error report representation for an handled exception. - * This API is used by wrapper SDKs. - * - * @param errorID handled error ID. - * - * @return an error report. - */ -+ (MSACErrorReport *)buildHandledErrorReportWithErrorID:(NSString *)errorID; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h.meta deleted file mode 100644 index 8c2cdb09..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACWrapperCrashesHelper.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 836ece8c2e5270540b4abb9f322d79c6 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACWrapperExceptionModel.h b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACWrapperExceptionModel.h deleted file mode 100644 index 75c4840e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACWrapperExceptionModel.h +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#ifndef MSAC_WRAPPER_EXCEPTION_MODEL_H -#define MSAC_WRAPPER_EXCEPTION_MODEL_H - -#if __has_include() -#import -#import -#else -#import "MSACExceptionModel.h" -#import "MSACWrapperExceptionModel.h" -#endif - -#if __has_include() -#import -#else -#import "MSACSerializableObject.h" -#endif - -@interface MSACWrapperExceptionModel : MSACExceptionModel - -/* - * Inner exceptions of this exception [optional]. - */ -@property(nonatomic, strong) NSArray *innerExceptions; - -/* - * Name of the wrapper SDK that emitted this exception. - * Consists of the name of the SDK and the wrapper platform, e.g. "appcenter.xamarin", "appcenter.react-native" [optional]. - */ -@property(nonatomic, copy) NSString *wrapperSdkName; - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACWrapperExceptionModel.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACWrapperExceptionModel.h.meta deleted file mode 100644 index 7f63e729..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Headers/MSACWrapperExceptionModel.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c6b1399128237c3418a43818c440f036 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Info.plist b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Info.plist deleted file mode 100644 index b3fe9e9a..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Info.plist and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Info.plist.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Info.plist.meta deleted file mode 100644 index 41bd8389..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Info.plist.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 13dc30a1adbf7ef4cb5cb8288b7403bf -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Modules.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Modules.meta deleted file mode 100644 index 9c1db65c..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Modules.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 94d46a1f780bb2444b074eef91732480 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Modules/module.modulemap b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Modules/module.modulemap deleted file mode 100644 index 858a5299..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Modules/module.modulemap +++ /dev/null @@ -1,10 +0,0 @@ -framework module AppCenterCrashes { - umbrella header "AppCenterCrashes.h" - - export * - module * { export * } - - link framework "Foundation" - link "c++" - link "z" -} diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Modules/module.modulemap.meta b/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Modules/module.modulemap.meta deleted file mode 100644 index 23aed3c1..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/AppCenterCrashes.framework/Modules/module.modulemap.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 28c04102b37191941b45b2e44c18a247 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesDelegate.h b/Assets/AppCenter/Plugins/iOS/Crashes/CrashesDelegate.h deleted file mode 100644 index 353ad078..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesDelegate.h +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import -#import - -#if __cplusplus -extern "C" { -#endif - -void app_center_unity_crashes_set_delegate(); -void app_center_unity_crashes_delegate_set_should_process_error_report_delegate(bool(*handler)(MSACErrorReport *)); -void app_center_unity_crashes_delegate_set_get_error_attachments_delegate(NSArray *(*handler)(MSACErrorReport *)); -void app_center_unity_crashes_delegate_set_sending_error_report_delegate(void(*handler)(MSACErrorReport *)); -void app_center_unity_crashes_delegate_set_sent_error_report_delegate(void(*handler)(MSACErrorReport *)); -void app_center_unity_crashes_delegate_set_failed_to_send_error_report_delegate(void(*handler)(MSACErrorReport *, NSError *)); - -#if __cplusplus -} -#endif - -@interface UnityCrashesDelegate : NSObject --(BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport; -- (NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport; -- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport; -- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport; -- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error; -@end diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesDelegate.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/CrashesDelegate.h.meta deleted file mode 100644 index 2ce44f3e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesDelegate.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 3d2d6964c557947c080946d2e04a23d8 -timeCreated: 1497898485 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesDelegate.mm b/Assets/AppCenter/Plugins/iOS/Crashes/CrashesDelegate.mm deleted file mode 100644 index a752c421..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesDelegate.mm +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "CrashesDelegate.h" -#import -#import - -static bool (*shouldProcessErrorReport)(MSACErrorReport *); -static NSArray* (*getErrorAttachments)(MSACErrorReport *); -static void (*sendingErrorReport)(MSACErrorReport *); -static void (*sentErrorReport)(MSACErrorReport *); -static void (*failedToSendErrorReport)(MSACErrorReport *, NSError *); - -// we need static instance var because we have weak reaf in native part -static UnityCrashesDelegate *unityCrashesDelegate = NULL; - -void app_center_unity_crashes_set_delegate() -{ - unityCrashesDelegate = [[UnityCrashesDelegate alloc] init]; - [MSACCrashes setDelegate:unityCrashesDelegate]; -} - -void app_center_unity_crashes_delegate_set_should_process_error_report_delegate(bool(*handler)(MSACErrorReport *)) -{ - shouldProcessErrorReport = handler; -} - -void app_center_unity_crashes_delegate_set_get_error_attachments_delegate(NSArray *(*handler)(MSACErrorReport *)) -{ - getErrorAttachments = handler; -} - -void app_center_unity_crashes_delegate_set_sending_error_report_delegate(void(*handler)(MSACErrorReport *)) -{ - sendingErrorReport = handler; -} - -void app_center_unity_crashes_delegate_set_sent_error_report_delegate(void(*handler)(MSACErrorReport *)) -{ - sentErrorReport = handler; -} - -void app_center_unity_crashes_delegate_set_failed_to_send_error_report_delegate(void(*handler)(MSACErrorReport *, NSError *)) -{ - failedToSendErrorReport = handler; -} - -@implementation UnityCrashesDelegate - --(BOOL)crashes:(MSACCrashes *)crashes shouldProcessErrorReport:(MSACErrorReport *)errorReport -{ - if (shouldProcessErrorReport) - { - return (*shouldProcessErrorReport)(errorReport); - } - else - { - return true; - } -} - -- (NSArray *)attachmentsWithCrashes:(MSACCrashes *)crashes forErrorReport:(MSACErrorReport *)errorReport -{ - if (getErrorAttachments) - { - return (*getErrorAttachments)(errorReport); - } - else - { - return nil; - } -} - -- (void)crashes:(MSACCrashes *)crashes willSendErrorReport:(MSACErrorReport *)errorReport -{ - if (sendingErrorReport) - { - (*sendingErrorReport)(errorReport); - } -} - -- (void)crashes:(MSACCrashes *)crashes didSucceedSendingErrorReport:(MSACErrorReport *)errorReport -{ - if (sentErrorReport) - { - (*sentErrorReport)(errorReport); - } -} - -- (void)crashes:(MSACCrashes *)crashes didFailSendingErrorReport:(MSACErrorReport *)errorReport withError:(NSError *)error -{ - if (failedToSendErrorReport) - { - (*failedToSendErrorReport)(errorReport, error); - } -} - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesDelegate.mm.meta b/Assets/AppCenter/Plugins/iOS/Crashes/CrashesDelegate.mm.meta deleted file mode 100644 index 41822eae..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesDelegate.mm.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: a9c869882f9a649adb9261c6df148d95 -timeCreated: 1497898475 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesUnity.h b/Assets/AppCenter/Plugins/iOS/Crashes/CrashesUnity.h deleted file mode 100644 index b70116ed..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesUnity.h +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#ifndef CRASHES_UNITY_H -#define CRASHES_UNITY_H - -#import -#import - -@class MSACExceptionModel; - -extern "C" void* appcenter_unity_crashes_get_type(); -extern "C" void* appcenter_unity_crashes_track_exception_with_properties_with_attachments(MSACExceptionModel* exception, char** propertyKeys, char** propertyValues, int propertyCount, NSArray* attachments); -extern "C" void appcenter_unity_crashes_set_enabled(bool isEnabled); -extern "C" bool appcenter_unity_crashes_has_received_memory_warning_in_last_session(); -extern "C" bool appcenter_unity_crashes_is_enabled(); -extern "C" void appcenter_unity_crashes_generate_test_crash(); -extern "C" bool appcenter_unity_crashes_has_crashed_in_last_session(); -extern "C" void appcenter_unity_crashes_disable_mach_exception_handler(); -extern "C" void app_center_unity_crashes_set_user_confirmation_handler(void* userConfirmationHandler); -extern "C" void* appcenter_unity_crashes_last_session_crash_report(); -extern "C" void appcenter_unity_crashes_set_user_confirmation_handler(bool(* userConfirmationHandler)()); -extern "C" void appcenter_unity_crashes_notify_with_user_confirmation(int userConfirmation); -extern "C" void appcenter_unity_start_crashes(); -extern "C" void* app_center_unity_crashes_create_error_attachments_array(int capacity); -extern "C" void* app_center_unity_crashes_create_error_attachment_log_text(char* text, char* fileName); -extern "C" void* app_center_unity_crashes_create_error_attachment_log_binary(const void* data, int size, char* fileName, char* contentType); -extern "C" void appcenter_unity_crashes_add_error_attachment(NSMutableArray* attachments, MSACErrorAttachmentLog* attachment); -extern "C" void appcenter_unity_crashes_send_error_attachments(char* errorReportId, NSMutableArray* attachments); -extern "C" void* appcenter_unity_crashes_build_handled_error_report(char* errorReportId); - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesUnity.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/CrashesUnity.h.meta deleted file mode 100644 index cc48ae1a..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesUnity.h.meta +++ /dev/null @@ -1,133 +0,0 @@ -fileFormatVersion: 2 -guid: ab25d73a3ee1841b785a0d341fc692a1 -timeCreated: 1497555275 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Tizen: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 0 - Exclude tvOS: 1 - data: - first: - '': Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - OS: AnyOS - data: - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - data: - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - data: - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: - CompileFlags: - FrameworkDependencies: - data: - first: - tvOS: tvOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesUnity.mm b/Assets/AppCenter/Plugins/iOS/Crashes/CrashesUnity.mm deleted file mode 100644 index 396e2df7..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesUnity.mm +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import -#import -#import -#import -#import "../Core/Utility/NSStringDictionaryHelper.h" -#import "../Core/Utility/NSStringHelper.h" -#import "CrashesUnity.h" -#import "CrashesDelegate.h" -#import "NSStringHelper.h" - -void* appcenter_unity_crashes_get_type() -{ - return (void *)CFBridgingRetain([MSACCrashes class]); -} - -void* appcenter_unity_crashes_track_exception_with_properties_with_attachments(MSACExceptionModel* exception, char** propertyKeys, char** propertyValues, int propertyCount, NSArray* attachments) -{ - NSDictionary *properties = appcenter_unity_create_ns_string_dictionary(propertyKeys, propertyValues, propertyCount); - NSString *errorId = [MSACCrashes trackException:exception withProperties:properties attachments:attachments]; - return (void *)appcenter_unity_ns_string_to_cstr(errorId); -} - -void appcenter_unity_crashes_set_enabled(bool isEnabled) -{ - [MSACCrashes setEnabled:isEnabled]; -} - -bool appcenter_unity_crashes_is_enabled() -{ - return [MSACCrashes isEnabled]; -} - -bool appcenter_unity_crashes_has_received_memory_warning_in_last_session() -{ - return [MSACCrashes hasReceivedMemoryWarningInLastSession]; -} - -void appcenter_unity_crashes_generate_test_crash() -{ - [MSACCrashes generateTestCrash]; -} - -bool appcenter_unity_crashes_has_crashed_in_last_session() -{ - return [MSACCrashes hasCrashedInLastSession]; -} - -void appcenter_unity_crashes_disable_mach_exception_handler() -{ - [MSACCrashes disableMachExceptionHandler]; -} - -void appcenter_unity_crashes_set_user_confirmation_handler(bool(* userConfirmationHandler)()) -{ - [MSACCrashes setUserConfirmationHandler:^BOOL(NSArray *_Nonnull errorReports){ - return userConfirmationHandler(); - }]; -} - -void appcenter_unity_crashes_notify_with_user_confirmation(int userConfirmation) -{ - [MSACCrashes notifyWithUserConfirmation:(MSACUserConfirmation)userConfirmation]; -} - -void* appcenter_unity_crashes_last_session_crash_report() -{ - return (void *)CFBridgingRetain([MSACCrashes lastSessionCrashReport]); -} - -void appcenter_unity_start_crashes() -{ - [MSACAppCenter startService:MSACCrashes.class]; -} - -void* app_center_unity_crashes_create_error_attachments_array(int capacity) -{ - NSMutableArray* errorAttachments = [[NSMutableArray alloc] initWithCapacity:capacity]; - return (void *)CFBridgingRetain(errorAttachments); -} - -void* app_center_unity_crashes_create_error_attachment_log_text(char* text, char* fileName) -{ - return (void *)CFBridgingRetain( - [[MSACErrorAttachmentLog alloc] initWithFilename:appcenter_unity_cstr_to_ns_string(fileName) attachmentText:appcenter_unity_cstr_to_ns_string(text)]); -} - -void* app_center_unity_crashes_create_error_attachment_log_binary(const void* data, int size, char* fileName, char* contentType) -{ - return (void *)CFBridgingRetain( - [[MSACErrorAttachmentLog alloc] initWithFilename:appcenter_unity_cstr_to_ns_string(fileName) attachmentBinary:[[NSData alloc] initWithBytes:data length:size] contentType:appcenter_unity_cstr_to_ns_string(contentType)]); -} - -void appcenter_unity_crashes_add_error_attachment(NSMutableArray* attachments, MSACErrorAttachmentLog* attachment) -{ - [attachments addObject:attachment]; -} - -void appcenter_unity_crashes_send_error_attachments(char* errorReportId, NSMutableArray* attachments) -{ - NSString *errorReportIdConverted = appcenter_unity_cstr_to_ns_string(errorReportId); - [MSACWrapperCrashesHelper sendErrorAttachments:attachments withIncidentIdentifier:errorReportIdConverted]; -} - -void* appcenter_unity_crashes_build_handled_error_report(char* errorReportId) -{ - NSString *errorReportIdConverted = appcenter_unity_cstr_to_ns_string(errorReportId); - MSACErrorReport *report = [MSACWrapperCrashesHelper buildHandledErrorReportWithErrorID:errorReportIdConverted]; - return (void *)CFBridgingRetain(report); -} diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesUnity.mm.meta b/Assets/AppCenter/Plugins/iOS/Crashes/CrashesUnity.mm.meta deleted file mode 100644 index fd0ed675..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/CrashesUnity.mm.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 287d3bc4c5500456f822c8199c15d39d -timeCreated: 1497555258 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/ErrorReport.h b/Assets/AppCenter/Plugins/iOS/Crashes/ErrorReport.h deleted file mode 100644 index 6832be85..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/ErrorReport.h +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -extern "C" const char* app_center_unity_crashes_error_report_incident_identifier(void* errorReport); - -extern "C" const char* app_center_unity_crashes_error_report_reporter_key(void* errorReport); - -extern "C" const char* app_center_unity_crashes_error_report_signal(void* errorReport); - -extern "C" const char* app_center_unity_crashes_error_report_exception_name(void* errorReport); - -extern "C" const char* app_center_unity_crashes_error_report_exception_reason(void* errorReport); - -extern "C" const char* app_center_unity_crashes_error_report_app_start_time(void* errorReport); - -extern "C" const char* app_center_unity_crashes_error_report_app_error_time(void* errorReport); - -extern "C" void* app_center_unity_crashes_error_report_device(void* errorReport); - -extern "C" unsigned int app_center_unity_crashes_error_report_app_process_identifier(void* errorReport); - -extern "C" bool app_center_unity_crashes_error_report_is_app_kill(void* errorReport); diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/ErrorReport.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/ErrorReport.h.meta deleted file mode 100644 index 7a9ba274..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/ErrorReport.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 4351c5b4fea0a4230885b9616c8f65d6 -timeCreated: 1497897006 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/ErrorReport.mm b/Assets/AppCenter/Plugins/iOS/Crashes/ErrorReport.mm deleted file mode 100644 index 5db4ca31..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/ErrorReport.mm +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "../Core/Utility/NSStringHelper.h" -#import "ErrorReport.h" -#import - -const char* app_center_unity_crashes_error_report_incident_identifier(void* errorReport) -{ - MSACErrorReport *report = (__bridge MSACErrorReport*)errorReport; - return appcenter_unity_ns_string_to_cstr([report incidentIdentifier]); -} - -const char* app_center_unity_crashes_error_report_reporter_key(void* errorReport) -{ - MSACErrorReport *report = (__bridge MSACErrorReport*)errorReport; - return appcenter_unity_ns_string_to_cstr([report reporterKey]); -} - -const char* app_center_unity_crashes_error_report_signal(void* errorReport) -{ - MSACErrorReport *report = (__bridge MSACErrorReport*)errorReport; - return appcenter_unity_ns_string_to_cstr([report signal]); -} - -const char* app_center_unity_crashes_error_report_exception_name(void* errorReport) -{ - MSACErrorReport *report = (__bridge MSACErrorReport*)errorReport; - return appcenter_unity_ns_string_to_cstr([report exceptionName]); -} - -const char* app_center_unity_crashes_error_report_exception_reason(void* errorReport) -{ - MSACErrorReport *report = (__bridge MSACErrorReport*)errorReport; - return appcenter_unity_ns_string_to_cstr([report exceptionReason]); -} - -const char* app_center_unity_crashes_error_report_app_start_time(void* errorReport) -{ - MSACErrorReport *report = (__bridge MSACErrorReport*)errorReport; - NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; - [dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm:ss ZZZZZ"]; - NSString *dateStr = [dateFormatter stringFromDate:report.appStartTime]; - return appcenter_unity_ns_string_to_cstr(dateStr); -} - -const char* app_center_unity_crashes_error_report_app_error_time(void* errorReport) -{ - MSACErrorReport *report = (__bridge MSACErrorReport*)errorReport; - NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; - [dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm:ss ZZZZZ"]; - NSString *dateStr = [dateFormatter stringFromDate:report.appErrorTime]; - return appcenter_unity_ns_string_to_cstr(dateStr); -} - -extern "C" void* app_center_unity_crashes_error_report_device(void* errorReport) -{ - MSACErrorReport *report = (__bridge MSACErrorReport*)errorReport; - return (__bridge void*)[report device]; -} - -extern "C" unsigned int app_center_unity_crashes_error_report_app_process_identifier(void* errorReport) -{ - MSACErrorReport *report = (__bridge MSACErrorReport*)errorReport; - return [report appProcessIdentifier]; -} - -extern "C" bool app_center_unity_crashes_error_report_is_app_kill(void* errorReport) -{ - MSACErrorReport *report = (__bridge MSACErrorReport*)errorReport; - return [report isAppKill]; -} diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/ErrorReport.mm.meta b/Assets/AppCenter/Plugins/iOS/Crashes/ErrorReport.mm.meta deleted file mode 100644 index fbe1d44e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/ErrorReport.mm.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 373d6e1aa99b14b85a73ca4cca134265 -timeCreated: 1497897298 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/MSACExceptionModel.h b/Assets/AppCenter/Plugins/iOS/Crashes/MSACExceptionModel.h deleted file mode 100644 index 3b05140e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/MSACExceptionModel.h +++ /dev/null @@ -1,9 +0,0 @@ -#import - -@interface MSACExceptionModel : NSObject - -@property(nonatomic, copy) NSString *type; -@property(nonatomic, copy) NSString *message; -@property(nonatomic, copy) NSString *stackTrace; - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/MSACExceptionModel.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/MSACExceptionModel.h.meta deleted file mode 100644 index 99f4172b..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/MSACExceptionModel.h.meta +++ /dev/null @@ -1,27 +0,0 @@ -fileFormatVersion: 2 -guid: a753e0df757854ab8a71dafb0331b58a -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/MSACWrapperExceptionModel.h b/Assets/AppCenter/Plugins/iOS/Crashes/MSACWrapperExceptionModel.h deleted file mode 100644 index fd14c39e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/MSACWrapperExceptionModel.h +++ /dev/null @@ -1,9 +0,0 @@ -#import -#import "MSACExceptionModel.h" - -@interface MSACWrapperExceptionModel : MSACExceptionModel - -@property(nonatomic) NSArray *innerExceptions; -@property(nonatomic, copy) NSString *wrapperSdkName; - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/MSACWrapperExceptionModel.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/MSACWrapperExceptionModel.h.meta deleted file mode 100644 index 0f5d1aa6..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/MSACWrapperExceptionModel.h.meta +++ /dev/null @@ -1,27 +0,0 @@ -fileFormatVersion: 2 -guid: 47ae337184a0642259853aaf18b811be -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/Utility.meta b/Assets/AppCenter/Plugins/iOS/Crashes/Utility.meta deleted file mode 100644 index 011ee3cc..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/Utility.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8edb5ff2554af495cb88a77ea5676751 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/Utility/NSErrorHelper.cs b/Assets/AppCenter/Plugins/iOS/Crashes/Utility/NSErrorHelper.cs deleted file mode 100644 index 5942f86f..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/Utility/NSErrorHelper.cs +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#if UNITY_IOS && !UNITY_EDITOR -using System; -using Exception = Microsoft.AppCenter.Unity.Crashes.Models.Exception; - -namespace Microsoft.AppCenter.Unity.Internal.Utility -{ - public static partial class NSErrorHelper - { - public static Exception Convert(IntPtr nsErrorPtr) - { - if (nsErrorPtr == IntPtr.Zero) - { - return null; - } - var domain = app_center_unity_nserror_domain(nsErrorPtr); - var errorCode = app_center_unity_nserror_code(nsErrorPtr); - var description = app_center_unity_nserror_description(nsErrorPtr); - return new Exception(string.Format("Domain: {0}, error code: {1}, description: {2}", domain, errorCode, description), string.Empty); - } - } -} -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/Utility/NSErrorHelper.cs.meta b/Assets/AppCenter/Plugins/iOS/Crashes/Utility/NSErrorHelper.cs.meta deleted file mode 100644 index 3fad2f1e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/Utility/NSErrorHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9b2bb9c8db1e04201b0924f3bc174aa3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/WrapperException.h b/Assets/AppCenter/Plugins/iOS/Crashes/WrapperException.h deleted file mode 100644 index 9b3c941d..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/WrapperException.h +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "MSACWrapperExceptionModel.h" -#import - -// Don't need to return value because reference is kept by wrapper -extern "C" MSACWrapperExceptionModel* appcenter_unity_exception_create(); -extern "C" void appcenter_unity_exception_set_type(MSACWrapperExceptionModel* exception, char* type); -extern "C" void appcenter_unity_exception_set_message(MSACWrapperExceptionModel* exception, char* message); -extern "C" void appcenter_unity_exception_set_stacktrace(MSACWrapperExceptionModel* exception, char* stacktrace); -extern "C" void appcenter_unity_exception_set_inner_exception(MSACWrapperExceptionModel* exception, MSACWrapperExceptionModel* innerException); -extern "C" void appcenter_unity_exception_set_wrapper_sdk_name(MSACWrapperExceptionModel* exception, char* sdkName); diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/WrapperException.h.meta b/Assets/AppCenter/Plugins/iOS/Crashes/WrapperException.h.meta deleted file mode 100644 index 9f69b3b3..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/WrapperException.h.meta +++ /dev/null @@ -1,26 +0,0 @@ -fileFormatVersion: 2 -guid: dee271c84d16944c191f2cf03eb3e78b -timeCreated: 1512583535 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 1 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/WrapperException.mm b/Assets/AppCenter/Plugins/iOS/Crashes/WrapperException.mm deleted file mode 100644 index 620d6525..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/WrapperException.mm +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "NSStringHelper.h" -#import "WrapperException.h" -#import - -MSACWrapperExceptionModel* appcenter_unity_exception_create() -{ - return [[MSACWrapperExceptionModel alloc] init]; -} - -void appcenter_unity_exception_set_type(MSACWrapperExceptionModel* exception, char* type) -{ - [exception setType:[NSString stringWithUTF8String:type]]; -} - -void appcenter_unity_exception_set_message(MSACWrapperExceptionModel* exception, char* message) -{ - [exception setMessage:[NSString stringWithUTF8String:message]]; -} - -void appcenter_unity_exception_set_stacktrace(MSACWrapperExceptionModel* exception, char* stacktrace) -{ - [exception setStackTrace:appcenter_unity_cstr_to_ns_string(stacktrace)]; -} - -void appcenter_unity_exception_set_inner_exception(MSACWrapperExceptionModel* exception, MSACWrapperExceptionModel* innerException) -{ - NSArray* innerExceptions = @[innerException]; - [exception setInnerExceptions:innerExceptions]; -} - -void appcenter_unity_exception_set_wrapper_sdk_name(MSACWrapperExceptionModel* exception, char* sdkName) -{ - [exception setWrapperSdkName:[NSString stringWithUTF8String:sdkName]]; -} - diff --git a/Assets/AppCenter/Plugins/iOS/Crashes/WrapperException.mm.meta b/Assets/AppCenter/Plugins/iOS/Crashes/WrapperException.mm.meta deleted file mode 100644 index b804d88c..00000000 --- a/Assets/AppCenter/Plugins/iOS/Crashes/WrapperException.mm.meta +++ /dev/null @@ -1,36 +0,0 @@ -fileFormatVersion: 2 -guid: 41cdfabf1bde54e3e8c50ce2fabc6e2e -timeCreated: 1512583535 -licenseType: Free -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - - first: - tvOS: tvOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute.meta b/Assets/AppCenter/Plugins/iOS/Distribute.meta deleted file mode 100644 index c8f28c28..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 56e6802126ac34390b544155e2d48a4b -folderAsset: yes -timeCreated: 1498060266 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework.meta deleted file mode 100644 index 2e00559b..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework.meta +++ /dev/null @@ -1,141 +0,0 @@ -fileFormatVersion: 2 -guid: 38f30140422e145a9a6171449a106b95 -folderAsset: yes -timeCreated: 1504718816 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 0 - Exclude tvOS: 1 - data: - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - data: - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - data: - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - data: - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: - CompileFlags: - FrameworkDependencies: - data: - first: - tvOS: tvOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/AppCenterDistribute b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/AppCenterDistribute deleted file mode 100644 index 5019ce55..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/AppCenterDistribute and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/AppCenterDistribute.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/AppCenterDistribute.meta deleted file mode 100644 index 1efd268f..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/AppCenterDistribute.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 15dcaa7927c1c34419f7c3726d5f02f1 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers.meta deleted file mode 100644 index 5f406807..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: aace31274b316934493c40d4e697186f -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/AppCenterDistribute.h b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/AppCenterDistribute.h deleted file mode 100644 index b8cc9296..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/AppCenterDistribute.h +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -#if __has_include() -#import -#import -#import -#else -#import "MSACDistribute.h" -#import "MSACDistributeDelegate.h" -#import "MSACReleaseDetails.h" -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/AppCenterDistribute.h.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/AppCenterDistribute.h.meta deleted file mode 100644 index 5ddc37f5..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/AppCenterDistribute.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9b40802aff51de447b071db58dd9a1f6 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACDistribute.h b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACDistribute.h deleted file mode 100644 index 72c44b33..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACDistribute.h +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#if __has_include() -#import -#else -#import "MSACServiceAbstract.h" -#endif - -#if __has_include() -#import -#else -#import "MSACDistributeDelegate.h" -#endif - -NS_ASSUME_NONNULL_BEGIN - -/** - * App Center Distribute service. - */ -NS_SWIFT_NAME(Distribute) -@interface MSACDistribute : MSACServiceAbstract - -typedef NS_ENUM(NSInteger, MSACUpdateAction) { - - /** - * Action to trigger update. - */ - MSACUpdateActionUpdate, - - /** - * Action to postpone update. - */ - MSACUpdateActionPostpone -} NS_SWIFT_NAME(UpdateAction); - -typedef NS_ENUM(NSInteger, MSACUpdateTrack) { - - /** - * An update track for tracking public updates. - */ - MSACUpdateTrackPublic = 1, - - /** - * An update track for tracking updates sent to private groups. - */ - MSACUpdateTrackPrivate = 2 -} NS_SWIFT_NAME(UpdateTrack); - -/** - * Update track. - */ -@property(class, nonatomic) MSACUpdateTrack updateTrack; - -/** - * Distribute delegate - * - * @discussion If Distribute delegate is set and releaseAvailableWithDetails is returning YES, you must call - * notifyUpdateAction: with one of update actions to handle a release properly. - * - * @see releaseAvailableWithDetails: - * @see notifyUpdateAction: - */ -@property(class, nonatomic, weak) id _Nullable delegate; - -/** - * URL that is used for generic update related tasks. - */ -@property(class, nonatomic, copy, setter=setApiUrl:) NSString *apiUrl; - -/** - * URL that is used to install update. - * - */ -@property(class, nonatomic, copy, setter=setInstallUrl:) NSString *installUrl; - -/** - * Notify SDK with an update action to handle the release. - */ -+ (void)notifyUpdateAction:(MSACUpdateAction)action; - -/** - * Process URL request for the service. - * - * @param url The url with parameters. - * - * @return `YES` if the URL is intended for App Center Distribute and your application, `NO` otherwise. - * - * @discussion Place this method call into your app delegate's openURL method. - */ -+ (BOOL)openURL:(NSURL *)url; - -/** - * Disable checking the latest release of the application when the SDK starts. - */ -+ (void)disableAutomaticCheckForUpdate; - -/** - * Check for the latest release using the selected update track. - */ -+ (void)checkForUpdate; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACDistribute.h.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACDistribute.h.meta deleted file mode 100644 index 87aa5850..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACDistribute.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a7a2a7b8a566384458176de28d3aed75 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACDistributeDelegate.h b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACDistributeDelegate.h deleted file mode 100644 index 7df18658..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACDistributeDelegate.h +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#if __has_include() -#import -#else -#import "MSACReleaseDetails.h" -#endif - -#import - -@class MSACDistribute; - -NS_ASSUME_NONNULL_BEGIN - -NS_SWIFT_NAME(DistributeDelegate) -@protocol MSACDistributeDelegate - -@optional - -/** - * Callback method that will be called whenever a new release is available for update. - * - * @param distribute The instance of MSACDistribute. - * @param details Release details for the update. - * - * @return Return YES if you want to take update control by overriding default update dialog, NO otherwise. - * - * @see [MSACDistribute notifyUpdateAction:] - */ -- (BOOL)distribute:(MSACDistribute *)distribute releaseAvailableWithDetails:(MSACReleaseDetails *)details; - -/** - * Callback method that will be called whenever update check reports that there is no new release available for update. - * - * @param distribute The instance of MSACDistribute. - */ -- (void)distributeNoReleaseAvailable:(MSACDistribute *)distribute; - -/** - * Callback method that will be called before the app is permanently closed for update. - * It is the right place to add any required clean ups. - * - * @param distribute The instance of MSACDistribute. - */ -- (void)distributeWillExitApp:(MSACDistribute *)distribute; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACDistributeDelegate.h.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACDistributeDelegate.h.meta deleted file mode 100644 index 34bffef4..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACDistributeDelegate.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e5395ac900386a6428fd9951b030da50 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACReleaseDetails.h b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACReleaseDetails.h deleted file mode 100644 index 101c8ea7..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACReleaseDetails.h +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#import - -@class MSACDistributionGroup; - -/** - * Details of an uploaded release. - */ -NS_SWIFT_NAME(ReleaseDetails) -@interface MSACReleaseDetails : NSObject - -/** - * ID identifying this unique release. - */ -@property(nonatomic, copy) NSNumber *id; - -/** - * The release's version - * For iOS: CFBundleVersion from info.plist - * For Android: android:versionCode from AndroidManifest.xml - */ -@property(nonatomic, copy) NSString *version; - -/** - * The release's short version. - * For iOS: CFBundleShortVersionString from info.plist - * For Android: android:versionName from AndroidManifest.xml - */ -@property(nonatomic, copy) NSString *shortVersion; - -/** - * The release's release notes. - */ -@property(nonatomic, copy) NSString *releaseNotes; - -/** - * The flag that indicates whether the release is a mandatory update or not. - */ -@property(nonatomic, getter=isMandatoryUpdate, assign) BOOL mandatoryUpdate NS_SWIFT_NAME(mandatoryUpdate); - -/** - * The URL that hosts the release notes for this release. - */ -@property(nonatomic, strong) NSURL *releaseNotesUrl; - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACReleaseDetails.h.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACReleaseDetails.h.meta deleted file mode 100644 index eeacd21b..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Headers/MSACReleaseDetails.h.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f277cbd53e853f04594a5ab1c79d8ce5 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Info.plist b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Info.plist deleted file mode 100644 index 9933c507..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Info.plist and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Info.plist.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Info.plist.meta deleted file mode 100644 index 4ad5f59f..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Info.plist.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 50a2109b056ee1140a064a3c464b2ee8 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Modules.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Modules.meta deleted file mode 100644 index 019d09b8..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Modules.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 66c93b5842a9dab4c9fa89a0973aaebd -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Modules/module.modulemap b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Modules/module.modulemap deleted file mode 100644 index 45d884df..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Modules/module.modulemap +++ /dev/null @@ -1,11 +0,0 @@ -framework module AppCenterDistribute { - umbrella header "AppCenterDistribute.h" - - export * - module * { export * } - - link framework "Foundation" - link framework "SafariServices" - link framework "UIKit" - link framework "AuthenticationServices" -} diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Modules/module.modulemap.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Modules/module.modulemap.meta deleted file mode 100644 index e9b85da8..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistribute.framework/Modules/module.modulemap.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8f2c04ddfbc43264298c1dd6d520875b -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle.meta deleted file mode 100644 index a5c81fcc..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle.meta +++ /dev/null @@ -1,34 +0,0 @@ -fileFormatVersion: 2 -guid: 442243234114d4918b5681a28da379f9 -folderAsset: yes -timeCreated: 1497997859 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/Info.plist b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/Info.plist deleted file mode 100644 index b2d0716f..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/Info.plist and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/Info.plist.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/Info.plist.meta deleted file mode 100644 index e6861908..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/Info.plist.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 33ffe2b20b168cd4682cdc41df734189 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/cs.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/cs.lproj.meta deleted file mode 100644 index ad2666e5..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/cs.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f66fe5a752d34a04ab55c945046cf2e8 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/cs.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/cs.lproj/AppCenterDistribute.strings deleted file mode 100644 index 2693e0bd..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/cs.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/cs.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/cs.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index 83f0be5b..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/cs.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: abbb3c660e5351346a94765627a00b2f -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/de.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/de.lproj.meta deleted file mode 100644 index 54e842f5..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/de.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3fa7371b5f5e10f4a831f576d0acb61e -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/de.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/de.lproj/AppCenterDistribute.strings deleted file mode 100644 index bc7d18b6..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/de.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/de.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/de.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index 6ceb4500..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/de.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 09c1c7a107b415942a84e23c34f4456e -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/en.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/en.lproj.meta deleted file mode 100644 index 7f8cdc31..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/en.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 36de9e44782a15e42bc128779d05fe8a -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/en.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/en.lproj/AppCenterDistribute.strings deleted file mode 100644 index 61329baf..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/en.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/en.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/en.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index 28ed4b67..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/en.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d0dfca790bf2f0d44bb21636eacb130e -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/es.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/es.lproj.meta deleted file mode 100644 index a3cbedd6..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/es.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ee07d1a7031754e458390b5b01283ca5 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/es.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/es.lproj/AppCenterDistribute.strings deleted file mode 100644 index a0c78ce5..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/es.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/es.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/es.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index 076713d3..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/es.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8107addc07a0725458882105f7c9dab3 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/fr.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/fr.lproj.meta deleted file mode 100644 index 2d5e53fa..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/fr.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 61484b9983f34cb4ab3d004b21fe4cc8 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/fr.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/fr.lproj/AppCenterDistribute.strings deleted file mode 100644 index 71db5aba..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/fr.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/fr.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/fr.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index 7f8e25df..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/fr.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 34b08c64446eb3c46a25a81c5015502f -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/it.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/it.lproj.meta deleted file mode 100644 index ca9e1764..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/it.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 68b5dfdefc95dea4881461da70df315b -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/it.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/it.lproj/AppCenterDistribute.strings deleted file mode 100644 index 9a1461d4..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/it.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/it.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/it.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index d00a3249..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/it.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c8e7b5f576fbf8940b952b7e0b587470 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ja.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ja.lproj.meta deleted file mode 100644 index 8dc0ec0c..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ja.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9b3f4285819e163408650d625a997184 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ja.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ja.lproj/AppCenterDistribute.strings deleted file mode 100644 index 2eb663a3..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ja.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ja.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ja.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index 5e68f193..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ja.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5b78105bf45c76644b1bf64ec9b59a9c -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ko.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ko.lproj.meta deleted file mode 100644 index ae9a48a5..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ko.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5782da2decbac044a83458f75e1379dd -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ko.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ko.lproj/AppCenterDistribute.strings deleted file mode 100644 index 7d35e54f..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ko.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ko.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ko.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index ed8d6129..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ko.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1fa533fd059f6414b853d972e39cdebf -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pl.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pl.lproj.meta deleted file mode 100644 index bbe6e3c0..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pl.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9a49e96398d68634b87eab29443f1ab0 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pl.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pl.lproj/AppCenterDistribute.strings deleted file mode 100644 index 04346ed1..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pl.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pl.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pl.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index e89e76ee..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pl.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6c64f2d416789b542badc11558995bfa -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pt.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pt.lproj.meta deleted file mode 100644 index c8892510..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pt.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fb0c85fcc6e4af54196bd08df6398ee8 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pt.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pt.lproj/AppCenterDistribute.strings deleted file mode 100644 index 6341c8dc..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pt.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pt.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pt.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index 88419450..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/pt.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cd1f86aa6693aee4bbecb00cd30bada8 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ru.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ru.lproj.meta deleted file mode 100644 index 3100a03f..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ru.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0546eeb612b64344fb6d6781fbf75203 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ru.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ru.lproj/AppCenterDistribute.strings deleted file mode 100644 index 283170ab..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ru.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ru.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ru.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index 516a3fb1..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/ru.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 65ea5b4544eb68d48b5b1d356c5eb325 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/tr.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/tr.lproj.meta deleted file mode 100644 index 3c9f8982..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/tr.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5e0e5063f07056d43a2949fa998f89e2 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/tr.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/tr.lproj/AppCenterDistribute.strings deleted file mode 100644 index 767f8eab..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/tr.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/tr.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/tr.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index 2c6579b3..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/tr.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d36f58b8514e46c49be1bbe9a50c283d -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hans.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hans.lproj.meta deleted file mode 100644 index 0b5f77d9..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hans.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e78962e43cdb30241964375638064a2b -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hans.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hans.lproj/AppCenterDistribute.strings deleted file mode 100644 index 4f88c85f..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hans.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hans.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hans.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index c3828ef6..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hans.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e555b83864c634d42a1394fd77cc1a9d -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hant.lproj.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hant.lproj.meta deleted file mode 100644 index f4c871eb..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hant.lproj.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 35b0a47af8e5a9242aad7f733f47f55a -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hant.lproj/AppCenterDistribute.strings b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hant.lproj/AppCenterDistribute.strings deleted file mode 100644 index ff29885f..00000000 Binary files a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hant.lproj/AppCenterDistribute.strings and /dev/null differ diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hant.lproj/AppCenterDistribute.strings.meta b/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hant.lproj/AppCenterDistribute.strings.meta deleted file mode 100644 index 365d1353..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/AppCenterDistributeResources.bundle/zh-Hant.lproj/AppCenterDistribute.strings.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c71b60320eaed094fa8f263a8c219952 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeDelegate.h b/Assets/AppCenter/Plugins/iOS/Distribute/DistributeDelegate.h deleted file mode 100644 index f7606feb..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeDelegate.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#ifndef DISTRIBUTE_DELEGATE_H -#define DISTRIBUTE_DELEGATE_H - -#import - -typedef bool (__cdecl *ReleaseAvailableFunction)(MSACReleaseDetails*); -typedef void (__cdecl *WillExitAppFunction)(); -typedef void (__cdecl *NoReleaseAvailableFunction)(); - -@interface UnityDistributeDelegate : NSObject - -- (BOOL)distribute:(MSACDistribute *)distribute releaseAvailableWithDetails:(MSACReleaseDetails *)details; -- (void)distributeNoReleaseAvailable:(MSACDistribute *)distribute; -- (void)distributeWillExitApp:(MSACDistribute *)distribute; -- (void)setReleaseAvailableImplementation:(ReleaseAvailableFunction)implementation; -- (void)setNoReleaseAvailableImplementation:(NoReleaseAvailableFunction)implementation; -- (void)setWillExitAppImplementation:(WillExitAppFunction)implementation; -- (void)replayReleaseAvailable; -+ (instancetype) sharedInstance; - -@end - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeDelegate.h.meta b/Assets/AppCenter/Plugins/iOS/Distribute/DistributeDelegate.h.meta deleted file mode 100644 index 341ac1da..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeDelegate.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: f38534402c1e845c38596a49a6414942 -timeCreated: 1499465049 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeDelegate.m b/Assets/AppCenter/Plugins/iOS/Distribute/DistributeDelegate.m deleted file mode 100644 index 98dc9a76..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeDelegate.m +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "DistributeDelegate.h" -#import - -@interface UnityDistributeDelegate () - -@property MSACReleaseDetails *unprocessedDetails; -@property NSObject *lockObject; -@property ReleaseAvailableFunction releaseAvailableHandler; -@property WillExitAppFunction willExitAppHandler; -@property NoReleaseAvailableFunction noReleaseAvailableHandler; - -@end - -@implementation UnityDistributeDelegate - -+ (instancetype)sharedInstance { - static UnityDistributeDelegate *sharedInstance = nil; - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - if (sharedInstance == nil) { - sharedInstance = [[self alloc] init]; - } - }); - return sharedInstance; -} - -- (instancetype)init { - if ((self = [super init])) { - _lockObject = [NSObject new]; - _unprocessedDetails = nil; - } - return self; -} - -- (void)setReleaseAvailableImplementation:(ReleaseAvailableFunction)implementation { - @synchronized (_lockObject) { - _releaseAvailableHandler = implementation; - } -} - -- (void)setWillExitAppImplementation:(WillExitAppFunction)implementation { - @synchronized (_lockObject) { - _willExitAppHandler = implementation; - } -} - -- (void)setNoReleaseAvailableImplementation:(NoReleaseAvailableFunction)implementation { - @synchronized (_lockObject) { - _noReleaseAvailableHandler = implementation; - } -} - -- (BOOL)distribute:(MSACDistribute *)distribute releaseAvailableWithDetails:(MSACReleaseDetails *)details { - ReleaseAvailableFunction handlerCopy = nil; - @synchronized (_lockObject) { - handlerCopy = _releaseAvailableHandler; - if (handlerCopy) { - return handlerCopy(details); - } - return YES; - } -} - -- (void) distributeWillExitApp:(MSACDistribute *)distribute { - WillExitAppFunction handlerCopy = nil; - @synchronized (_lockObject) { - handlerCopy = _willExitAppHandler; - } - if (handlerCopy) { - handlerCopy(); - } -} - -- (void)replayReleaseAvailable { - ReleaseAvailableFunction handlerCopy = nil; - MSACReleaseDetails *unprocessedCopy = _unprocessedDetails; - @synchronized (_lockObject) { - unprocessedCopy = nil; - handlerCopy = _releaseAvailableHandler; - } - if (unprocessedCopy && handlerCopy) { - handlerCopy(unprocessedCopy); - } -} - -- (void)distributeNoReleaseAvailable:(MSACDistribute *)distribute { - NoReleaseAvailableFunction handlerCopy = nil; - @synchronized (_lockObject) { - handlerCopy = _noReleaseAvailableHandler; - if (handlerCopy) { - handlerCopy(); - } - return; - } -} - -@end diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeDelegate.m.meta b/Assets/AppCenter/Plugins/iOS/Distribute/DistributeDelegate.m.meta deleted file mode 100644 index 0f90862e..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeDelegate.m.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: c0df9191b86ce4d75afa6d112ec7ccc7 -timeCreated: 1504046607 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeUnity.h b/Assets/AppCenter/Plugins/iOS/Distribute/DistributeUnity.h deleted file mode 100644 index 1da1cc3f..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeUnity.h +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#ifndef DISTRIBUTE_UNITY_H -#define DISTRIBUTE_UNITY_H - -#import -#import "DistributeDelegate.h" - -extern "C" void* appcenter_unity_distribute_get_type(); -extern "C" void appcenter_unity_distribute_set_enabled(bool isEnabled); -extern "C" bool appcenter_unity_distribute_is_enabled(); -extern "C" void appcenter_unity_distribute_set_install_url(char* installUrl); -extern "C" void appcenter_unity_distribute_set_api_url(char* apiUrl); -extern "C" void appcenter_unity_distribute_notify_update_action(int updateAction); -extern "C" void appcenter_unity_distribute_replay_release_available(); -extern "C" void appcenter_unity_distribute_set_release_available_impl(ReleaseAvailableFunction handler); -extern "C" void appcenter_unity_distribute_set_will_exit_app_impl(WillExitAppFunction handler); -extern "C" void appcenter_unity_distribute_set_no_release_available_impl(NoReleaseAvailableFunction handler); -extern "C" void appcenter_unity_distribute_set_delegate(); -extern "C" void appcenter_unity_distribute_check_for_update(); -extern "C" void appcenter_unity_start_distribute(); - -#endif diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeUnity.h.meta b/Assets/AppCenter/Plugins/iOS/Distribute/DistributeUnity.h.meta deleted file mode 100644 index bf91c81a..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeUnity.h.meta +++ /dev/null @@ -1,140 +0,0 @@ -fileFormatVersion: 2 -guid: cb32484b4ca924ee7a1f0e8121baa87a -timeCreated: 1499463070 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - '': Any - second: - enabled: 0 - settings: - Exclude Android: 1 - Exclude Editor: 1 - Exclude Linux: 1 - Exclude Linux64: 1 - Exclude LinuxUniversal: 1 - Exclude OSXIntel: 1 - Exclude OSXIntel64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - Exclude iOS: 0 - Exclude tvOS: 1 - data: - first: - Android: Android - second: - enabled: 0 - settings: - CPU: ARMv7 - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - data: - first: - Facebook: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Facebook: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Linux - second: - enabled: 0 - settings: - CPU: x86 - data: - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - data: - first: - Standalone: LinuxUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: OSXIntel - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXIntel64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - data: - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: AnyCPU - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: - CompileFlags: - FrameworkDependencies: - data: - first: - tvOS: tvOS - second: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeUnity.mm b/Assets/AppCenter/Plugins/iOS/Distribute/DistributeUnity.mm deleted file mode 100644 index 657b60a1..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeUnity.mm +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "DistributeUnity.h" -#import -#import "DistributeDelegate.h" -#import - -void* appcenter_unity_distribute_get_type() -{ - return (void *)CFBridgingRetain([MSACDistribute class]); -} - -void appcenter_unity_distribute_set_enabled(bool isEnabled) -{ - [MSACDistribute setEnabled:isEnabled]; -} - -bool appcenter_unity_distribute_is_enabled() -{ - return [MSACDistribute isEnabled]; -} - -void appcenter_unity_distribute_check_for_update() -{ - [MSACDistribute checkForUpdate]; -} - -void appcenter_unity_distribute_set_install_url(char* installUrl) -{ - [MSACDistribute setInstallUrl:[NSString stringWithUTF8String:installUrl]]; -} - -void appcenter_unity_distribute_set_api_url(char* apiUrl) -{ - [MSACDistribute setApiUrl:[NSString stringWithUTF8String:apiUrl]]; -} - -void appcenter_unity_distribute_notify_update_action(int updateAction) -{ - [MSACDistribute notifyUpdateAction:(MSACUpdateAction)updateAction]; -} - -void appcenter_unity_distribute_set_release_available_impl(ReleaseAvailableFunction function) -{ - [[UnityDistributeDelegate sharedInstance] setReleaseAvailableImplementation:function]; -} - -void appcenter_unity_distribute_set_will_exit_app_impl(WillExitAppFunction function) -{ - [[UnityDistributeDelegate sharedInstance] setWillExitAppImplementation:function]; -} - -void appcenter_unity_distribute_set_no_release_available_impl(NoReleaseAvailableFunction function) -{ - [[UnityDistributeDelegate sharedInstance] setNoReleaseAvailableImplementation:function]; -} - -void appcenter_unity_start_distribute() -{ - [MSACAppCenter startService:MSACDistribute.class]; -} - -void appcenter_unity_distribute_replay_release_available() -{ - [[UnityDistributeDelegate sharedInstance] replayReleaseAvailable]; -} - -void appcenter_unity_distribute_set_delegate() -{ - [MSACDistribute setDelegate:[UnityDistributeDelegate sharedInstance]]; -} diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeUnity.mm.meta b/Assets/AppCenter/Plugins/iOS/Distribute/DistributeUnity.mm.meta deleted file mode 100644 index a0ef50be..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/DistributeUnity.mm.meta +++ /dev/null @@ -1,39 +0,0 @@ -fileFormatVersion: 2 -guid: fe70803b20f3846b9ba6b77d796683d6 -timeCreated: 1499463073 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - data: - first: - tvOS: tvOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/ReleaseDetails.h b/Assets/AppCenter/Plugins/iOS/Distribute/ReleaseDetails.h deleted file mode 100644 index ead7d36b..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/ReleaseDetails.h +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import - -extern "C" int appcenter_unity_release_details_get_id(MSACReleaseDetails* details); -extern "C" const char* appcenter_unity_release_details_get_version(MSACReleaseDetails* details); -extern "C" const char* appcenter_unity_release_details_get_short_version(MSACReleaseDetails* details); -extern "C" const char* appcenter_unity_release_details_get_release_notes(MSACReleaseDetails* details); -extern "C" bool appcenter_unity_release_details_get_mandatory_update(MSACReleaseDetails* details); -extern "C" const char* appcenter_unity_release_details_get_url(MSACReleaseDetails* details); - diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/ReleaseDetails.h.meta b/Assets/AppCenter/Plugins/iOS/Distribute/ReleaseDetails.h.meta deleted file mode 100644 index 650a4fee..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/ReleaseDetails.h.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: 357280037bb664605872391e0c45e02c -timeCreated: 1499463762 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/ReleaseDetails.mm b/Assets/AppCenter/Plugins/iOS/Distribute/ReleaseDetails.mm deleted file mode 100644 index 96b079de..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/ReleaseDetails.mm +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -#import "ReleaseDetails.h" -#import "../Core/Utility/NSStringHelper.h" -#import -#import - -int appcenter_unity_release_details_get_id(MSACReleaseDetails* details) -{ - return [[details id] intValue]; -} - -const char* appcenter_unity_release_details_get_version(MSACReleaseDetails* details) -{ - return appcenter_unity_ns_string_to_cstr([details version]); -} - -const char* appcenter_unity_release_details_get_short_version(MSACReleaseDetails* details) -{ - return appcenter_unity_ns_string_to_cstr([details shortVersion]); -} - -const char* appcenter_unity_release_details_get_release_notes(MSACReleaseDetails* details) -{ - return appcenter_unity_ns_string_to_cstr([details releaseNotes]); -} - -bool appcenter_unity_release_details_get_mandatory_update(MSACReleaseDetails* details) -{ - return [details isMandatoryUpdate]; -} - -const char* appcenter_unity_release_details_get_url(MSACReleaseDetails* details) -{ - return appcenter_unity_ns_string_to_cstr([[details releaseNotesUrl] absoluteString]); -} - diff --git a/Assets/AppCenter/Plugins/iOS/Distribute/ReleaseDetails.mm.meta b/Assets/AppCenter/Plugins/iOS/Distribute/ReleaseDetails.mm.meta deleted file mode 100644 index 26cab563..00000000 --- a/Assets/AppCenter/Plugins/iOS/Distribute/ReleaseDetails.mm.meta +++ /dev/null @@ -1,33 +0,0 @@ -fileFormatVersion: 2 -guid: daa70cacdfe5a4eda986642c3e744ec8 -timeCreated: 1499463762 -licenseType: Pro -PluginImporter: - serializedVersion: 2 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - isOverridable: 0 - platformData: - data: - first: - Any: - second: - enabled: 0 - settings: {} - data: - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - data: - first: - iPhone: iOS - second: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Properties.meta b/Assets/AppCenter/Properties.meta deleted file mode 100644 index 6cf37254..00000000 --- a/Assets/AppCenter/Properties.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: e7606df5c9e3446f68df7d48f1e08c8e -folderAsset: yes -timeCreated: 1500657912 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Properties/AppSecretAttribute.cs b/Assets/AppCenter/Properties/AppSecretAttribute.cs deleted file mode 100644 index 8ca113ea..00000000 --- a/Assets/AppCenter/Properties/AppSecretAttribute.cs +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using UnityEngine; - -[AttributeUsage(AttributeTargets.Field)] -public class AppSecretAttribute : PropertyAttribute -{ - public string Name { get; set; } - - public AppSecretAttribute() - { - } - - public AppSecretAttribute(string name) - { - Name = name; - } -} diff --git a/Assets/AppCenter/Properties/AppSecretAttribute.cs.meta b/Assets/AppCenter/Properties/AppSecretAttribute.cs.meta deleted file mode 100644 index c3b49b7b..00000000 --- a/Assets/AppCenter/Properties/AppSecretAttribute.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 353caa01ed84c4552bd9b327a18406cf -timeCreated: 1504046935 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Properties/CustomDropDownPropertyAttribute.cs b/Assets/AppCenter/Properties/CustomDropDownPropertyAttribute.cs deleted file mode 100644 index e421ec01..00000000 --- a/Assets/AppCenter/Properties/CustomDropDownPropertyAttribute.cs +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; -using UnityEngine; - -[AttributeUsage(AttributeTargets.Field, AllowMultiple = true)] -public class CustomDropDownPropertyAttribute : PropertyAttribute -{ - public CustomDropDownPropertyAttribute(string key, int value) - { - SelectedKey = key; - SelectedValue = value; - } - - public CustomDropDownPropertyAttribute() - { - } - - public string SelectedKey { get; private set; } - public int SelectedValue { get; private set; } -} diff --git a/Assets/AppCenter/Properties/CustomDropDownPropertyAttribute.cs.meta b/Assets/AppCenter/Properties/CustomDropDownPropertyAttribute.cs.meta deleted file mode 100644 index fea7fd95..00000000 --- a/Assets/AppCenter/Properties/CustomDropDownPropertyAttribute.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7647137f3538f414bbcdbd68470d7029 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Properties/CustomUrlProperty.cs b/Assets/AppCenter/Properties/CustomUrlProperty.cs deleted file mode 100644 index 771aecd6..00000000 --- a/Assets/AppCenter/Properties/CustomUrlProperty.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; - -[Serializable] -public class CustomUrlProperty -{ - public CustomUrlProperty(string urlName) - { - UrlName = urlName; - } - public string UrlName = ""; - public bool UseCustomUrl; - public string Url = ""; -} diff --git a/Assets/AppCenter/Properties/CustomUrlProperty.cs.meta b/Assets/AppCenter/Properties/CustomUrlProperty.cs.meta deleted file mode 100644 index db02d3e4..00000000 --- a/Assets/AppCenter/Properties/CustomUrlProperty.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 40bd9a0cd20f24cff9583ac10d6f4e7e -timeCreated: 1504725583 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/Properties/MaxStorageSizeProperty.cs b/Assets/AppCenter/Properties/MaxStorageSizeProperty.cs deleted file mode 100644 index e7b6a374..00000000 --- a/Assets/AppCenter/Properties/MaxStorageSizeProperty.cs +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT license. - -using System; - -[Serializable] -public class MaxStorageSizeProperty -{ - public bool UseCustomMaxStorageSize; - public long Size = 0; -} diff --git a/Assets/AppCenter/Properties/MaxStorageSizeProperty.cs.meta b/Assets/AppCenter/Properties/MaxStorageSizeProperty.cs.meta deleted file mode 100644 index edb1c8f6..00000000 --- a/Assets/AppCenter/Properties/MaxStorageSizeProperty.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d0c60fb3fe4e32a4ebb0707e69bd1a64 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenter/link.xml b/Assets/AppCenter/link.xml deleted file mode 100644 index 4ee56b5a..00000000 --- a/Assets/AppCenter/link.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/Assets/AppCenter/link.xml.meta b/Assets/AppCenter/link.xml.meta deleted file mode 100644 index eceede03..00000000 --- a/Assets/AppCenter/link.xml.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b9bf926a5ff5a4913a15aa789ef26139 -timeCreated: 1504114716 -licenseType: Pro -TextScriptImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions.meta b/Assets/AppCenterEditorExtensions.meta deleted file mode 100644 index ee0f7258..00000000 --- a/Assets/AppCenterEditorExtensions.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6c0f1ea465a3e4ecfa1b00ca7c561e4e -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor.meta b/Assets/AppCenterEditorExtensions/Editor.meta deleted file mode 100644 index 428655b7..00000000 --- a/Assets/AppCenterEditorExtensions/Editor.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: eaa170c0e76514efb9730ada5c2f86d9 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/AppCenterEditor.cs b/Assets/AppCenterEditorExtensions/Editor/AppCenterEditor.cs deleted file mode 100644 index 53ba5fe6..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/AppCenterEditor.cs +++ /dev/null @@ -1,381 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.IO; -using UnityEditor; -using UnityEngine; - -namespace AppCenterEditor -{ - public class AppCenterEditor : EditorWindow - { - private Vector2 scrollPosition = Vector2.zero; - private const string EditorExtensionsDownloadFormat = "https://github.com/Microsoft/AppCenter-SDK-Unity-Extension/releases/download/{0}/AppCenterEditorExtensions-v{0}.unitypackage"; - public enum EdExStates { OnMenuItemClicked, OnHttpReq, OnHttpRes, OnError, OnSuccess, OnWarning } - - public delegate void AppCenterEdExStateHandler(EdExStates state, string status, string misc); - public static event AppCenterEdExStateHandler EdExStateUpdate; - - public static Dictionary blockingRequests = new Dictionary(); // key and blockingRequest start time - private static float blockingRequestTimeOut = 10f; // abandon the block after this many seconds. - - public static string latestEdExVersion = string.Empty; - - private static Rect scrollInnerContainer; - public static float InnerContainerWidth - { - get - { - return scrollInnerContainer.width; - } - } - - internal static AppCenterEditor window; - - void OnEnable() - { - if (window == null) - { - window = this; - window.minSize = new Vector2(320, 0); - } - - if (!IsEventHandlerRegistered(StateUpdateHandler)) - { - EdExStateUpdate += StateUpdateHandler; - } - - GetLatestEdExVersion(); - } - - void OnDisable() - { - AppCenterEditorPrefsSO.Instance.PanelIsShown = false; - - if (IsEventHandlerRegistered(StateUpdateHandler)) - { - EdExStateUpdate -= StateUpdateHandler; - } - } - - void OnFocus() - { - OnEnable(); - } - - [MenuItem("Window/App Center/Editor Extensions")] - static void AppCenterServices() - { - var editorAsm = typeof(Editor).Assembly; - var inspWndType = editorAsm.GetType("UnityEditor.SceneHierarchyWindow"); - - if (inspWndType == null) - { - inspWndType = editorAsm.GetType("UnityEditor.InspectorWindow"); - } - - window = GetWindow(inspWndType); - window.titleContent = new GUIContent("App Center"); - AppCenterEditorPrefsSO.Instance.PanelIsShown = true; - } - - [InitializeOnLoad] - public class Startup - { - static Startup() - { - if (AppCenterEditorPrefsSO.Instance.PanelIsShown || !AppCenterEditorSDKTools.IsInstalled) - { - Coroutiner.StartCoroutine(OpenAppCenterServices()); - } - } - } - - static IEnumerator OpenAppCenterServices() - { - yield return new WaitForSeconds(1f); - if (!Application.isPlaying) - { - AppCenterServices(); - } - } - - private void OnGUI() - { - HideRepaintErrors(OnGuiInternal); - } - - private static void HideRepaintErrors(Action action) - { - try - { - action(); - } - catch (Exception e) - { - if (!e.Message.ToLower().Contains("repaint")) - throw; - // Hide any repaint issues when recompiling - } - } - - private void OnGuiInternal() - { - GUI.skin = AppCenterEditorHelper.uiStyle; - scrollPosition = GUILayout.BeginScrollView(scrollPosition, false, false, GUILayout.Width(window.position.width), GUILayout.Height(window.position.height)); - // Gets a rectangle with size of inner scroll area. - scrollInnerContainer = EditorGUILayout.BeginHorizontal(GUILayout.ExpandHeight(true), GUILayout.ExpandWidth(true)); - using (new AppCenterGuiFieldHelper.UnityVertical( - GUILayout.Width(scrollInnerContainer.width), - GUILayout.MaxWidth(scrollInnerContainer.width), - GUILayout.Height(scrollInnerContainer.height))) - { - GUI.enabled = IsGUIEnabled(); - AppCenterEditorHeader.DrawHeader(); - AppCenterEditorMenu.DrawMenu(); - AppCenterEditorSDKTools.DrawSdkPanel(); - foreach (var package in AppCenterSDKPackage.SupportedPackages) - { - AppCenterEditorSDKTools.DisplayPackagePanel(package); - } - AppCenterEditorSDKTools.SDKState state = AppCenterEditorSDKTools.GetSDKState(); - if (state == AppCenterEditorSDKTools.SDKState.SDKIsFull || state == AppCenterEditorSDKTools.SDKState.SDKNotFull) - { - AppCenterEditorSDKTools.ShowUpgradePanel(); - } - DisplayEditorExtensionHelpMenu(); - } - EditorGUILayout.EndHorizontal(); - GUILayout.EndScrollView(); - PruneBlockingRequests(); - Repaint(); - } - - public static bool IsGUIEnabled() - { - if (blockingRequests.Count > 0 || EditorApplication.isCompiling) - { - return false; - } - AppCenterEditorSDKTools.SDKState state = AppCenterEditorSDKTools.GetSDKState(); - return - !AppCenterEditorSDKTools.IsUpgrading && - state != AppCenterEditorSDKTools.SDKState.SDKNotFullAndInstalling && - state != AppCenterEditorSDKTools.SDKState.SDKNotInstalledAndInstalling; - } - - private static void DisplayEditorExtensionHelpMenu() - { - using (new AppCenterGuiFieldHelper.UnityVertical(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleGray1"))) - { - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleClear"))) - { - GUILayout.FlexibleSpace(); - EditorGUILayout.LabelField("App Center Editor Extensions: " + AppCenterEditorHelper.EDEX_VERSION, AppCenterEditorHelper.uiStyle.GetStyle("versionText")); - GUILayout.FlexibleSpace(); - } - - if (ShowEdExUpgrade()) - { - using (new AppCenterGuiFieldHelper.UnityHorizontal()) - { - GUILayout.FlexibleSpace(); - if (GUILayout.Button("UPGRADE EDITOR EXTENSION", AppCenterEditorHelper.uiStyle.GetStyle("textButtonMagenta"))) - { - UpgradeEdEx(); - } - GUILayout.FlexibleSpace(); - } - } - - if (!string.IsNullOrEmpty(AppCenterEditorHelper.EDEX_ROOT)) - { - using (new AppCenterGuiFieldHelper.UnityHorizontal()) - { - GUILayout.FlexibleSpace(); - if (GUILayout.Button("UNINSTALL EDITOR EXTENSION", AppCenterEditorHelper.uiStyle.GetStyle("textButton"))) - { - RemoveEdEx(); - } - GUILayout.FlexibleSpace(); - } - } - } - } - - #region menu and helper methods - - public static void RaiseStateUpdate(EdExStates state, string status = null, string json = null) - { - if (EdExStateUpdate != null) - { - EdExStateUpdate(state, status, json); - } - } - - private static void PruneBlockingRequests() - { - List itemsToRemove = new List(); - foreach (var req in blockingRequests) - if (req.Value + blockingRequestTimeOut < (float)EditorApplication.timeSinceStartup) - itemsToRemove.Add(req.Key); - - foreach (var item in itemsToRemove) - { - ClearBlockingRequest(item); - RaiseStateUpdate(EdExStates.OnWarning, string.Format(" Request {0} has timed out after {1} seconds.", item, blockingRequestTimeOut)); - } - } - - private static void AddBlockingRequest(string state) - { - blockingRequests[state] = (float)EditorApplication.timeSinceStartup; - } - - private static void ClearBlockingRequest(string state = null) - { - if (state == null) - { - blockingRequests.Clear(); - } - else if (blockingRequests.ContainsKey(state)) - { - blockingRequests.Remove(state); - } - } - - /// - /// Handles state updates within the editor extension. - /// - /// the state that triggered this event. - /// a generic message about the status. - /// a generic container for additional JSON encoded info. - private void StateUpdateHandler(EdExStates state, string status, string json) - { - switch (state) - { - case EdExStates.OnMenuItemClicked: - break; - - case EdExStates.OnHttpReq: - break; - - case EdExStates.OnHttpRes: - break; - - case EdExStates.OnError: - ProgressBar.UpdateState(ProgressBar.ProgressBarStates.error); - EdExLogger.LoggerInstance.LogError(string.Format("App Center Editor Extensions: {0}", status)); - break; - - case EdExStates.OnWarning: - ProgressBar.UpdateState(ProgressBar.ProgressBarStates.warning); - EdExLogger.LoggerInstance.LogWarning(string.Format("App Center Editor Extensions: {0}", status)); - break; - - case EdExStates.OnSuccess: - ProgressBar.UpdateState(ProgressBar.ProgressBarStates.success); - break; - } - } - - public static bool IsEventHandlerRegistered(AppCenterEdExStateHandler prospectiveHandler) - { - if (EdExStateUpdate == null) - return false; - - foreach (AppCenterEdExStateHandler existingHandler in EdExStateUpdate.GetInvocationList()) - if (existingHandler == prospectiveHandler) - return true; - return false; - } - - #endregion - - private static void GetLatestEdExVersion() - { - var threshold = AppCenterEditorPrefsSO.Instance.EdSet_lastEdExVersionCheck != DateTime.MinValue ? AppCenterEditorPrefsSO.Instance.EdSet_lastEdExVersionCheck.AddHours(1) : DateTime.MinValue; - - if (DateTime.Today > threshold) - { - AppCenterEditorHttp.MakeGitHubApiCall("https://api.github.com/repos/Microsoft/AppCenter-SDK-Unity-Extension/git/refs/tags", (version) => - { - latestEdExVersion = version ?? Constants.UnknownVersion; - AppCenterEditorPrefsSO.Instance.EdSet_latestEdExVersion = latestEdExVersion; - }); - } - else - { - latestEdExVersion = AppCenterEditorPrefsSO.Instance.EdSet_latestEdExVersion; - } - } - - private static bool ShowEdExUpgrade() - { - if (string.IsNullOrEmpty(latestEdExVersion) || latestEdExVersion == Constants.UnknownVersion) - return false; - - if (string.IsNullOrEmpty(AppCenterEditorHelper.EDEX_VERSION) || AppCenterEditorHelper.EDEX_VERSION == Constants.UnknownVersion) - return true; - - string[] currrent = AppCenterEditorHelper.EDEX_VERSION.Split('.'); - if (currrent.Length != 3) - return true; - - string[] latest = latestEdExVersion.Split('.'); - return latest.Length != 3 - || int.Parse(latest[0]) > int.Parse(currrent[0]) - || int.Parse(latest[1]) > int.Parse(currrent[1]) - || int.Parse(latest[2]) > int.Parse(currrent[2]); - } - - private static void RemoveEdEx(bool prompt = true) - { - if (prompt && !EditorUtility.DisplayDialog("Confirm Editor Extensions Removal", "This action will remove App Center Editor Extensions from the current project.", "Confirm", "Cancel")) - return; - - try - { - window.Close(); - var edExDirectory = new DirectoryInfo(AppCenterEditorHelper.EDEX_ROOT).Parent.FullName; - EdExLogger.LoggerInstance.LogWithTimeStamp("Deleting directory: " + edExDirectory); - FileUtil.DeleteFileOrDirectory(edExDirectory); - var edExDirectoryMeta = edExDirectory + ".meta"; - EdExLogger.LoggerInstance.LogWithTimeStamp("Deleting file: " + edExDirectoryMeta); - FileUtil.DeleteFileOrDirectory(edExDirectoryMeta); - if (prompt) - { - AssetDatabase.Refresh(); - } - PlayerPrefs.DeleteKey(AppCenterEditorPrefsSO.SdkLastCheckDateKey); - PlayerPrefs.DeleteKey(AppCenterEditorPrefsSO.EdExLastCheckDateKey); - } - catch (Exception ex) - { - EdExLogger.LoggerInstance.LogError("Failed to remove App Center Editor Extensions: " + ex); - } - } - - private static void UpgradeEdEx() - { - if (EditorUtility.DisplayDialog("Confirm EdEx Upgrade", "This action will remove the current App Center Editor Extensions and install the lastet version.", "Confirm", "Cancel")) - { - RemoveEdEx(false); - ImportLatestEdEx(); - } - } - - private static void ImportLatestEdEx() - { - var downloadUrl = string.Format(EditorExtensionsDownloadFormat, latestEdExVersion); - AppCenterEditorHttp.MakeDownloadCall(downloadUrl, file => - { - EdExLogger.LoggerInstance.LogWithTimeStamp("Importing package: " + file); - AssetDatabase.ImportPackage(file, false); - EdExLogger.LoggerInstance.LogWithTimeStamp("Deleteing file: " + file); - FileUtil.DeleteFileOrDirectory(file); - EdExLogger.LoggerInstance.LogWithTimeStamp("App Center Editor Extensions upgrade complete"); - }); - } - } -} \ No newline at end of file diff --git a/Assets/AppCenterEditorExtensions/Editor/AppCenterEditor.cs.meta b/Assets/AppCenterEditorExtensions/Editor/AppCenterEditor.cs.meta deleted file mode 100644 index a7a181cf..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/AppCenterEditor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b14017bd1faea40b6a39537f07d6a00b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Resources.meta b/Assets/AppCenterEditorExtensions/Editor/Resources.meta deleted file mode 100644 index 5c6adaf1..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Resources.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e4bc77e43c99f49918d2158e6d8434ca -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Resources/AppCenterEditorPrefsSO.asset b/Assets/AppCenterEditorExtensions/Editor/Resources/AppCenterEditorPrefsSO.asset deleted file mode 100644 index cf105fed..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Resources/AppCenterEditorPrefsSO.asset +++ /dev/null @@ -1,18 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: cbb9dcf2e78804b9384db79873454e2f, type: 3} - m_Name: AppCenterEditorPrefsSO - m_EditorClassIdentifier: - SdkPath: - EdExPath: - PanelIsShown: 0 - curMainMenuIdx: 0 diff --git a/Assets/AppCenterEditorExtensions/Editor/Resources/AppCenterEditorPrefsSO.asset.meta b/Assets/AppCenterEditorExtensions/Editor/Resources/AppCenterEditorPrefsSO.asset.meta deleted file mode 100644 index f90e449d..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Resources/AppCenterEditorPrefsSO.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6778fb10ccf0e4a0dab77ba0a27a74f5 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 11400000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts.meta deleted file mode 100644 index 713bc408..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c2af280239726e24b9781b1e67c7f0ae -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK.meta deleted file mode 100644 index 660f0ae7..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9c9afa19d13e148fe93230b0075ee4e3 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/AppCenterEditorHttp.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/AppCenterEditorHttp.cs deleted file mode 100644 index 4c7df7f1..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/AppCenterEditorHttp.cs +++ /dev/null @@ -1,165 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using UnityEditor; -using UnityEngine.Networking; - -namespace AppCenterEditor -{ - public class AppCenterEditorHttp : Editor - { - internal static void MakeDownloadCall(string url, Action resultCallback) - { - EdExLogger.LoggerInstance.LogWithTimeStamp("Downloading file: " + url); - var www = UnityWebRequest.Get(url); - AppCenterEditor.RaiseStateUpdate(AppCenterEditor.EdExStates.OnHttpReq, url, AppCenterEditorHelper.MSG_SPIN_BLOCK); - Coroutiner.StartCoroutine(PostDownload(www, response => - { - resultCallback(WriteResultFile(url, response)); - }, AppCenterEditorHelper.SharedErrorCallback)); - } - - internal static void MakeDownloadCall(IEnumerable urls, Action> resultCallback) - { - EdExLogger.LoggerInstance.LogWithTimeStamp("Downloading files: " + string.Join(", ", urls.ToArray())); - var wwws = new List(); - var downloadRequests = new List(); - foreach (var url in urls) - { - var www = UnityWebRequest.Get(url); - wwws.Add(www); - downloadRequests.Add(new DownloadRequest(url, www)); - } - AppCenterEditor.RaiseStateUpdate(AppCenterEditor.EdExStates.OnHttpReq, "Downloading files", AppCenterEditorHelper.MSG_SPIN_BLOCK); - Coroutiner.StartCoroutine(DownloadFiles(downloadRequests, resultCallback, AppCenterEditorHelper.SharedErrorCallback)); - } - - internal static void MakeGitHubApiCall(string url, Action resultCallback) - { - var www = UnityWebRequest.Get(url); - Coroutiner.StartCoroutine(Post(www, response => { OnGitHubSuccess(resultCallback, response); }, AppCenterEditorHelper.SharedErrorCallback)); - } - - private static IEnumerator Post(UnityWebRequest www, Action callBack, Action errorCallback) - { - yield return www.SendWebRequest(); - if (!string.IsNullOrEmpty(www.error)) - { - errorCallback(www.error); - } - else - { - callBack(www.downloadHandler.text); - } - } - - private static IEnumerator PostDownload(UnityWebRequest www, Action callBack, Action errorCallback) - { - yield return www.SendWebRequest(); - if (!string.IsNullOrEmpty(www.error)) - { - errorCallback(www.error); - } - else - { - callBack(www.downloadHandler.data); - } - } - - private static IEnumerator DownloadFiles(IEnumerable downloadRequests, Action> resultCallback, Action errorCallback) - { - var downloadedFiles = new List(); - foreach (var downloadRequest in downloadRequests) - { - yield return downloadRequest.WWW.SendWebRequest(); - - if (!downloadRequest.WWW.isHttpError && !downloadRequest.WWW.isNetworkError) - { - var downloadedFile = WriteResultFile(downloadRequest.Url, downloadRequest.WWW.downloadHandler.data); - downloadedFiles.Add(downloadedFile); - } - else - { - errorCallback(downloadRequest.WWW.error); - yield break; - } - } - resultCallback(downloadedFiles); - } - - private static void OnGitHubSuccess(Action resultCallback, string response) - { - if (resultCallback == null) - { - return; - } - var jsonResponse = JsonWrapper.DeserializeObject>(response); - if (jsonResponse == null || jsonResponse.Count == 0) - { - return; - } - // list seems to come back in ascending order (oldest -> newest) - var latestSdkTag = (JsonObject)jsonResponse[jsonResponse.Count - 1]; - object tag; - if (latestSdkTag.TryGetValue("ref", out tag)) - { - var startIndex = tag.ToString().LastIndexOf('/') + 1; - var length = tag.ToString().Length - startIndex; - resultCallback(tag.ToString().Substring(startIndex, length)); - } - else - { - resultCallback(null); - } - } - - private static string WriteResultFile(string url, byte[] response) - { - AppCenterEditor.RaiseStateUpdate(AppCenterEditor.EdExStates.OnHttpRes, url); - string fileName; - if (url.IndexOf("AppCenterEditorExtensions-v") > -1) - { - fileName = AppCenterEditorHelper.EDEX_UPGRADE_PATH; - } - else if (url.IndexOf("AppCenterAnalytics-v") > -1) - { - fileName = AppCenterEditorHelper.ANALYTICS_SDK_DOWNLOAD_PATH; - } - else if (url.IndexOf("AppCenterCrashes-v") > -1) - { - fileName = AppCenterEditorHelper.CRASHES_SDK_DOWNLOAD_PATH; - } - else if (url.IndexOf("AppCenterDistribute-v") > -1) - { - fileName = AppCenterEditorHelper.DISTRIBUTE_SDK_DOWNLOAD_PATH; - } - else - { - fileName = AppCenterEditorHelper.EDEX_PACKAGES_PATH; - } - var fileSaveLocation = AppCenterEditorHelper.EDEX_ROOT + fileName; - var fileSaveDirectory = Path.GetDirectoryName(fileSaveLocation); - EdExLogger.LoggerInstance.LogWithTimeStamp("Saving " + response.Length + " bytes to: " + fileSaveLocation); - if (!Directory.Exists(fileSaveDirectory)) - { - Directory.CreateDirectory(fileSaveDirectory); - } - File.WriteAllBytes(fileSaveLocation, response); - return fileSaveLocation; - } - - private class DownloadRequest - { - public string Url { get; private set; } - public UnityWebRequest WWW { get; private set; } - - public DownloadRequest(string url, UnityWebRequest www) - { - Url = url; - WWW = www; - } - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/AppCenterEditorHttp.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/AppCenterEditorHttp.cs.meta deleted file mode 100644 index 7a89b121..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/AppCenterEditorHttp.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0adb37d42167d491e872d983c8736732 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/Constants.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/Constants.cs deleted file mode 100644 index 8e10fee8..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/Constants.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace AppCenterEditor -{ - public class Constants - { - public const string UnknownVersion = "Unknown"; - public const string WrapperSdkClassName = "Microsoft.AppCenter.Unity.WrapperSdk"; - public const string WrapperSdkVersionFieldName = "WrapperSdkVersion"; - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/Constants.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/Constants.cs.meta deleted file mode 100644 index 5ef129d7..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/Constants.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9834441b45590434291881207fa97dd9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/ISerializer.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/ISerializer.cs deleted file mode 100644 index 52cc33e0..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/ISerializer.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace AppCenterEditor -{ - public interface ISerializer - { - T DeserializeObject(string json); - T DeserializeObject(string json, object jsonSerializerStrategy); - object DeserializeObject(string json); - - string SerializeObject(object json); - string SerializeObject(object json, object jsonSerializerStrategy); - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/ISerializer.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/ISerializer.cs.meta deleted file mode 100644 index 29d8e6c1..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/ISerializer.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 573b77bd61fac61499edeaadad015476 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/JsonWrapper.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/JsonWrapper.cs deleted file mode 100644 index e1f707bc..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/JsonWrapper.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace AppCenterEditor -{ - public class JsonWrapper - { - private static ISerializer _instance = new SimpleJsonInstance(); - - /// - /// Use this property to override the Serialization for the SDK. - /// - public static ISerializer Instance - { - get { return _instance; } - set { _instance = value; } - } - - public static T DeserializeObject(string json) - { - return _instance.DeserializeObject(json); - } - - public static T DeserializeObject(string json, object jsonSerializerStrategy) - { - return _instance.DeserializeObject(json, jsonSerializerStrategy); - } - - public static object DeserializeObject(string json) - { - return _instance.DeserializeObject(json); - } - - public static string SerializeObject(object json) - { - return _instance.SerializeObject(json); - } - - public static string SerializeObject(object json, object jsonSerializerStrategy) - { - return _instance.SerializeObject(json, jsonSerializerStrategy); - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/JsonWrapper.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/JsonWrapper.cs.meta deleted file mode 100644 index bb459ea0..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/JsonWrapper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 92da912d9a571464e90d2d08c293f5ea -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/PackagesInstaller.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/PackagesInstaller.cs deleted file mode 100644 index 0885d424..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/PackagesInstaller.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using System.Collections.Generic; -using UnityEditor; - -namespace AppCenterEditor -{ - public static class PackagesInstaller - { - public static void ImportLatestSDK(IEnumerable packagesToImport, string version, string existingSdkPath = null) - { - try - { - var downloadUrls = new List(); - foreach (var package in packagesToImport) - { - downloadUrls.Add(package.GetDownloadUrl(version)); - } - AppCenterEditorHttp.MakeDownloadCall(downloadUrls, downloadedFiles => - { - try - { - foreach (var file in downloadedFiles) - { - EdExLogger.LoggerInstance.LogWithTimeStamp("Importing package: " + file); - AssetDatabase.ImportPackage(file, false); - EdExLogger.LoggerInstance.LogWithTimeStamp("Deleting file: " + file); - FileUtil.DeleteFileOrDirectory(file); - } - AppCenterEditorPrefsSO.Instance.SdkPath = string.IsNullOrEmpty(existingSdkPath) ? AppCenterEditorHelper.DEFAULT_SDK_LOCATION : existingSdkPath; - //AppCenterEditorDataService.SaveEnvDetails(); - EdExLogger.LoggerInstance.LogWithTimeStamp("App Center SDK install complete"); - } - catch (Exception exception) - { - EdExLogger.LoggerInstance.LogError("Failed to import packages: " + exception); - } - finally - { - AppCenterEditorSDKTools.IsInstalling = false; - } - }); - } - catch - { - AppCenterEditorSDKTools.IsInstalling = false; - throw; - } - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/PackagesInstaller.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/PackagesInstaller.cs.meta deleted file mode 100644 index cb6adc6a..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/PackagesInstaller.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 49ddc3aac61e4af42bf36700ad5ccb45 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJson.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJson.cs deleted file mode 100644 index e231f158..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJson.cs +++ /dev/null @@ -1,2040 +0,0 @@ -//----------------------------------------------------------------------- -// -// Copyright (c) 2011, The Outercurve Foundation. -// -// Licensed under the MIT License (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.opensource.org/licenses/mit-license.php -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Nathan Totten (ntotten.com), Jim Zimmerman (jimzimmerman.com) and Prabir Shrestha (prabir.me) -// https://github.com/facebook-csharp-sdk/simple-json -//----------------------------------------------------------------------- - -// VERSION: - -// NOTE: uncomment the following line to make SimpleJson class internal. -//#define SIMPLE_JSON_INTERNAL - -// NOTE: uncomment the following line to make JsonArray and JsonObject class internal. -//#define SIMPLE_JSON_OBJARRAYINTERNAL - -// NOTE: uncomment the following line to enable dynamic support. -//#define SIMPLE_JSON_DYNAMIC - -// NOTE: uncomment the following line to enable DataContract support. -//#define SIMPLE_JSON_DATACONTRACT - -// NOTE: uncomment the following line to enable IReadOnlyCollection and IReadOnlyList support. -//#define SIMPLE_JSON_READONLY_COLLECTIONS - -// NOTE: uncomment the following line if you are compiling under Window Metro style application/library. -// usually already defined in properties -#if UNITY_WSA && UNITY_WP8 -#define NETFX_CORE -#endif - -// If you are targetting WinStore, WP8 and NET4.5+ PCL make sure to -#if UNITY_WP8 || UNITY_WP8_1 || UNITY_WSA -// #define SIMPLE_JSON_TYPEINFO -#endif - -// original json parsing code from http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html - -#if NETFX_CORE -#define SIMPLE_JSON_TYPEINFO -#endif - -using System; -using System.CodeDom.Compiler; -using System.Collections; -using System.Collections.Generic; -using System.ComponentModel; -using System.Diagnostics.CodeAnalysis; -#if SIMPLE_JSON_DYNAMIC -using System.Dynamic; -#endif -using System.Globalization; -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.Serialization; -using System.Text; - -namespace AppCenterEditor -{ - /// - /// Represents the json array. - /// - [GeneratedCode("simple-json", "1.0.0")] - [EditorBrowsable(EditorBrowsableState.Never)] - [SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")] -#if SIMPLE_JSON_OBJARRAYINTERNAL - internal -#else - public -#endif - class JsonArray : List - { - /// - /// Initializes a new instance of the class. - /// - public JsonArray() { } - - /// - /// Initializes a new instance of the class. - /// - /// The capacity of the json array. - public JsonArray(int capacity) : base(capacity) { } - - /// - /// The json representation of the array. - /// - /// The json representation of the array. - public override string ToString() - { - return AppCenterSimpleJson.SerializeObject(this) ?? string.Empty; - } - } - - /// - /// Represents the json object. - /// - [GeneratedCode("simple-json", "1.0.0")] - [EditorBrowsable(EditorBrowsableState.Never)] - [SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")] -#if SIMPLE_JSON_OBJARRAYINTERNAL - internal -#else - public -#endif - class JsonObject : -#if SIMPLE_JSON_DYNAMIC - DynamicObject, -#endif - IDictionary - { - /// - /// The internal member dictionary. - /// - private readonly Dictionary _members; - - /// - /// Initializes a new instance of . - /// - public JsonObject() - { - _members = new Dictionary(); - } - - /// - /// Initializes a new instance of . - /// - /// The implementation to use when comparing keys, or null to use the default for the type of the key. - public JsonObject(IEqualityComparer comparer) - { - _members = new Dictionary(comparer); - } - - /// - /// Gets the at the specified index. - /// - /// - public object this[int index] - { - get { return GetAtIndex(_members, index); } - } - - internal static object GetAtIndex(IDictionary obj, int index) - { - if (obj == null) - throw new ArgumentNullException("obj"); - if (index >= obj.Count) - throw new ArgumentOutOfRangeException("index"); - int i = 0; - foreach (KeyValuePair o in obj) - if (i++ == index) return o.Value; - return null; - } - - /// - /// Adds the specified key. - /// - /// The key. - /// The value. - public void Add(string key, object value) - { - _members.Add(key, value); - } - - /// - /// Determines whether the specified key contains key. - /// - /// The key. - /// - /// true if the specified key contains key; otherwise, false. - /// - public bool ContainsKey(string key) - { - return _members.ContainsKey(key); - } - - /// - /// Gets the keys. - /// - /// The keys. - public ICollection Keys - { - get { return _members.Keys; } - } - - /// - /// Removes the specified key. - /// - /// The key. - /// - public bool Remove(string key) - { - return _members.Remove(key); - } - - /// - /// Tries the get value. - /// - /// The key. - /// The value. - /// - public bool TryGetValue(string key, out object value) - { - return _members.TryGetValue(key, out value); - } - - /// - /// Gets the values. - /// - /// The values. - public ICollection Values - { - get { return _members.Values; } - } - - /// - /// Gets or sets the with the specified key. - /// - /// - public object this[string key] - { - get { return _members[key]; } - set { _members[key] = value; } - } - - /// - /// Adds the specified item. - /// - /// The item. - public void Add(KeyValuePair item) - { - _members.Add(item.Key, item.Value); - } - - /// - /// Clears this instance. - /// - public void Clear() - { - _members.Clear(); - } - - /// - /// Determines whether [contains] [the specified item]. - /// - /// The item. - /// - /// true if [contains] [the specified item]; otherwise, false. - /// - public bool Contains(KeyValuePair item) - { - return _members.ContainsKey(item.Key) && _members[item.Key] == item.Value; - } - - /// - /// Copies to. - /// - /// The array. - /// Index of the array. - public void CopyTo(KeyValuePair[] array, int arrayIndex) - { - if (array == null) throw new ArgumentNullException("array"); - int num = Count; - foreach (KeyValuePair kvp in this) - { - array[arrayIndex++] = kvp; - if (--num <= 0) - return; - } - } - - /// - /// Gets the count. - /// - /// The count. - public int Count - { - get { return _members.Count; } - } - - /// - /// Gets a value indicating whether this instance is read only. - /// - /// - /// true if this instance is read only; otherwise, false. - /// - public bool IsReadOnly - { - get { return false; } - } - - /// - /// Removes the specified item. - /// - /// The item. - /// - public bool Remove(KeyValuePair item) - { - return _members.Remove(item.Key); - } - - /// - /// Gets the enumerator. - /// - /// - public IEnumerator> GetEnumerator() - { - return _members.GetEnumerator(); - } - - /// - /// Returns an enumerator that iterates through a collection. - /// - /// - /// An object that can be used to iterate through the collection. - /// - IEnumerator IEnumerable.GetEnumerator() - { - return _members.GetEnumerator(); - } - - /// - /// Returns a json that represents the current . - /// - /// - /// A json that represents the current . - /// - public override string ToString() - { - return AppCenterSimpleJson.SerializeObject(this); - } - -#if SIMPLE_JSON_DYNAMIC - /// - /// Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - /// - /// Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - /// The result of the type conversion operation. - /// - /// Alwasy returns true. - /// - public override bool TryConvert(ConvertBinder binder, out object result) - { - // - if (binder == null) - throw new ArgumentNullException("binder"); - // - Type targetType = binder.Type; - - if ((targetType == typeof(IEnumerable)) || - (targetType == typeof(IEnumerable>)) || - (targetType == typeof(IDictionary)) || - (targetType == typeof(IDictionary))) - { - result = this; - return true; - } - - return base.TryConvert(binder, out result); - } - - /// - /// Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - /// - /// Provides information about the deletion. - /// - /// Alwasy returns true. - /// - public override bool TryDeleteMember(DeleteMemberBinder binder) - { - // - if (binder == null) - throw new ArgumentNullException("binder"); - // - return _members.Remove(binder.Name); - } - - /// - /// Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - /// - /// Provides information about the operation. - /// The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - /// The result of the index operation. - /// - /// Alwasy returns true. - /// - public override bool TryGetIndex(GetIndexBinder binder, object[] indexes, out object result) - { - if (indexes == null) throw new ArgumentNullException("indexes"); - if (indexes.Length == 1) - { - result = ((IDictionary)this)[(string)indexes[0]]; - return true; - } - result = null; - return true; - } - - /// - /// Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - /// - /// Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - /// The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - /// - /// Alwasy returns true. - /// - public override bool TryGetMember(GetMemberBinder binder, out object result) - { - object value; - if (_members.TryGetValue(binder.Name, out value)) - { - result = value; - return true; - } - result = null; - return true; - } - - /// - /// Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - /// - /// Provides information about the operation. - /// The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - /// The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - /// - /// true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - /// - public override bool TrySetIndex(SetIndexBinder binder, object[] indexes, object value) - { - if (indexes == null) throw new ArgumentNullException("indexes"); - if (indexes.Length == 1) - { - ((IDictionary)this)[(string)indexes[0]] = value; - return true; - } - return base.TrySetIndex(binder, indexes, value); - } - - /// - /// Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - /// - /// Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - /// The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - /// - /// true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - /// - public override bool TrySetMember(SetMemberBinder binder, object value) - { - // - if (binder == null) - throw new ArgumentNullException("binder"); - // - _members[binder.Name] = value; - return true; - } - - /// - /// Returns the enumeration of all dynamic member names. - /// - /// - /// A sequence that contains dynamic member names. - /// - public override IEnumerable GetDynamicMemberNames() - { - foreach (var key in Keys) - yield return key; - } -#endif - } - - /// - /// This class encodes and decodes JSON strings. - /// Spec. details, see http://www.json.org/ - /// - /// JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - /// All numbers are parsed to doubles. - /// - [GeneratedCode("simple-json", "1.0.0")] -#if SIMPLE_JSON_INTERNAL - internal -#else - public -#endif - static class AppCenterSimpleJson - { - private enum TokenType : byte - { - NONE = 0, - CURLY_OPEN = 1, - CURLY_CLOSE = 2, - SQUARED_OPEN = 3, - SQUARED_CLOSE = 4, - COLON = 5, - COMMA = 6, - STRING = 7, - NUMBER = 8, - TRUE = 9, - FALSE = 10, - NULL = 11, - } - private const int BUILDER_INIT = 2000; - - private static readonly char[] EscapeTable; - private static readonly char[] EscapeCharacters = new char[] { '"', '\\', '\b', '\f', '\n', '\r', '\t' }; - // private static readonly string EscapeCharactersString = new string(EscapeCharacters); - internal static readonly List NumberTypes = new List { - typeof(bool), typeof(byte), typeof(ushort), typeof(uint), typeof(ulong), typeof(sbyte), typeof(short), typeof(int), typeof(long), typeof(double), typeof(float), typeof(decimal) - }; - - // Performance stuff - [ThreadStatic] - private static StringBuilder _serializeObjectBuilder; - [ThreadStatic] - private static StringBuilder _parseStringBuilder; - - static AppCenterSimpleJson() - { - EscapeTable = new char[93]; - EscapeTable['"'] = '"'; - EscapeTable['\\'] = '\\'; - EscapeTable['\b'] = 'b'; - EscapeTable['\f'] = 'f'; - EscapeTable['\n'] = 'n'; - EscapeTable['\r'] = 'r'; - EscapeTable['\t'] = 't'; - } - - /// - /// Parses the string json into a value - /// - /// A JSON string. - /// An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - public static object DeserializeObject(string json) - { - object obj; - if (TryDeserializeObject(json, out obj)) - return obj; - throw new SerializationException("Invalid JSON string"); - } - - /// - /// Try parsing the json string into a value. - /// - /// - /// A JSON string. - /// - /// - /// The object. - /// - /// - /// Returns true if successfull otherwise false. - /// - [SuppressMessage("Microsoft.Design", "CA1007:UseGenericsWhereAppropriate", Justification = "Need to support .NET 2")] - public static bool TryDeserializeObject(string json, out object obj) - { - bool success = true; - if (json != null) - { - char[] charArray = json.ToCharArray(); - int index = 0; - obj = ParseValue(charArray, ref index, ref success); - } - else - obj = null; - - return success; - } - - public static object DeserializeObject(string json, Type type, IJsonSerializerStrategy jsonSerializerStrategy) - { - object jsonObject = DeserializeObject(json); - return type == null || jsonObject != null && ReflectionUtils.IsAssignableFrom(jsonObject.GetType(), type) - ? jsonObject - : (jsonSerializerStrategy ?? CurrentJsonSerializerStrategy).DeserializeObject(jsonObject, type); - } - - public static object DeserializeObject(string json, Type type) - { - return DeserializeObject(json, type, null); - } - - public static T DeserializeObject(string json, IJsonSerializerStrategy jsonSerializerStrategy) - { - return (T)DeserializeObject(json, typeof(T), jsonSerializerStrategy); - } - - public static T DeserializeObject(string json) - { - return (T)DeserializeObject(json, typeof(T), null); - } - - /// - /// Converts a IDictionary<string,object> / IList<object> object into a JSON string - /// - /// A IDictionary<string,object> / IList<object> - /// Serializer strategy to use - /// A JSON encoded string, or null if object 'json' is not serializable - public static string SerializeObject(object json, IJsonSerializerStrategy jsonSerializerStrategy = null) - { - if (_serializeObjectBuilder == null) - _serializeObjectBuilder = new StringBuilder(BUILDER_INIT); - _serializeObjectBuilder.Length = 0; - - if (jsonSerializerStrategy == null) - jsonSerializerStrategy = CurrentJsonSerializerStrategy; - - bool success = SerializeValue(jsonSerializerStrategy, json, _serializeObjectBuilder); - return (success ? _serializeObjectBuilder.ToString() : null); - } - - public static string EscapeToJavascriptString(string jsonString) - { - if (string.IsNullOrEmpty(jsonString)) - return jsonString; - - StringBuilder sb = new StringBuilder(); - char c; - - for (int i = 0; i < jsonString.Length;) - { - c = jsonString[i++]; - - if (c == '\\') - { - int remainingLength = jsonString.Length - i; - if (remainingLength >= 2) - { - char lookahead = jsonString[i]; - if (lookahead == '\\') - { - sb.Append('\\'); - ++i; - } - else if (lookahead == '"') - { - sb.Append("\""); - ++i; - } - else if (lookahead == 't') - { - sb.Append('\t'); - ++i; - } - else if (lookahead == 'b') - { - sb.Append('\b'); - ++i; - } - else if (lookahead == 'n') - { - sb.Append('\n'); - ++i; - } - else if (lookahead == 'r') - { - sb.Append('\r'); - ++i; - } - } - } - else - { - sb.Append(c); - } - } - return sb.ToString(); - } - - static IDictionary ParseObject(char[] json, ref int index, ref bool success) - { - IDictionary table = new JsonObject(); - TokenType token; - - // { - NextToken(json, ref index); - - bool done = false; - while (!done) - { - token = LookAhead(json, index); - if (token == TokenType.NONE) - { - success = false; - return null; - } - else if (token == TokenType.COMMA) - NextToken(json, ref index); - else if (token == TokenType.CURLY_CLOSE) - { - NextToken(json, ref index); - return table; - } - else - { - // name - string name = ParseString(json, ref index, ref success); - if (!success) - { - success = false; - return null; - } - // : - token = NextToken(json, ref index); - if (token != TokenType.COLON) - { - success = false; - return null; - } - // value - object value = ParseValue(json, ref index, ref success); - if (!success) - { - success = false; - return null; - } - table[name] = value; - } - } - return table; - } - - static JsonArray ParseArray(char[] json, ref int index, ref bool success) - { - JsonArray array = new JsonArray(); - - // [ - NextToken(json, ref index); - - bool done = false; - while (!done) - { - TokenType token = LookAhead(json, index); - if (token == TokenType.NONE) - { - success = false; - return null; - } - else if (token == TokenType.COMMA) - NextToken(json, ref index); - else if (token == TokenType.SQUARED_CLOSE) - { - NextToken(json, ref index); - break; - } - else - { - object value = ParseValue(json, ref index, ref success); - if (!success) - return null; - array.Add(value); - } - } - return array; - } - - static object ParseValue(char[] json, ref int index, ref bool success) - { - switch (LookAhead(json, index)) - { - case TokenType.STRING: - return ParseString(json, ref index, ref success); - case TokenType.NUMBER: - return ParseNumber(json, ref index, ref success); - case TokenType.CURLY_OPEN: - return ParseObject(json, ref index, ref success); - case TokenType.SQUARED_OPEN: - return ParseArray(json, ref index, ref success); - case TokenType.TRUE: - NextToken(json, ref index); - return true; - case TokenType.FALSE: - NextToken(json, ref index); - return false; - case TokenType.NULL: - NextToken(json, ref index); - return null; - case TokenType.NONE: - break; - } - success = false; - return null; - } - - static string ParseString(char[] json, ref int index, ref bool success) - { - if (_parseStringBuilder == null) - _parseStringBuilder = new StringBuilder(BUILDER_INIT); - _parseStringBuilder.Length = 0; - - EatWhitespace(json, ref index); - - // " - char c = json[index++]; - bool complete = false; - while (!complete) - { - if (index == json.Length) - break; - - c = json[index++]; - if (c == '"') - { - complete = true; - break; - } - else if (c == '\\') - { - if (index == json.Length) - break; - c = json[index++]; - if (c == '"') - _parseStringBuilder.Append('"'); - else if (c == '\\') - _parseStringBuilder.Append('\\'); - else if (c == '/') - _parseStringBuilder.Append('/'); - else if (c == 'b') - _parseStringBuilder.Append('\b'); - else if (c == 'f') - _parseStringBuilder.Append('\f'); - else if (c == 'n') - _parseStringBuilder.Append('\n'); - else if (c == 'r') - _parseStringBuilder.Append('\r'); - else if (c == 't') - _parseStringBuilder.Append('\t'); - else if (c == 'u') - { - int remainingLength = json.Length - index; - if (remainingLength >= 4) - { - // parse the 32 bit hex into an integer codepoint - uint codePoint; - if (!(success = UInt32.TryParse(new string(json, index, 4), NumberStyles.HexNumber, CultureInfo.InvariantCulture, out codePoint))) - return ""; - - // convert the integer codepoint to a unicode char and add to string - if (0xD800 <= codePoint && codePoint <= 0xDBFF) // if high surrogate - { - index += 4; // skip 4 chars - remainingLength = json.Length - index; - if (remainingLength >= 6) - { - uint lowCodePoint; - if (new string(json, index, 2) == "\\u" && UInt32.TryParse(new string(json, index + 2, 4), NumberStyles.HexNumber, CultureInfo.InvariantCulture, out lowCodePoint)) - { - if (0xDC00 <= lowCodePoint && lowCodePoint <= 0xDFFF) // if low surrogate - { - _parseStringBuilder.Append((char)codePoint); - _parseStringBuilder.Append((char)lowCodePoint); - index += 6; // skip 6 chars - continue; - } - } - } - success = false; // invalid surrogate pair - return ""; - } - _parseStringBuilder.Append(ConvertFromUtf32((int)codePoint)); - // skip 4 chars - index += 4; - } - else - break; - } - } - else - _parseStringBuilder.Append(c); - } - if (!complete) - { - success = false; - return null; - } - return _parseStringBuilder.ToString(); - } - - private static string ConvertFromUtf32(int utf32) - { - // http://www.java2s.com/Open-Source/CSharp/2.6.4-mono-.net-core/System/System/Char.cs.htm - if (utf32 < 0 || utf32 > 0x10FFFF) - throw new ArgumentOutOfRangeException("utf32", "The argument must be from 0 to 0x10FFFF."); - if (0xD800 <= utf32 && utf32 <= 0xDFFF) - throw new ArgumentOutOfRangeException("utf32", "The argument must not be in surrogate pair range."); - if (utf32 < 0x10000) - return new string((char)utf32, 1); - utf32 -= 0x10000; - return new string(new char[] { (char)((utf32 >> 10) + 0xD800), (char)(utf32 % 0x0400 + 0xDC00) }); - } - - static object ParseNumber(char[] json, ref int index, ref bool success) - { - EatWhitespace(json, ref index); - int lastIndex = GetLastIndexOfNumber(json, index); - int charLength = (lastIndex - index) + 1; - object returnNumber; - string str = new string(json, index, charLength); - if (str.IndexOf(".", StringComparison.OrdinalIgnoreCase) != -1 || str.IndexOf("e", StringComparison.OrdinalIgnoreCase) != -1) - { - double number; - success = double.TryParse(new string(json, index, charLength), NumberStyles.Any, CultureInfo.InvariantCulture, out number); - returnNumber = number; - } - else if (str.IndexOf("-", StringComparison.OrdinalIgnoreCase) == -1) - { - ulong number; - success = ulong.TryParse(new string(json, index, charLength), NumberStyles.Any, CultureInfo.InvariantCulture, out number); - returnNumber = number; - } - else - { - long number; - success = long.TryParse(new string(json, index, charLength), NumberStyles.Any, CultureInfo.InvariantCulture, out number); - returnNumber = number; - } - index = lastIndex + 1; - return returnNumber; - } - - static int GetLastIndexOfNumber(char[] json, int index) - { - int lastIndex; - for (lastIndex = index; lastIndex < json.Length; lastIndex++) - if ("0123456789+-.eE".IndexOf(json[lastIndex]) == -1) break; - return lastIndex - 1; - } - - static void EatWhitespace(char[] json, ref int index) - { - for (; index < json.Length; index++) - if (" \t\n\r\b\f".IndexOf(json[index]) == -1) break; - } - - static TokenType LookAhead(char[] json, int index) - { - int saveIndex = index; - return NextToken(json, ref saveIndex); - } - - [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - static TokenType NextToken(char[] json, ref int index) - { - EatWhitespace(json, ref index); - if (index == json.Length) - return TokenType.NONE; - char c = json[index]; - index++; - switch (c) - { - case '{': - return TokenType.CURLY_OPEN; - case '}': - return TokenType.CURLY_CLOSE; - case '[': - return TokenType.SQUARED_OPEN; - case ']': - return TokenType.SQUARED_CLOSE; - case ',': - return TokenType.COMMA; - case '"': - return TokenType.STRING; - case '0': - case '1': - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - case '-': - return TokenType.NUMBER; - case ':': - return TokenType.COLON; - } - index--; - int remainingLength = json.Length - index; - // false - if (remainingLength >= 5) - { - if (json[index] == 'f' && json[index + 1] == 'a' && json[index + 2] == 'l' && json[index + 3] == 's' && json[index + 4] == 'e') - { - index += 5; - return TokenType.FALSE; - } - } - // true - if (remainingLength >= 4) - { - if (json[index] == 't' && json[index + 1] == 'r' && json[index + 2] == 'u' && json[index + 3] == 'e') - { - index += 4; - return TokenType.TRUE; - } - } - // null - if (remainingLength >= 4) - { - if (json[index] == 'n' && json[index + 1] == 'u' && json[index + 2] == 'l' && json[index + 3] == 'l') - { - index += 4; - return TokenType.NULL; - } - } - return TokenType.NONE; - } - - static bool SerializeValue(IJsonSerializerStrategy jsonSerializerStrategy, object value, StringBuilder builder) - { - bool success = true; - string stringValue = value as string; - if (value == null) - builder.Append("null"); - else if (stringValue != null) - success = SerializeString(stringValue, builder); - else - { - IDictionary dict = value as IDictionary; - Type type = value.GetType(); - Type[] genArgs = ReflectionUtils.GetGenericTypeArguments(type); -#if NETFX_CORE - var isStringKeyDictionary = type.GetTypeInfo().IsGenericType && type.GetGenericTypeDefinition() == typeof(Dictionary<,>) && genArgs[0] == typeof(string); -#else - var isStringKeyDictionary = type.IsGenericType && type.GetGenericTypeDefinition() == typeof(Dictionary<,>) && genArgs[0] == typeof(string); -#endif - if (isStringKeyDictionary) - { - var strDictValue = value as IDictionary; - success = SerializeObject(jsonSerializerStrategy, strDictValue.Keys, strDictValue.Values, builder); - } - else if (dict != null) - { - success = SerializeObject(jsonSerializerStrategy, dict.Keys, dict.Values, builder); - } - else - { - IDictionary stringDictionary = value as IDictionary; - if (stringDictionary != null) - { - success = SerializeObject(jsonSerializerStrategy, stringDictionary.Keys, stringDictionary.Values, builder); - } - else - { - IEnumerable enumerableValue = value as IEnumerable; - if (enumerableValue != null) - success = SerializeArray(jsonSerializerStrategy, enumerableValue, builder); - else if (IsNumeric(value)) - success = SerializeNumber(value, builder); - else if (value is bool) - builder.Append((bool)value ? "true" : "false"); - else - { - object serializedObject; - success = jsonSerializerStrategy.TrySerializeNonPrimitiveObject(value, out serializedObject); - if (success) - SerializeValue(jsonSerializerStrategy, serializedObject, builder); - } - } - } - } - return success; - } - - static bool SerializeObject(IJsonSerializerStrategy jsonSerializerStrategy, IEnumerable keys, IEnumerable values, StringBuilder builder) - { - builder.Append("{"); - IEnumerator ke = keys.GetEnumerator(); - IEnumerator ve = values.GetEnumerator(); - bool first = true; - while (ke.MoveNext() && ve.MoveNext()) - { - object key = ke.Current; - object value = ve.Current; - if (!first) - builder.Append(","); - string stringKey = key as string; - if (stringKey != null) - SerializeString(stringKey, builder); - else - if (!SerializeValue(jsonSerializerStrategy, value, builder)) return false; - builder.Append(":"); - if (!SerializeValue(jsonSerializerStrategy, value, builder)) - return false; - first = false; - } - builder.Append("}"); - return true; - } - - static bool SerializeArray(IJsonSerializerStrategy jsonSerializerStrategy, IEnumerable anArray, StringBuilder builder) - { - builder.Append("["); - bool first = true; - foreach (object value in anArray) - { - if (!first) - builder.Append(","); - if (!SerializeValue(jsonSerializerStrategy, value, builder)) - return false; - first = false; - } - builder.Append("]"); - return true; - } - - static bool SerializeString(string aString, StringBuilder builder) - { - // Happy path if there's nothing to be escaped. IndexOfAny is highly optimized (and unmanaged) - if (aString.IndexOfAny(EscapeCharacters) == -1) - { - builder.Append('"'); - builder.Append(aString); - builder.Append('"'); - - return true; - } - - builder.Append('"'); - int safeCharacterCount = 0; - char[] charArray = aString.ToCharArray(); - - for (int i = 0; i < charArray.Length; i++) - { - char c = charArray[i]; - - // Non ascii characters are fine, buffer them up and send them to the builder - // in larger chunks if possible. The escape table is a 1:1 translation table - // with \0 [default(char)] denoting a safe character. - if (c >= EscapeTable.Length || EscapeTable[c] == default(char)) - { - safeCharacterCount++; - } - else - { - if (safeCharacterCount > 0) - { - builder.Append(charArray, i - safeCharacterCount, safeCharacterCount); - safeCharacterCount = 0; - } - - builder.Append('\\'); - builder.Append(EscapeTable[c]); - } - } - - if (safeCharacterCount > 0) - { - builder.Append(charArray, charArray.Length - safeCharacterCount, safeCharacterCount); - } - - builder.Append('"'); - return true; - } - - static bool SerializeNumber(object number, StringBuilder builder) - { - if (number is decimal) - builder.Append(((decimal)number).ToString("R", CultureInfo.InvariantCulture)); - else if (number is double) - builder.Append(((double)number).ToString("R", CultureInfo.InvariantCulture)); - else if (number is float) - builder.Append(((float)number).ToString("R", CultureInfo.InvariantCulture)); - else if (NumberTypes.IndexOf(number.GetType()) != -1) - builder.Append(number); - return true; - } - - /// - /// Determines if a given object is numeric in any way - /// (can be integer, double, null, etc). - /// - static bool IsNumeric(object value) - { - if (value is sbyte) return true; - if (value is byte) return true; - if (value is short) return true; - if (value is ushort) return true; - if (value is int) return true; - if (value is uint) return true; - if (value is long) return true; - if (value is ulong) return true; - if (value is float) return true; - if (value is double) return true; - if (value is decimal) return true; - return false; - } - - private static IJsonSerializerStrategy _currentJsonSerializerStrategy; - public static IJsonSerializerStrategy CurrentJsonSerializerStrategy - { - get - { - return _currentJsonSerializerStrategy ?? - (_currentJsonSerializerStrategy = -#if SIMPLE_JSON_DATACONTRACT - DataContractJsonSerializerStrategy -#else - PocoJsonSerializerStrategy -#endif -); - } - set - { - _currentJsonSerializerStrategy = value; - } - } - - private static PocoJsonSerializerStrategy _pocoJsonSerializerStrategy; - [EditorBrowsable(EditorBrowsableState.Advanced)] - public static PocoJsonSerializerStrategy PocoJsonSerializerStrategy - { - get - { - return _pocoJsonSerializerStrategy ?? (_pocoJsonSerializerStrategy = new PocoJsonSerializerStrategy()); - } - } - -#if SIMPLE_JSON_DATACONTRACT - - private static DataContractJsonSerializerStrategy _dataContractJsonSerializerStrategy; - [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)] - public static DataContractJsonSerializerStrategy DataContractJsonSerializerStrategy - { - get - { - return _dataContractJsonSerializerStrategy ?? (_dataContractJsonSerializerStrategy = new DataContractJsonSerializerStrategy()); - } - } - -#endif - } - - [GeneratedCode("simple-json", "1.0.0")] -#if SIMPLE_JSON_INTERNAL - internal -#else - public -#endif - interface IJsonSerializerStrategy - { - [SuppressMessage("Microsoft.Design", "CA1007:UseGenericsWhereAppropriate", Justification = "Need to support .NET 2")] - bool TrySerializeNonPrimitiveObject(object input, out object output); - object DeserializeObject(object value, Type type); - } - - [GeneratedCode("simple-json", "1.0.0")] -#if SIMPLE_JSON_INTERNAL - internal -#else - public -#endif - class PocoJsonSerializerStrategy : IJsonSerializerStrategy - { - internal IDictionary ConstructorCache; - internal IDictionary> GetCache; - internal IDictionary>> SetCache; - - internal static readonly Type[] EmptyTypes = new Type[0]; - internal static readonly Type[] ArrayConstructorParameterTypes = new Type[] { typeof(int) }; - - private static readonly string[] Iso8601Format = new string[] - { - @"yyyy-MM-dd\THH:mm:ss.FFFFFFF\Z", - @"yyyy-MM-dd\THH:mm:ss\Z", - @"yyyy-MM-dd\THH:mm:ssK" - }; - - public PocoJsonSerializerStrategy() - { - ConstructorCache = new ReflectionUtils.ThreadSafeDictionary(ContructorDelegateFactory); - GetCache = new ReflectionUtils.ThreadSafeDictionary>(GetterValueFactory); - SetCache = new ReflectionUtils.ThreadSafeDictionary>>(SetterValueFactory); - } - - protected virtual string MapClrMemberNameToJsonFieldName(string clrPropertyName) - { - return clrPropertyName; - } - - internal virtual ReflectionUtils.ConstructorDelegate ContructorDelegateFactory(Type key) - { - return ReflectionUtils.GetContructor(key, key.IsArray ? ArrayConstructorParameterTypes : EmptyTypes); - } - - internal virtual IDictionary GetterValueFactory(Type type) - { - IDictionary result = new Dictionary(); - foreach (PropertyInfo propertyInfo in ReflectionUtils.GetProperties(type)) - { - if (propertyInfo.CanRead) - { - MethodInfo getMethod = ReflectionUtils.GetGetterMethodInfo(propertyInfo); - if (getMethod.IsStatic || !getMethod.IsPublic) - continue; - result[MapClrMemberNameToJsonFieldName(propertyInfo.Name)] = ReflectionUtils.GetGetMethod(propertyInfo); - } - } - foreach (FieldInfo fieldInfo in ReflectionUtils.GetFields(type)) - { - if (fieldInfo.IsStatic || !fieldInfo.IsPublic) - continue; - result[MapClrMemberNameToJsonFieldName(fieldInfo.Name)] = ReflectionUtils.GetGetMethod(fieldInfo); - } - return result; - } - - internal virtual IDictionary> SetterValueFactory(Type type) - { - IDictionary> result = new Dictionary>(); - foreach (PropertyInfo propertyInfo in ReflectionUtils.GetProperties(type)) - { - if (propertyInfo.CanWrite) - { - MethodInfo setMethod = ReflectionUtils.GetSetterMethodInfo(propertyInfo); - if (setMethod.IsStatic || !setMethod.IsPublic) - continue; - result[MapClrMemberNameToJsonFieldName(propertyInfo.Name)] = new KeyValuePair(propertyInfo.PropertyType, ReflectionUtils.GetSetMethod(propertyInfo)); - } - } - foreach (FieldInfo fieldInfo in ReflectionUtils.GetFields(type)) - { - if (fieldInfo.IsInitOnly || fieldInfo.IsStatic || !fieldInfo.IsPublic) - continue; - result[MapClrMemberNameToJsonFieldName(fieldInfo.Name)] = new KeyValuePair(fieldInfo.FieldType, ReflectionUtils.GetSetMethod(fieldInfo)); - } - return result; - } - - public virtual bool TrySerializeNonPrimitiveObject(object input, out object output) - { - return TrySerializeKnownTypes(input, out output) || TrySerializeUnknownTypes(input, out output); - } - - [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] - public virtual object DeserializeObject(object value, Type type) - { - if (type == null) throw new ArgumentNullException("type"); - string str = value as string; - - if (type == typeof(Guid) && string.IsNullOrEmpty(str)) - return default(Guid); - - if (value == null) - return null; - - object obj = null; - - if (str != null) - { - if (str.Length != 0) // We know it can't be null now. - { - if (type == typeof(DateTime) || (ReflectionUtils.IsNullableType(type) && Nullable.GetUnderlyingType(type) == typeof(DateTime))) - return DateTime.ParseExact(str, Iso8601Format, CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal | DateTimeStyles.AdjustToUniversal); - if (type == typeof(DateTimeOffset) || (ReflectionUtils.IsNullableType(type) && Nullable.GetUnderlyingType(type) == typeof(DateTimeOffset))) - return DateTimeOffset.ParseExact(str, Iso8601Format, CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal | DateTimeStyles.AdjustToUniversal); - if (type == typeof(Guid) || (ReflectionUtils.IsNullableType(type) && Nullable.GetUnderlyingType(type) == typeof(Guid))) - return new Guid(str); - if (type == typeof(Uri)) - { - bool isValid = Uri.IsWellFormedUriString(str, UriKind.RelativeOrAbsolute); - - Uri result; - if (isValid && Uri.TryCreate(str, UriKind.RelativeOrAbsolute, out result)) - return result; - - return null; - } - - if (type == typeof(string)) - return str; - - return Convert.ChangeType(str, type, CultureInfo.InvariantCulture); - } - else - { - if (type == typeof(Guid)) - obj = default(Guid); - else if (ReflectionUtils.IsNullableType(type) && Nullable.GetUnderlyingType(type) == typeof(Guid)) - obj = null; - else - obj = str; - } - // Empty string case - if (!ReflectionUtils.IsNullableType(type) && Nullable.GetUnderlyingType(type) == typeof(Guid)) - return str; - } - else if (value is bool) - return value; - - bool valueIsLong = value is long; - bool valueIsUlong = value is ulong; - bool valueIsDouble = value is double; - Type nullableType = Nullable.GetUnderlyingType(type); - if (nullableType != null && AppCenterSimpleJson.NumberTypes.IndexOf(nullableType) != -1) - type = nullableType; // Just use the regular type for the conversion - bool isNumberType = AppCenterSimpleJson.NumberTypes.IndexOf(type) != -1; -#if NETFX_CORE - bool isEnumType = type.GetTypeInfo().IsEnum; -#else - bool isEnumType = type.IsEnum; //type.GetType; -#endif - if ((valueIsLong && type == typeof(long)) || (valueIsUlong && type == typeof(ulong)) || (valueIsDouble && type == typeof(double))) - return value; - if ((valueIsLong || valueIsUlong || valueIsDouble) && isEnumType) - return Enum.ToObject(type, Convert.ChangeType(value, Enum.GetUnderlyingType(type), CultureInfo.InvariantCulture)); - if ((valueIsLong || valueIsUlong || valueIsDouble) && isNumberType) - return Convert.ChangeType(value, type, CultureInfo.InvariantCulture); - - IDictionary objects = value as IDictionary; - if (objects != null) - { - IDictionary jsonObject = objects; - - if (ReflectionUtils.IsTypeDictionary(type)) - { - // if dictionary then - Type[] types = ReflectionUtils.GetGenericTypeArguments(type); - Type keyType = types[0]; - Type valueType = types[1]; - - Type genericType = typeof(Dictionary<,>).MakeGenericType(keyType, valueType); - - IDictionary dict = (IDictionary)ConstructorCache[genericType](); - - foreach (KeyValuePair kvp in jsonObject) - dict.Add(kvp.Key, DeserializeObject(kvp.Value, valueType)); - - obj = dict; - } - else - { - if (type == typeof(object)) - obj = value; - else - { - obj = ConstructorCache[type](); - foreach (KeyValuePair> setter in SetCache[type]) - { - object jsonValue; - if (jsonObject.TryGetValue(setter.Key, out jsonValue)) - { - jsonValue = DeserializeObject(jsonValue, setter.Value.Key); - setter.Value.Value(obj, jsonValue); - } - } - } - } - } - else - { - IList valueAsList = value as IList; - if (valueAsList != null) - { - IList jsonObject = valueAsList; - IList list = null; - - if (type.IsArray) - { - list = (IList)ConstructorCache[type](jsonObject.Count); - int i = 0; - foreach (object o in jsonObject) - list[i++] = DeserializeObject(o, type.GetElementType()); - } - else if (ReflectionUtils.IsTypeGenericeCollectionInterface(type) || ReflectionUtils.IsAssignableFrom(typeof(IList), type)) - { - Type innerType = ReflectionUtils.GetGenericListElementType(type); - list = (IList)(ConstructorCache[type] ?? ConstructorCache[typeof(List<>).MakeGenericType(innerType)])(); - foreach (object o in jsonObject) - list.Add(DeserializeObject(o, innerType)); - } - obj = list; - } - return obj; - } - if (ReflectionUtils.IsNullableType(type)) - return ReflectionUtils.ToNullableType(obj, type); - return obj; - } - - protected virtual object SerializeEnum(Enum p) - { - return Convert.ToDouble(p, CultureInfo.InvariantCulture); - } - - [SuppressMessage("Microsoft.Design", "CA1007:UseGenericsWhereAppropriate", Justification = "Need to support .NET 2")] - protected virtual bool TrySerializeKnownTypes(object input, out object output) - { - bool returnValue = true; - if (input is DateTime) - output = ((DateTime)input).ToUniversalTime().ToString(Iso8601Format[0], CultureInfo.InvariantCulture); - else if (input is DateTimeOffset) - output = ((DateTimeOffset)input).ToUniversalTime().ToString(Iso8601Format[0], CultureInfo.InvariantCulture); - else if (input is Guid) - output = ((Guid)input).ToString("D"); - else if (input is Uri) - output = input.ToString(); - else - { - Enum inputEnum = input as Enum; - if (inputEnum != null) - output = SerializeEnum(inputEnum); - else - { - returnValue = false; - output = null; - } - } - return returnValue; - } - [SuppressMessage("Microsoft.Design", "CA1007:UseGenericsWhereAppropriate", Justification = "Need to support .NET 2")] - protected virtual bool TrySerializeUnknownTypes(object input, out object output) - { - if (input == null) throw new ArgumentNullException("input"); - output = null; - Type type = input.GetType(); - if (type.FullName == null) - return false; - IDictionary obj = new JsonObject(); - IDictionary getters = GetCache[type]; - foreach (KeyValuePair getter in getters) - { - if (getter.Value != null) - obj.Add(MapClrMemberNameToJsonFieldName(getter.Key), getter.Value(input)); - } - output = obj; - return true; - } - } - -#if SIMPLE_JSON_DATACONTRACT - [GeneratedCode("simple-json", "1.0.0")] -#if SIMPLE_JSON_INTERNAL - internal -#else - public -#endif - class DataContractJsonSerializerStrategy : PocoJsonSerializerStrategy - { - public DataContractJsonSerializerStrategy() - { - GetCache = new ReflectionUtils.ThreadSafeDictionary>(GetterValueFactory); - SetCache = new ReflectionUtils.ThreadSafeDictionary>>(SetterValueFactory); - } - - internal override IDictionary GetterValueFactory(Type type) - { - bool hasDataContract = ReflectionUtils.GetAttribute(type, typeof(DataContractAttribute)) != null; - if (!hasDataContract) - return base.GetterValueFactory(type); - string jsonKey; - IDictionary result = new Dictionary(); - foreach (PropertyInfo propertyInfo in ReflectionUtils.GetProperties(type)) - { - if (propertyInfo.CanRead) - { - MethodInfo getMethod = ReflectionUtils.GetGetterMethodInfo(propertyInfo); - if (!getMethod.IsStatic && CanAdd(propertyInfo, out jsonKey)) - result[jsonKey] = ReflectionUtils.GetGetMethod(propertyInfo); - } - } - foreach (FieldInfo fieldInfo in ReflectionUtils.GetFields(type)) - { - if (!fieldInfo.IsStatic && CanAdd(fieldInfo, out jsonKey)) - result[jsonKey] = ReflectionUtils.GetGetMethod(fieldInfo); - } - return result; - } - - internal override IDictionary> SetterValueFactory(Type type) - { - bool hasDataContract = ReflectionUtils.GetAttribute(type, typeof(DataContractAttribute)) != null; - if (!hasDataContract) - return base.SetterValueFactory(type); - string jsonKey; - IDictionary> result = new Dictionary>(); - foreach (PropertyInfo propertyInfo in ReflectionUtils.GetProperties(type)) - { - if (propertyInfo.CanWrite) - { - MethodInfo setMethod = ReflectionUtils.GetSetterMethodInfo(propertyInfo); - if (!setMethod.IsStatic && CanAdd(propertyInfo, out jsonKey)) - result[jsonKey] = new KeyValuePair(propertyInfo.PropertyType, ReflectionUtils.GetSetMethod(propertyInfo)); - } - } - foreach (FieldInfo fieldInfo in ReflectionUtils.GetFields(type)) - { - if (!fieldInfo.IsInitOnly && !fieldInfo.IsStatic && CanAdd(fieldInfo, out jsonKey)) - result[jsonKey] = new KeyValuePair(fieldInfo.FieldType, ReflectionUtils.GetSetMethod(fieldInfo)); - } - // todo implement sorting for DATACONTRACT. - return result; - } - - private static bool CanAdd(MemberInfo info, out string jsonKey) - { - jsonKey = null; - if (ReflectionUtils.GetAttribute(info, typeof(IgnoreDataMemberAttribute)) != null) - return false; - DataMemberAttribute dataMemberAttribute = (DataMemberAttribute)ReflectionUtils.GetAttribute(info, typeof(DataMemberAttribute)); - if (dataMemberAttribute == null) - return false; - jsonKey = string.IsNullOrEmpty(dataMemberAttribute.Name) ? info.Name : dataMemberAttribute.Name; - return true; - } - } - -#endif - - // This class is meant to be copied into other libraries. So we want to exclude it from Code Analysis rules - // that might be in place in the target project. - [GeneratedCode("reflection-utils", "1.0.0")] -#if SIMPLE_JSON_REFLECTION_UTILS_PUBLIC - public -#else - internal -#endif - class ReflectionUtils - { - private static readonly object[] EmptyObjects = new object[0]; - - public delegate object GetDelegate(object source); - public delegate void SetDelegate(object source, object value); - public delegate object ConstructorDelegate(params object[] args); - - public delegate TValue ThreadSafeDictionaryValueFactory(TKey key); - - [ThreadStatic] - private static object[] _1ObjArray; - -#if SIMPLE_JSON_TYPEINFO - public static TypeInfo GetTypeInfo(Type type) - { - return type.GetTypeInfo(); - } -#else - public static Type GetTypeInfo(Type type) - { - return type; - } -#endif - - public static Attribute GetAttribute(MemberInfo info, Type type) - { -#if SIMPLE_JSON_TYPEINFO - if (info == null || type == null || !info.IsDefined(type)) - return null; - return info.GetCustomAttribute(type); -#else - if (info == null || type == null || !Attribute.IsDefined(info, type)) - return null; - return Attribute.GetCustomAttribute(info, type); -#endif - } - - public static Type GetGenericListElementType(Type type) - { - IEnumerable interfaces; -#if SIMPLE_JSON_TYPEINFO - interfaces = type.GetTypeInfo().ImplementedInterfaces; -#else - interfaces = type.GetInterfaces(); -#endif - foreach (Type implementedInterface in interfaces) - { - if (IsTypeGeneric(implementedInterface) && - implementedInterface.GetGenericTypeDefinition() == typeof(IList<>)) - { - return GetGenericTypeArguments(implementedInterface)[0]; - } - } - return GetGenericTypeArguments(type)[0]; - } - - public static Attribute GetAttribute(Type objectType, Type attributeType) - { - -#if SIMPLE_JSON_TYPEINFO - if (objectType == null || attributeType == null || !objectType.GetTypeInfo().IsDefined(attributeType)) - return null; - return objectType.GetTypeInfo().GetCustomAttribute(attributeType); -#else - if (objectType == null || attributeType == null || !Attribute.IsDefined(objectType, attributeType)) - return null; - return Attribute.GetCustomAttribute(objectType, attributeType); -#endif - } - - public static Type[] GetGenericTypeArguments(Type type) - { -#if SIMPLE_JSON_TYPEINFO - return type.GetTypeInfo().GenericTypeArguments; -#else - return type.GetGenericArguments(); -#endif - } - - public static bool IsTypeGeneric(Type type) - { - return GetTypeInfo(type).IsGenericType; - } - - public static bool IsTypeGenericeCollectionInterface(Type type) - { - if (!IsTypeGeneric(type)) - return false; - - Type genericDefinition = type.GetGenericTypeDefinition(); - - return (genericDefinition == typeof(IList<>) - || genericDefinition == typeof(ICollection<>) - || genericDefinition == typeof(IEnumerable<>) -#if SIMPLE_JSON_READONLY_COLLECTIONS - || genericDefinition == typeof(IReadOnlyCollection<>) - || genericDefinition == typeof(IReadOnlyList<>) -#endif -); - } - - public static bool IsAssignableFrom(Type type1, Type type2) - { - return GetTypeInfo(type1).IsAssignableFrom(GetTypeInfo(type2)); - } - - public static bool IsTypeDictionary(Type type) - { -#if SIMPLE_JSON_TYPEINFO - if (typeof(IDictionary<,>).GetTypeInfo().IsAssignableFrom(type.GetTypeInfo())) - return true; -#else - if (typeof(System.Collections.IDictionary).IsAssignableFrom(type)) - return true; -#endif - if (!GetTypeInfo(type).IsGenericType) - return false; - - Type genericDefinition = type.GetGenericTypeDefinition(); - return genericDefinition == typeof(IDictionary<,>); - } - - public static bool IsNullableType(Type type) - { - return GetTypeInfo(type).IsGenericType && type.GetGenericTypeDefinition() == typeof(Nullable<>); - } - - public static object ToNullableType(object obj, Type nullableType) - { - return obj == null ? null : Convert.ChangeType(obj, Nullable.GetUnderlyingType(nullableType), CultureInfo.InvariantCulture); - } - - public static bool IsValueType(Type type) - { - return GetTypeInfo(type).IsValueType; - } - - public static IEnumerable GetConstructors(Type type) - { -#if SIMPLE_JSON_TYPEINFO - return type.GetTypeInfo().DeclaredConstructors; -#else - return type.GetConstructors(); -#endif - } - - public static ConstructorInfo GetConstructorInfo(Type type, params Type[] argsType) - { - IEnumerable constructorInfos = GetConstructors(type); - int i; - bool matches; - foreach (ConstructorInfo constructorInfo in constructorInfos) - { - ParameterInfo[] parameters = constructorInfo.GetParameters(); - if (argsType.Length != parameters.Length) - continue; - - i = 0; - matches = true; - foreach (ParameterInfo parameterInfo in constructorInfo.GetParameters()) - { - if (parameterInfo.ParameterType != argsType[i]) - { - matches = false; - break; - } - } - - if (matches) - return constructorInfo; - } - - return null; - } - - public static IEnumerable GetProperties(Type type) - { -#if SIMPLE_JSON_TYPEINFO - return type.GetRuntimeProperties(); -#else - return type.GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static); -#endif - } - - public static IEnumerable GetFields(Type type) - { -#if SIMPLE_JSON_TYPEINFO - return type.GetRuntimeFields(); -#else - return type.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static); -#endif - } - - public static MethodInfo GetGetterMethodInfo(PropertyInfo propertyInfo) - { -#if SIMPLE_JSON_TYPEINFO - return propertyInfo.GetMethod; -#else - return propertyInfo.GetGetMethod(true); -#endif - } - - public static MethodInfo GetSetterMethodInfo(PropertyInfo propertyInfo) - { -#if SIMPLE_JSON_TYPEINFO - return propertyInfo.SetMethod; -#else - return propertyInfo.GetSetMethod(true); -#endif - } - - public static ConstructorDelegate GetContructor(ConstructorInfo constructorInfo) - { - return GetConstructorByReflection(constructorInfo); - } - - public static ConstructorDelegate GetContructor(Type type, params Type[] argsType) - { - return GetConstructorByReflection(type, argsType); - } - - public static ConstructorDelegate GetConstructorByReflection(ConstructorInfo constructorInfo) - { - return delegate (object[] args) - { - var x = constructorInfo; - return x.Invoke(args); - }; - } - - public static ConstructorDelegate GetConstructorByReflection(Type type, params Type[] argsType) - { - ConstructorInfo constructorInfo = GetConstructorInfo(type, argsType); - return constructorInfo == null ? null : GetConstructorByReflection(constructorInfo); - } - - public static GetDelegate GetGetMethod(PropertyInfo propertyInfo) - { - return GetGetMethodByReflection(propertyInfo); - } - - public static GetDelegate GetGetMethod(FieldInfo fieldInfo) - { - return GetGetMethodByReflection(fieldInfo); - } - - public static GetDelegate GetGetMethodByReflection(PropertyInfo propertyInfo) - { - MethodInfo methodInfo = GetGetterMethodInfo(propertyInfo); - return delegate (object source) { return methodInfo.Invoke(source, EmptyObjects); }; - } - - public static GetDelegate GetGetMethodByReflection(FieldInfo fieldInfo) - { - return delegate (object source) { return fieldInfo.GetValue(source); }; - } - - public static SetDelegate GetSetMethod(PropertyInfo propertyInfo) - { - return GetSetMethodByReflection(propertyInfo); - } - - public static SetDelegate GetSetMethod(FieldInfo fieldInfo) - { - return GetSetMethodByReflection(fieldInfo); - } - - public static SetDelegate GetSetMethodByReflection(PropertyInfo propertyInfo) - { - MethodInfo methodInfo = GetSetterMethodInfo(propertyInfo); - return delegate (object source, object value) - { - if (_1ObjArray == null) - _1ObjArray = new object[1]; - _1ObjArray[0] = value; - methodInfo.Invoke(source, _1ObjArray); - }; - } - - public static SetDelegate GetSetMethodByReflection(FieldInfo fieldInfo) - { - return delegate (object source, object value) { fieldInfo.SetValue(source, value); }; - } - - public sealed class ThreadSafeDictionary : IDictionary - { - private readonly object _lock = new object(); - private readonly ThreadSafeDictionaryValueFactory _valueFactory; - private Dictionary _dictionary; - - public ThreadSafeDictionary(ThreadSafeDictionaryValueFactory valueFactory) - { - _valueFactory = valueFactory; - } - - private TValue Get(TKey key) - { - if (_dictionary == null) - return AddValue(key); - TValue value; - if (!_dictionary.TryGetValue(key, out value)) - return AddValue(key); - return value; - } - - private TValue AddValue(TKey key) - { - TValue value = _valueFactory(key); - lock (_lock) - { - if (_dictionary == null) - { - _dictionary = new Dictionary(); - _dictionary[key] = value; - } - else - { - TValue val; - if (_dictionary.TryGetValue(key, out val)) - return val; - Dictionary dict = new Dictionary(_dictionary); - dict[key] = value; - _dictionary = dict; - } - } - return value; - } - - public void Add(TKey key, TValue value) - { - throw new NotImplementedException(); - } - - public bool ContainsKey(TKey key) - { - return _dictionary.ContainsKey(key); - } - - public ICollection Keys - { - get { return _dictionary.Keys; } - } - - public bool Remove(TKey key) - { - throw new NotImplementedException(); - } - - public bool TryGetValue(TKey key, out TValue value) - { - value = this[key]; - return true; - } - - public ICollection Values - { - get { return _dictionary.Values; } - } - - public TValue this[TKey key] - { - get { return Get(key); } - set { throw new NotImplementedException(); } - } - - public void Add(KeyValuePair item) - { - throw new NotImplementedException(); - } - - public void Clear() - { - throw new NotImplementedException(); - } - - public bool Contains(KeyValuePair item) - { - throw new NotImplementedException(); - } - - public void CopyTo(KeyValuePair[] array, int arrayIndex) - { - throw new NotImplementedException(); - } - - public int Count - { - get { return _dictionary.Count; } - } - - public bool IsReadOnly - { - get { throw new NotImplementedException(); } - } - - public bool Remove(KeyValuePair item) - { - throw new NotImplementedException(); - } - - public IEnumerator> GetEnumerator() - { - return _dictionary.GetEnumerator(); - } - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() - { - return _dictionary.GetEnumerator(); - } - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJson.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJson.cs.meta deleted file mode 100644 index 99f3f7f2..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJson.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8bfd769747cb35a4ca40e4e9debf31c0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJsonInstance.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJsonInstance.cs deleted file mode 100644 index ba9950de..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJsonInstance.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace AppCenterEditor -{ - public class SimpleJsonInstance : ISerializer - { - public T DeserializeObject(string json) - { - return AppCenterSimpleJson.DeserializeObject(json); - } - - public T DeserializeObject(string json, object jsonSerializerStrategy) - { - return AppCenterSimpleJson.DeserializeObject(json, (IJsonSerializerStrategy)jsonSerializerStrategy); - } - - public object DeserializeObject(string json) - { - return AppCenterSimpleJson.DeserializeObject(json); - } - - public string SerializeObject(object json) - { - return AppCenterSimpleJson.SerializeObject(json); - } - - public string SerializeObject(object json, object jsonSerializerStrategy) - { - return AppCenterSimpleJson.SerializeObject(json, (IJsonSerializerStrategy)jsonSerializerStrategy); - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJsonInstance.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJsonInstance.cs.meta deleted file mode 100644 index ce1a73d6..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/AppCenterEditorSDK/SimpleJsonInstance.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 260fd54878fe79d42b8e3100b4bf98db -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Components.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Components.meta deleted file mode 100644 index 1914c424..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Components.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d4088971449f54227a925f6a05fb09a9 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Components/DrawUtils.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Components/DrawUtils.cs deleted file mode 100644 index ee18ef33..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Components/DrawUtils.cs +++ /dev/null @@ -1,57 +0,0 @@ -using UnityEngine; -using System; - -public class DrawUtils { - - private static Color32[] rotateSquare(Color32[] arr, double phi, Texture2D originTexture) - { - int x; - int y; - int i; - int j; - double sn = Math.Sin(phi); - double cs = Math.Cos(phi); - Color32[] arr2 = originTexture.GetPixels32(); - int W = originTexture.width; - int H = originTexture.height; - int xc = W / 2; - int yc = H / 2; - for (j = 0; j < H; j++) - { - for (i = 0; i < W; i++) - { - arr2[j * W + i] = new Color32(0, 0, 0, 0); - x = (int)(cs * (i - xc) + sn * (j - yc) + xc); - y = (int)(-sn * (i - xc) + cs * (j - yc) + yc); - if ((x > -1) && (x < W) && (y > -1) && (y < H)) - { - arr2[j * W + i] = arr[y * W + x]; - } - } - } - return arr2; - } - - public static Texture2D RotateImage(Texture2D originTexture, int angle) - { - Texture2D result; - result = new Texture2D(originTexture.width, originTexture.height); - Color32[] pix1 = result.GetPixels32(); - Color32[] pix2 = originTexture.GetPixels32(); - int W = originTexture.width; - int H = originTexture.height; - int x = 0; - int y = 0; - Color32[] pix3 = rotateSquare(pix2, (Math.PI / 180 * (double)angle), originTexture); - for (int j = 0; j < H; j++) - { - for (var i = 0; i < W; i++) - { - pix1[result.width / 2 - W / 2 + x + i + result.width * (result.height / 2 - H / 2 + j + y)] = pix3[i + j * W]; - } - } - result.SetPixels32(pix1); - result.Apply(); - return result; - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Components/DrawUtils.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Components/DrawUtils.cs.meta deleted file mode 100644 index fe246e07..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Components/DrawUtils.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2db30e5e160bb48358ce517ac9f8eea8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Components/ProgressBar.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Components/ProgressBar.cs deleted file mode 100644 index 231fea3f..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Components/ProgressBar.cs +++ /dev/null @@ -1,157 +0,0 @@ -using UnityEditor; -using UnityEngine; - -namespace AppCenterEditor -{ - public class ProgressBar - { - public enum ProgressBarStates { off = 0, on = 1, spin = 2, error = 3, warning = 4, success = 5 } - public static ProgressBarStates currentProgressBarState = ProgressBarStates.off; - - public static float progress = 0; - private static GUIStyle pbarStyle = AppCenterEditorHelper.uiStyle.GetStyle("progressBarFg"); - private static GUIStyle pbarBgStyle = AppCenterEditorHelper.uiStyle.GetStyle("progressBarBg"); - - private static float progressWidth = 0; - private static float animationSpeed = 1f; - private static float tickRate = .15f; - private static float stTime; - private static float endTime; - private static float lastUpdateTime; - private static bool isReveresed; - - public static void UpdateState(ProgressBarStates state) - { - if (currentProgressBarState == ProgressBarStates.off && state != ProgressBarStates.off) - { - stTime = (float)EditorApplication.timeSinceStartup; - endTime = stTime + animationSpeed; - } - - currentProgressBarState = state; - } - - //not a good way to do this right now. - public static void UpdateProgress(float p) - { - progress = p; - } - - public static void Draw() - { - var progressMaxWidth = AppCenterEditor.InnerContainerWidth; - - pbarBgStyle = AppCenterEditorHelper.uiStyle.GetStyle("progressBarBg"); - if (currentProgressBarState == ProgressBarStates.off) - { - stTime = 0; - endTime = 0; - progressWidth = 0; - lastUpdateTime = 0; - isReveresed = false; - - progressWidth = progressMaxWidth; - pbarStyle = AppCenterEditorHelper.uiStyle.GetStyle("progressBarClear"); - pbarBgStyle = AppCenterEditorHelper.uiStyle.GetStyle("progressBarClear"); - //return; - } - else if (EditorWindow.focusedWindow != AppCenterEditor.window) - { - // pause draw while we are in the bg - return; - } - else if (currentProgressBarState == ProgressBarStates.success) - { - if ((float)EditorApplication.timeSinceStartup - stTime < animationSpeed) - { - progressWidth = progressMaxWidth; - pbarStyle = AppCenterEditorHelper.uiStyle.GetStyle("progressBarSuccess"); - } - else if (AppCenterEditor.blockingRequests.Count > 0) - { - UpdateState(ProgressBarStates.spin); - } - else - { - UpdateState(ProgressBarStates.off); - } - } - else if (currentProgressBarState == ProgressBarStates.warning) - { - if ((float)EditorApplication.timeSinceStartup - stTime < animationSpeed) - { - progressWidth = progressMaxWidth; - pbarStyle = AppCenterEditorHelper.uiStyle.GetStyle("progressBarWarn"); - } - else if (AppCenterEditor.blockingRequests.Count > 0) - { - UpdateState(ProgressBarStates.spin); - } - else - { - UpdateState(ProgressBarStates.off); - } - } - else if (currentProgressBarState == ProgressBarStates.error) - { - if ((float)EditorApplication.timeSinceStartup - stTime < animationSpeed) - { - progressWidth = progressMaxWidth; - pbarStyle = AppCenterEditorHelper.uiStyle.GetStyle("progressBarError"); - } - else if (AppCenterEditor.blockingRequests.Count > 0) - { - UpdateState(ProgressBarStates.spin); - } - else - { - UpdateState(ProgressBarStates.off); - } - } - else - { - - if ((float)EditorApplication.timeSinceStartup - lastUpdateTime > tickRate) - { - lastUpdateTime = (float)EditorApplication.timeSinceStartup; - pbarStyle = AppCenterEditorHelper.uiStyle.GetStyle("progressBarFg"); - - if (currentProgressBarState == ProgressBarStates.on) - { - progressWidth = progressMaxWidth * progress; - } - else if (currentProgressBarState == ProgressBarStates.spin) - { - var currentTime = (float)EditorApplication.timeSinceStartup; - if (currentTime < endTime && !isReveresed) - { - UpdateProgress((currentTime - stTime) / animationSpeed); - progressWidth = progressMaxWidth * progress; - } - else if (currentTime < endTime && isReveresed) - { - UpdateProgress((currentTime - stTime) / animationSpeed); - progressWidth = progressMaxWidth - progressMaxWidth * progress; - } - else - { - isReveresed = !isReveresed; - stTime = (float)EditorApplication.timeSinceStartup; - endTime = stTime + animationSpeed; - } - } - } - - } - - using (new AppCenterGuiFieldHelper.UnityHorizontal(pbarBgStyle)) - { - if (isReveresed) - { - GUILayout.FlexibleSpace(); - } - EditorGUILayout.LabelField("", pbarStyle, GUILayout.Width(progressWidth)); - } - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Components/ProgressBar.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Components/ProgressBar.cs.meta deleted file mode 100644 index 1443f013..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Components/ProgressBar.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: eea75b0d7b5ef4c108f3f7d94c1db778 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels.meta deleted file mode 100644 index 9b8dbfdb..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c0a0aac543bfd421c90c069618185d46 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorHeader.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorHeader.cs deleted file mode 100644 index 7e02ef08..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorHeader.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; -using UnityEditor; - -namespace AppCenterEditor -{ - public class AppCenterEditorHeader : Editor - { - public static void DrawHeader(float progress = 0f) - { - if (AppCenterEditorHelper.uiStyle == null) - return; - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleHeaderWrapper"))) - { - //using Begin Vertical as our container. - using (new AppCenterGuiFieldHelper.UnityHorizontal(GUILayout.Height(52))) - { - EditorGUILayout.LabelField("", AppCenterEditorHelper.uiStyle.GetStyle("acLogo"), GUILayout.MaxHeight(60), GUILayout.Width(60)); - EditorGUILayout.LabelField("App Center", AppCenterEditorHelper.uiStyle.GetStyle("gpStyleGray2"), GUILayout.MinHeight(52)); - - //end the vertical container - } - } - - ProgressBar.Draw(); - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorHeader.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorHeader.cs.meta deleted file mode 100644 index 0dcf7d15..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorHeader.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 82fe5ebbfbd6e4aa980585a4c5aeb0f0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorMenu.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorMenu.cs deleted file mode 100644 index 52ea4db9..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorMenu.cs +++ /dev/null @@ -1,39 +0,0 @@ -using UnityEngine; -using UnityEditor; - -namespace AppCenterEditor -{ - public class AppCenterEditorMenu : Editor - { - #region panel variables - internal enum MenuStates - { - Sdks = 0, - } - - internal static MenuStates _menuState = MenuStates.Sdks; - #endregion - - public static void DrawMenu() - { - if (AppCenterEditorSDKTools.IsInstalled) - _menuState = (MenuStates)AppCenterEditorPrefsSO.Instance.curMainMenuIdx; - - var sdksButtonStyle = AppCenterEditorHelper.uiStyle.GetStyle("textButton"); - - - if (_menuState == MenuStates.Sdks) - sdksButtonStyle = AppCenterEditorHelper.uiStyle.GetStyle("textButton_selected"); - - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleGray1"), GUILayout.Height(25), GUILayout.ExpandWidth(true))) - { - GUILayout.Space(5); - - if (GUILayout.Button("SDK", sdksButtonStyle, GUILayout.MaxWidth(35))) - { - - } - } - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorMenu.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorMenu.cs.meta deleted file mode 100644 index 32cb34a0..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorMenu.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 094bc528ca3754d17bfe99514da8eef3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorSDKTools.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorSDKTools.cs deleted file mode 100644 index 57ea031b..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorSDKTools.cs +++ /dev/null @@ -1,602 +0,0 @@ -using System; -using System.Linq; -using System.Collections.Generic; -using System.IO; -using System.Reflection; -using UnityEditor; -using UnityEngine; - -namespace AppCenterEditor -{ - public class AppCenterEditorSDKTools : Editor - { - public enum SDKState - { - SDKNotInstalled, - SDKNotInstalledAndInstalling, - SDKNotFull, - SDKNotFullAndInstalling, - SDKIsFull - } - public static bool IsInstalled { get { return AreSomePackagesInstalled(); } } - public static bool IsFullSDK { get { return CheckIfAllPackagesInstalled(); } } - public static bool IsInstalling { get; set; } - public static bool IsUpgrading { get; set; } - public static string LatestSdkVersion { get; private set; } - public static UnityEngine.Object SdkFolder { get; private set; } - public static string InstalledSdkVersion { get; private set; } - public static GUIStyle TitleStyle { get { return new GUIStyle(AppCenterEditorHelper.uiStyle.GetStyle("titleLabel")); } } - - private static Type appCenterSettingsType = null; - private static bool isInitialized; // used to check once, gets reset after each compile - private static UnityEngine.Object _previousSdkFolderPath; - private static bool sdkFolderNotFound; - private static int angle = 0; - - public static SDKState GetSDKState() - { - if (!IsInstalled) - { - if (IsInstalling) - { - return SDKState.SDKNotInstalledAndInstalling; - } - else - { - return SDKState.SDKNotInstalled; - } - } - - //SDK installed. - if (IsFullSDK) - { - return SDKState.SDKIsFull; - } - - //SDK is not full. - if (IsInstalling) - { - return SDKState.SDKNotFullAndInstalling; - } - else - { - return SDKState.SDKNotFull; - } - } - - public static void DrawSdkPanel() - { - if (!isInitialized) - { - //SDK is installed. - CheckSdkVersion(); - isInitialized = true; - GetLatestSdkVersion(); - SdkFolder = FindSdkAsset(); - - if (SdkFolder != null) - { - AppCenterEditorPrefsSO.Instance.SdkPath = AssetDatabase.GetAssetPath(SdkFolder); - // AppCenterEditorDataService.SaveEnvDetails(); - } - } - ShowSdkInstallationPanel(); - } - - public static void DisplayPackagePanel(AppCenterSDKPackage sdkPackage) - { - using (new AppCenterGuiFieldHelper.UnityVertical(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleGray1"))) - { - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleClear"))) - { - GUILayout.FlexibleSpace(); - if (sdkPackage.IsInstalled) - { - sdkPackage.ShowPackageInstalledMenu(); - } - else - { - sdkPackage.ShowPackageNotInstalledMenu(); - } - GUILayout.FlexibleSpace(); - } - } - } - - private static void ShowSdkInstallationPanel() - { - sdkFolderNotFound = SdkFolder == null; - - if (_previousSdkFolderPath != SdkFolder) - { - // something changed, better save the result. - _previousSdkFolderPath = SdkFolder; - - AppCenterEditorPrefsSO.Instance.SdkPath = (AssetDatabase.GetAssetPath(SdkFolder)); - //TODO: check if we need this? - // AppCenterEditorDataService.SaveEnvDetails(); - - sdkFolderNotFound = false; - } - SDKState SDKstate = GetSDKState(); - using (new AppCenterGuiFieldHelper.UnityVertical(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleGray1"))) - { - switch (SDKstate) - { - case SDKState.SDKNotInstalled: - ShowNOSDKLabel(); - ShowInstallButton(); - break; - - case SDKState.SDKNotInstalledAndInstalling: - ShowNOSDKLabel(); - ShowInstallingButton(); - break; - - case SDKState.SDKNotFull: - ShowSdkInstalledLabel(); - ShowFolderObject(); - ShowInstallButton(); - ShowRemoveButton(); - break; - - case SDKState.SDKNotFullAndInstalling: - ShowSdkInstalledLabel(); - ShowFolderObject(); - ShowInstallingButton(); - ShowRemoveButton(); - break; - - case SDKState.SDKIsFull: - ShowSdkInstalledLabel(); - ShowFolderObject(); - ShowRemoveButton(); - break; - } - } - } - - public static void ShowUpgradePanel() - { - if (!sdkFolderNotFound) - { - using (new AppCenterGuiFieldHelper.UnityVertical(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleGray1"))) - { - string[] versionNumber = !string.IsNullOrEmpty(InstalledSdkVersion) ? InstalledSdkVersion.Split('.') : new string[0]; - - var numerical = 0; - bool isEmptyVersion = string.IsNullOrEmpty(InstalledSdkVersion) || versionNumber == null || versionNumber.Length == 0; - if (isEmptyVersion || (versionNumber.Length > 0 && int.TryParse(versionNumber[0], out numerical) && numerical < 0)) - { - //older version of the SDK - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleClear"))) - { - GUILayout.FlexibleSpace(); - EditorGUILayout.LabelField("SDK is outdated. Consider upgrading to the get most features.", AppCenterEditorHelper.uiStyle.GetStyle("orTxt")); - GUILayout.FlexibleSpace(); - } - } - - var buttonWidth = 200; - - GUILayout.Space(5); - if (ShowSDKUpgrade()) - { - if (IsUpgrading) - { - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleClear"))) - { - GUILayout.FlexibleSpace(); - var image = DrawUtils.RotateImage(AssetDatabase.LoadAssetAtPath("Assets/AppCenterEditorExtensions/Editor/UI/Images/wheel.png", typeof(Texture2D)) as Texture2D, angle++); - GUILayout.Button(new GUIContent(" Upgrading to " + LatestSdkVersion, image), AppCenterEditorHelper.uiStyle.GetStyle("Button"), GUILayout.MaxWidth(buttonWidth), GUILayout.MinHeight(32)); - GUILayout.FlexibleSpace(); - } - } - else - { - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleClear"))) - { - GUILayout.FlexibleSpace(); - if (GUILayout.Button("Upgrade to " + LatestSdkVersion, AppCenterEditorHelper.uiStyle.GetStyle("Button"), GUILayout.MinHeight(32))) - { - IsUpgrading = true; - UpgradeSdk(); - } - GUILayout.FlexibleSpace(); - } - } - } - else - { - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleClear"))) - { - GUILayout.FlexibleSpace(); - EditorGUILayout.LabelField("You have the latest SDK!", TitleStyle, GUILayout.MinHeight(32)); - GUILayout.FlexibleSpace(); - } - } - GUILayout.Space(5); - - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleClear"))) - { - GUILayout.FlexibleSpace(); - if (GUILayout.Button("VIEW RELEASE NOTES", AppCenterEditorHelper.uiStyle.GetStyle("textButton"), GUILayout.MinHeight(32), GUILayout.MinWidth(200))) - { - Application.OpenURL("https://github.com/Microsoft/AppCenter-SDK-Unity/releases"); - } - GUILayout.FlexibleSpace(); - } - } - } - } - - private static void ShowRemoveButton() - { - if (!sdkFolderNotFound) - { - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleClear"))) - { - GUILayout.FlexibleSpace(); - - if (GUILayout.Button("REMOVE SDK", AppCenterEditorHelper.uiStyle.GetStyle("textButton"), GUILayout.MinHeight(32), GUILayout.MinWidth(200))) - { - RemoveSdk(); - } - - GUILayout.FlexibleSpace(); - } - } - } - - private static void ShowFolderObject() - { - if (sdkFolderNotFound) - { - EditorGUILayout.LabelField("An SDK was detected, but we were unable to find the directory. Drag-and-drop the top-level App Center SDK folder below.", - AppCenterEditorHelper.uiStyle.GetStyle("orTxt")); - } - else - { - // This hack is needed to disable folder object and remove the blue border around it. - // Other UI is getting enabled later in the method. - GUI.enabled = false; - } - - GUILayout.Space(5); - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleClearWithleftPad"))) - { - GUILayout.FlexibleSpace(); - SdkFolder = EditorGUILayout.ObjectField(SdkFolder, typeof(UnityEngine.Object), false, GUILayout.MaxWidth(200)); - GUILayout.FlexibleSpace(); - } - GUILayout.Space(5); - GUI.enabled = AppCenterEditor.IsGUIEnabled(); - } - - private static void ShowSdkInstalledLabel() - { - GUILayout.Space(5); - EditorGUILayout.LabelField(string.Format("SDK {0} is installed", string.IsNullOrEmpty(InstalledSdkVersion) ? Constants.UnknownVersion : InstalledSdkVersion), - TitleStyle, GUILayout.ExpandWidth(true)); - GUILayout.Space(5); - } - - private static void ShowInstallingButton() - { - var buttonWidth = 250; - GUILayout.Space(5); - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleEmpty"))) - { - GUILayout.FlexibleSpace(); - var image = DrawUtils.RotateImage(AssetDatabase.LoadAssetAtPath("Assets/AppCenterEditorExtensions/Editor/UI/Images/wheel.png", typeof(Texture2D)) as Texture2D, angle++); - GUILayout.Button(new GUIContent(" SDK is installing", image), AppCenterEditorHelper.uiStyle.GetStyle("Button"), GUILayout.MaxWidth(buttonWidth), GUILayout.MinHeight(32)); - GUILayout.FlexibleSpace(); - } - GUILayout.Space(5); - } - - private static void ShowInstallButton() - { - var buttonWidth = 250; - GUILayout.Space(5); - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleEmpty"))) - { - GUILayout.FlexibleSpace(); - if (GUILayout.Button("Install all App Center SDK packages", AppCenterEditorHelper.uiStyle.GetStyle("Button"), GUILayout.MaxWidth(buttonWidth), GUILayout.MinHeight(32))) - { - IsInstalling = true; - try - { - PackagesInstaller.ImportLatestSDK(GetNotInstalledPackages(), LatestSdkVersion); - } - catch (Exception exception) - { - EdExLogger.LoggerInstance.LogError("Failed to install SDK packages: " + exception); - IsInstalling = false; - } - } - GUILayout.FlexibleSpace(); - } - GUILayout.Space(5); - } - - private static void ShowNOSDKLabel() - { - EditorGUILayout.LabelField("No SDK is installed.", TitleStyle, GUILayout.ExpandWidth(true)); - GUILayout.Space(10); - } - - public static bool AreSomePackagesInstalled() - { - return GetAppCenterSettings() != null; - } - - public static List GetNotInstalledPackages() - { - List notInstalledPackages = new List(); - if (!IsInstalled) - { - notInstalledPackages.AddRange(AppCenterSDKPackage.SupportedPackages); - return notInstalledPackages; - } - foreach (var package in AppCenterSDKPackage.SupportedPackages) - { - if (!package.IsInstalled) - { - notInstalledPackages.Add(package); - } - } - return notInstalledPackages; - } - - public static bool CheckIfAllPackagesInstalled() - { - foreach (var package in AppCenterSDKPackage.SupportedPackages) - { - if (!package.IsInstalled) - { - return false; - } - } - return GetAppCenterSettings() != null; - } - - public static Type GetAppCenterSettings() - { - if (appCenterSettingsType == typeof(object)) - return null; // Sentinel value to indicate that AppCenterSettings doesn't exist - if (appCenterSettingsType != null) - return appCenterSettingsType; - - appCenterSettingsType = typeof(object); // Sentinel value to indicate that AppCenterSettings doesn't exist - var allAssemblies = AppDomain.CurrentDomain.GetAssemblies(); - foreach (var assembly in allAssemblies) - foreach (var eachType in assembly.GetTypes()) - if (eachType.Name == AppCenterEditorHelper.APPCENTER_SETTINGS_TYPENAME) - appCenterSettingsType = eachType; - //if (appCenterSettingsType == typeof(object)) - // Debug.LogWarning("Should not have gotten here: " + allAssemblies.Length); - //else - // Debug.Log("Found Settings: " + allAssemblies.Length + ", " + appCenterSettingsType.Assembly.FullName); - return appCenterSettingsType == typeof(object) ? null : appCenterSettingsType; - } - - private static bool ShowSDKUpgrade() - { - if (string.IsNullOrEmpty(LatestSdkVersion) || LatestSdkVersion == Constants.UnknownVersion) - { - return false; - } - - if (string.IsNullOrEmpty(InstalledSdkVersion) || InstalledSdkVersion == Constants.UnknownVersion) - { - return true; - } - bool isOutdated = false; - - foreach (var package in AppCenterSDKPackage.SupportedPackages) - { - if (package.IsInstalled) - { - string packageVersion = package.InstalledVersion; - bool isPackageOutdated = false; - if (string.IsNullOrEmpty(packageVersion) || packageVersion == Constants.UnknownVersion) - { - isPackageOutdated = true; - } - else - { - string[] current = packageVersion.Split('.'); - string[] latest = LatestSdkVersion.Split('.'); - isPackageOutdated = int.Parse(latest[0]) > int.Parse(current[0]) - || int.Parse(latest[1]) > int.Parse(current[1]) - || int.Parse(latest[2]) > int.Parse(current[2]); - } - if (isPackageOutdated) - { - isOutdated = true; - } - } - } - - return isOutdated; - } - - private static void UpgradeSdk() - { - if (EditorUtility.DisplayDialog("Confirm SDK Upgrade", "This action will remove the current App Center SDK and install the lastet version.", "Confirm", "Cancel")) - { - try - { - var installedPackages = AppCenterSDKPackage.GetInstalledPackages(); - RemoveSdkBeforeUpdate(); - PackagesInstaller.ImportLatestSDK(installedPackages, LatestSdkVersion, AppCenterEditorPrefsSO.Instance.SdkPath); - } - catch (Exception exception) - { - EdExLogger.LoggerInstance.LogError("Failed to upgrade SDK: " + exception); - IsUpgrading = false; - } - } - } - - private static void RemoveSdkBeforeUpdate() - { - var skippedFiles = new[] - { - "AppCenterSettings.asset", - "AppCenterSettings.asset.meta", - "AppCenterSettingsAdvanced.asset", - "AppCenterSettingsAdvanced.asset.meta" - }; - - RemoveAndroidSettings(); - - var toDelete = new List(); - toDelete.AddRange(Directory.GetFiles(AppCenterEditorPrefsSO.Instance.SdkPath)); - toDelete.AddRange(Directory.GetDirectories(AppCenterEditorPrefsSO.Instance.SdkPath)); - - foreach (var path in toDelete) - { - if (!skippedFiles.Contains(Path.GetFileName(path))) - { - FileUtil.DeleteFileOrDirectory(path); - } - } - } - - public static void RemoveSdk(bool prompt = true) - { - if (prompt && !EditorUtility.DisplayDialog("Confirm SDK Removal", "This action will remove the current App Center SDK.", "Confirm", "Cancel")) - { - return; - } - EdExLogger.LoggerInstance.LogWithTimeStamp("Removing SDK..."); - - RemoveAndroidSettings(); - - if (FileUtil.DeleteFileOrDirectory(AppCenterEditorPrefsSO.Instance.SdkPath)) - { - FileUtil.DeleteFileOrDirectory(AppCenterEditorPrefsSO.Instance.SdkPath + ".meta"); - AppCenterEditor.RaiseStateUpdate(AppCenterEditor.EdExStates.OnSuccess, "App Center SDK removed."); - - EdExLogger.LoggerInstance.LogWithTimeStamp("App Center SDK removed."); - // HACK for 5.4, AssetDatabase.Refresh(); seems to cause the install to fail. - if (prompt) - { - AssetDatabase.Refresh(); - } - } - else - { - AppCenterEditor.RaiseStateUpdate(AppCenterEditor.EdExStates.OnError, "An unknown error occured and the App Center SDK could not be removed."); - } - } - - private static void RemoveAndroidSettings() - { - if (Directory.Exists(Application.dataPath + "/Plugins/Android/res/values")) - { - var files = Directory.GetFiles(Application.dataPath + "/Plugins/Android/res/values", "appcenter-settings.xml*", SearchOption.AllDirectories); - foreach (var file in files) - { - FileUtil.DeleteFileOrDirectory(file); - } - } - } - - private static void CheckSdkVersion() - { - if (!string.IsNullOrEmpty(InstalledSdkVersion)) - return; - - var packageTypes = new Dictionary(); - foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies()) - { - try - { - foreach (var type in assembly.GetTypes()) - { - if (type.FullName == Constants.WrapperSdkClassName) - { - foreach (var field in type.GetFields()) - { - if (field.Name == Constants.WrapperSdkVersionFieldName) - { - InstalledSdkVersion = field.GetValue(field).ToString(); - break; - } - } - } - else - { - foreach (var package in AppCenterSDKPackage.SupportedPackages) - { - if (type.FullName == package.TypeName) - { - package.IsInstalled = true; - packageTypes[package] = type; - } - } - } - } - } - catch (ReflectionTypeLoadException) - { - // For this failure, silently skip this assembly unless we have some expectation that it contains App Center - if (assembly.FullName.StartsWith("Assembly-CSharp")) // The standard "source-code in unity proj" assembly name - { - EdExLogger.LoggerInstance.LogWarning("App Center Editor Extension error, failed to access the main CSharp assembly that probably contains App Center SDK"); - } - continue; - } - } - foreach (var packageType in packageTypes) - { - packageType.Key.GetInstalledVersion(packageType.Value, InstalledSdkVersion); - } - } - - private static void GetLatestSdkVersion() - { - var threshold = AppCenterEditorPrefsSO.Instance.EdSet_lastSdkVersionCheck != DateTime.MinValue ? AppCenterEditorPrefsSO.Instance.EdSet_lastSdkVersionCheck.AddHours(1) : DateTime.MinValue; - - if (DateTime.Today > threshold) - { - AppCenterEditorHttp.MakeGitHubApiCall("https://api.github.com/repos/Microsoft/AppCenter-SDK-Unity/git/refs/tags", (version) => - { - LatestSdkVersion = version ?? Constants.UnknownVersion; - AppCenterEditorPrefsSO.Instance.EdSet_latestSdkVersion = LatestSdkVersion; - }); - } - else - { - LatestSdkVersion = AppCenterEditorPrefsSO.Instance.EdSet_latestSdkVersion; - } - } - - private static UnityEngine.Object FindSdkAsset() - { - UnityEngine.Object sdkAsset = null; - - // look in editor prefs - if (AppCenterEditorPrefsSO.Instance.SdkPath != null) - { - sdkAsset = AssetDatabase.LoadAssetAtPath(AppCenterEditorPrefsSO.Instance.SdkPath, typeof(UnityEngine.Object)); - } - if (sdkAsset != null) - return sdkAsset; - - sdkAsset = AssetDatabase.LoadAssetAtPath(AppCenterEditorHelper.DEFAULT_SDK_LOCATION, typeof(UnityEngine.Object)); - if (sdkAsset != null) - return sdkAsset; - - var fileList = Directory.GetDirectories(Application.dataPath, "*AppCenter", SearchOption.AllDirectories); - if (fileList.Length == 0) - return null; - - var relPath = fileList[0].Substring(fileList[0].LastIndexOf("Assets" + Path.DirectorySeparatorChar)); - return AssetDatabase.LoadAssetAtPath(relPath, typeof(UnityEngine.Object)); - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorSDKTools.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorSDKTools.cs.meta deleted file mode 100644 index 1218807b..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorSDKTools.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2b57d3ec8e3cf4c8c8ba6d8d595cd6c1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage.meta deleted file mode 100644 index 92381d34..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3d64a1476e9a21a42b7cac2baafca9d4 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterAnalyticsPackage.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterAnalyticsPackage.cs deleted file mode 100644 index 30df5540..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterAnalyticsPackage.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace AppCenterEditor -{ - public class AppCenterAnalyticsPackage : AppCenterSDKPackage - { - private const string AnalyticsLatestDownload = "https://mobilecentersdkdev.blob.core.windows.net/sdk/AppCenterAnalyticsLatest.unitypackage"; - private const string AnalyticsDownloadFormat = "https://github.com/Microsoft/AppCenter-SDK-Unity/releases/download/{0}/AppCenterAnalytics-v{0}.unitypackage"; - - public static AppCenterAnalyticsPackage Instance = new AppCenterAnalyticsPackage(); - - public override string Name { get { return "Analytics"; } } - - protected override bool IsSupportedForWSA { get { return true; } } - - public override string TypeName { get { return "Microsoft.AppCenter.Unity.Analytics.Analytics"; } } - - public override string VersionFieldName { get { return "AnalyticsSDKVersion"; } } - - public override string DownloadLatestUrl { get { return AnalyticsLatestDownload; } } - - public override string DownloadUrlFormat { get { return AnalyticsDownloadFormat; } } - - protected override bool IsSdkPackageSupported() - { - return true; - } - - private AppCenterAnalyticsPackage() - { - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterAnalyticsPackage.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterAnalyticsPackage.cs.meta deleted file mode 100644 index 9139890c..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterAnalyticsPackage.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 564bbf408bc68c04fa37ddf06c3a47de -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterCrashesPackage.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterCrashesPackage.cs deleted file mode 100644 index e7a4b532..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterCrashesPackage.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace AppCenterEditor -{ - public class AppCenterCrashesPackage : AppCenterSDKPackage - { - private const string CrashesLatestDownload = "https://mobilecentersdkdev.blob.core.windows.net/sdk/AppCenterCrashesLatest.unitypackage"; - private const string CrashesDownloadFormat = "https://github.com/Microsoft/AppCenter-SDK-Unity/releases/download/{0}/AppCenterCrashes-v{0}.unitypackage"; - - public static AppCenterCrashesPackage Instance = new AppCenterCrashesPackage(); - - public override string Name { get { return "Crashes"; } } - - protected override bool IsSupportedForWSA { get { return false; } } - - public override string TypeName { get { return "Microsoft.AppCenter.Unity.Crashes.Crashes"; } } - - public override string VersionFieldName { get { return "CrashesSDKVersion"; } } - - public override string DownloadLatestUrl { get { return CrashesLatestDownload; } } - - public override string DownloadUrlFormat { get { return CrashesDownloadFormat; } } - - protected override bool IsSdkPackageSupported() - { - return true; - } - - private AppCenterCrashesPackage() - { - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterCrashesPackage.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterCrashesPackage.cs.meta deleted file mode 100644 index c14d49ac..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterCrashesPackage.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f2adc8c1aa0190947ae545aac1d99de0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterDistributePackage.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterDistributePackage.cs deleted file mode 100644 index 0d78de41..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterDistributePackage.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace AppCenterEditor -{ - public class AppCenterDistributePackage : AppCenterSDKPackage - { - private const string DistributeLatestDownload = "https://mobilecentersdkdev.blob.core.windows.net/sdk/AppCenterDistributeLatest.unitypackage"; - private const string DistributeDownloadFormat = "https://github.com/Microsoft/AppCenter-SDK-Unity/releases/download/{0}/AppCenterDistribute-v{0}.unitypackage"; - - public static AppCenterDistributePackage Instance = new AppCenterDistributePackage(); - - public override string TypeName { get { return "Microsoft.AppCenter.Unity.Distribute.Distribute"; } } - - public override string VersionFieldName { get { return "DistributeSDKVersion"; } } - - public override string Name { get { return "Distribute"; } } - - protected override bool IsSupportedForWSA { get { return false; } } - - public override string DownloadLatestUrl { get { return DistributeLatestDownload; } } - - public override string DownloadUrlFormat { get { return DistributeDownloadFormat; } } - - protected override bool IsSdkPackageSupported() - { - return true; - } - - private AppCenterDistributePackage() - { - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterDistributePackage.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterDistributePackage.cs.meta deleted file mode 100644 index bd196cb8..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterDistributePackage.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a4c7d12311fbe6c4dbdc48c7f0c955d2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterSDKPackage.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterSDKPackage.cs deleted file mode 100644 index b8ab2de7..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterSDKPackage.cs +++ /dev/null @@ -1,229 +0,0 @@ -using System; -using System.Collections.Generic; -using UnityEditor; -using UnityEngine; -using System.IO; - -namespace AppCenterEditor -{ - public abstract class AppCenterSDKPackage - { - private static int angle = 0; - - public static IEnumerable SupportedPackages = new AppCenterSDKPackage[] - { - AppCenterAnalyticsPackage.Instance, - AppCenterCrashesPackage.Instance, - AppCenterDistributePackage.Instance, - }; - - public string InstalledVersion { get; private set; } - public bool IsInstalled { get; set; } - public bool IsPackageInstalling { get; set; } - public bool IsObjectFieldActive { get; set; } - protected abstract bool IsSupportedForWSA { get; } - public abstract string Name { get; } - public abstract string DownloadLatestUrl { get; } - public abstract string DownloadUrlFormat { get; } - public abstract string TypeName { get; } - public abstract string VersionFieldName { get; } - protected abstract bool IsSdkPackageSupported(); - - public static IEnumerable GetInstalledPackages() - { - var installedPackages = new List(); - foreach (var package in SupportedPackages) - { - if (package.IsInstalled) - { - installedPackages.Add(package); - } - } - return installedPackages; - } - - private void RemovePackage(bool prompt = true) - { - if (prompt && !EditorUtility.DisplayDialog("Confirm SDK Removal", string.Format("This action will remove the current {0} SDK.", Name), "Confirm", "Cancel")) - { - return; - } - EdExLogger.LoggerInstance.LogWithTimeStamp(string.Format("Removing {0} package...", Name)); - - var toDelete = new List(); - string pluginsPath = Path.Combine(AppCenterEditorPrefsSO.Instance.SdkPath, "Plugins"); - string androidPath = Path.Combine(pluginsPath, "Android"); - string sdkPath = Path.Combine(pluginsPath, "AppCenterSDK"); - string iosPath = Path.Combine(pluginsPath, "iOS"); - string wsaPath = Path.Combine(pluginsPath, "WSA"); - toDelete.Add(Path.Combine(androidPath, string.Format("appcenter-{0}-release.aar", Name.ToLower()))); - toDelete.AddRange(Directory.GetFiles(Path.Combine(sdkPath, Name))); - toDelete.AddRange(Directory.GetDirectories(Path.Combine(sdkPath, Name))); - toDelete.Add(Path.Combine(sdkPath, Name)); - toDelete.AddRange(Directory.GetFiles(Path.Combine(iosPath, Name))); - toDelete.AddRange(Directory.GetDirectories(Path.Combine(iosPath, Name))); - toDelete.Add(Path.Combine(iosPath, Name)); - if (IsSupportedForWSA) - { - toDelete.AddRange(Directory.GetFiles(Path.Combine(wsaPath, Name))); - toDelete.AddRange(Directory.GetDirectories(Path.Combine(wsaPath, Name))); - toDelete.Add(Path.Combine(wsaPath, Name)); - } - - bool deleted = true; - - foreach (var path in toDelete) - { - if (!FileUtil.DeleteFileOrDirectory(path)) - { - if (!path.EndsWith("meta")) - { - deleted = false; - } - } - FileUtil.DeleteFileOrDirectory(path + ".meta"); - } - - // Remove Core if no packages left. - List installedPackages = new List(); - installedPackages.AddRange(GetInstalledPackages()); - if (installedPackages.Count <= 1) - { - AppCenterEditorSDKTools.RemoveSdk(false); - } - - if (deleted) - { - EdExLogger.LoggerInstance.LogWithTimeStamp(string.Format("{0} package removed.", Name)); - AppCenterEditor.RaiseStateUpdate(AppCenterEditor.EdExStates.OnSuccess, string.Format("App Center {0} SDK removed.", Name)); - - // HACK for 5.4, AssetDatabase.Refresh(); seems to cause the install to fail. - if (prompt) - { - AssetDatabase.Refresh(); - } - } - else - { - AppCenterEditor.RaiseStateUpdate(AppCenterEditor.EdExStates.OnError, string.Format("An unknown error occured and the {0} SDK could not be removed.", Name)); - } - } - - public void ShowPackageInstalledMenu() - { - var isPackageSupported = IsSdkPackageSupported(); - - using (new AppCenterGuiFieldHelper.UnityVertical(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleEmpty"))) - { - var sdkPackageVersion = InstalledVersion; - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleEmpty"))) - { - GUILayout.FlexibleSpace(); - var labelStyle = new GUIStyle(AppCenterEditorHelper.uiStyle.GetStyle("versionText")); - EditorGUILayout.LabelField(string.Format("{0} SDK {1} is installed", Name, sdkPackageVersion), labelStyle); - GUILayout.FlexibleSpace(); - } - - bool packageVersionIsValid = sdkPackageVersion != null && sdkPackageVersion != Constants.UnknownVersion; - if (packageVersionIsValid && sdkPackageVersion.CompareTo(AppCenterEditorSDKTools.InstalledSdkVersion) != 0) - { - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleEmpty"))) - { - GUILayout.FlexibleSpace(); - EditorGUILayout.LabelField("Warning! Package version is not equal to the AppCenter Core SDK version. ", AppCenterEditorHelper.uiStyle.GetStyle("orTxt")); - GUILayout.FlexibleSpace(); - } - } - - if (isPackageSupported && AppCenterEditorSDKTools.SdkFolder != null) - { - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleEmpty"))) - { - GUILayout.FlexibleSpace(); - - if (GUILayout.Button("Remove SDK", AppCenterEditorHelper.uiStyle.GetStyle("textButton"))) - { - RemovePackage(); - } - - GUILayout.FlexibleSpace(); - } - } - } - } - - public void ShowPackageNotInstalledMenu() - { - using (new AppCenterGuiFieldHelper.UnityVertical(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleEmpty"))) - { - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleEmpty"))) - { - GUILayout.FlexibleSpace(); - var labelStyle = new GUIStyle(AppCenterEditorHelper.uiStyle.GetStyle("versionText")); - EditorGUILayout.LabelField(string.Format("{0} SDK is not installed.", Name), labelStyle); - GUILayout.FlexibleSpace(); - } - - using (new AppCenterGuiFieldHelper.UnityHorizontal(AppCenterEditorHelper.uiStyle.GetStyle("gpStyleEmpty"))) - { - GUILayout.FlexibleSpace(); - if (IsPackageInstalling) - { - var image = DrawUtils.RotateImage(AssetDatabase.LoadAssetAtPath("Assets/AppCenterEditorExtensions/Editor/UI/Images/wheel.png", typeof(Texture2D)) as Texture2D, angle++); - GUILayout.Button(new GUIContent(string.Format(" {0} SDK is installing", Name), image), AppCenterEditorHelper.uiStyle.GetStyle("customButton"), GUILayout.MaxWidth(200), GUILayout.MinHeight(32)); - } - else - { - if (GUILayout.Button("Install SDK", AppCenterEditorHelper.uiStyle.GetStyle("textButton"))) - { - AppCenterEditorSDKTools.IsInstalling = IsPackageInstalling = true; - ImportLatestPackageSDK(); - } - } - GUILayout.FlexibleSpace(); - } - } - } - - public string GetDownloadUrl(string version) - { - if (string.IsNullOrEmpty(version) || version == Constants.UnknownVersion) - { - return DownloadLatestUrl; - } - else - { - return string.Format(DownloadUrlFormat, version); - } - } - - public void GetInstalledVersion(Type type, string coreVersion) - { - foreach (var field in type.GetFields()) - { - if (field.Name == VersionFieldName) - { - InstalledVersion = field.GetValue(field).ToString(); - break; - } - } - if (string.IsNullOrEmpty(InstalledVersion)) - { - InstalledVersion = Constants.UnknownVersion; - } - } - - private void ImportLatestPackageSDK() - { - try - { - PackagesInstaller.ImportLatestSDK(new[] { this }, AppCenterEditorSDKTools.LatestSdkVersion); - } - catch (Exception exception) - { - EdExLogger.LoggerInstance.LogError("Failed to import package: " + exception); - AppCenterEditorSDKTools.IsInstalling = IsPackageInstalling = false; - } - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterSDKPackage.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterSDKPackage.cs.meta deleted file mode 100644 index 2430e374..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/SDKPackage/AppCenterSDKPackage.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9eea6442f3431d240b5fc226398b147f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils.meta deleted file mode 100644 index ddc29061..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 650530f20e6ea42d9a780a37a9774a42 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorGuiFieldHelper.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorGuiFieldHelper.cs deleted file mode 100644 index 6e020fb6..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorGuiFieldHelper.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections.Generic; -using UnityEditor; -using UnityEngine; - -namespace AppCenterEditor -{ - public static class AppCenterGuiFieldHelper - { - - /// - /// A disposable wrapper for Verticals, to ensure they're paired properly, and to make the code visually block together within them - /// - public class UnityHorizontal : IDisposable - { - public UnityHorizontal(params GUILayoutOption[] options) - { - EditorGUILayout.BeginHorizontal(options); - } - - public UnityHorizontal(GUIStyle style, params GUILayoutOption[] options) - { - EditorGUILayout.BeginHorizontal(style, options); - } - - public void Dispose() - { - EditorGUILayout.EndHorizontal(); - } - } - - /// - /// A disposable wrapper for Horizontals, to ensure they're paired properly, and to make the code visually block together within them - /// - public class UnityVertical : IDisposable - { - public UnityVertical(params GUILayoutOption[] options) - { - EditorGUILayout.BeginVertical(options); - } - - public UnityVertical(GUIStyle style, params GUILayoutOption[] options) - { - EditorGUILayout.BeginVertical(style, options); - } - - public void Dispose() - { - EditorGUILayout.EndVertical(); - } - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorGuiFieldHelper.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorGuiFieldHelper.cs.meta deleted file mode 100644 index 4e7231d5..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorGuiFieldHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d96a7c436f35b439192d00d70db71bf2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorHelper.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorHelper.cs deleted file mode 100644 index 05188cc2..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorHelper.cs +++ /dev/null @@ -1,83 +0,0 @@ -using UnityEditor; -using UnityEngine; -using System; -using System.IO; - -namespace AppCenterEditor -{ - [InitializeOnLoad] - public static partial class AppCenterEditorHelper - { - public static string EDEX_NAME = "AppCenterEditorExtensions"; - public static string EDEX_ROOT = Path.Combine(Application.dataPath, "AppCenterEditorExtensions/Editor"); - public static string APPCENTER_SETTINGS_TYPENAME = "AppCenterSettings"; - public static string APPCENTER_WRAPPER_SDK_TYPENAME = "WrapperSdk"; - public static string DEFAULT_SDK_LOCATION = "Assets/AppCenter"; - public static string DEFAULT_SDK_LOCATION_PATH = Application.dataPath + "/AppCenter"; - public static string MSG_SPIN_BLOCK = "{\"useSpinner\":true, \"blockUi\":true }"; - public static string ANALYTICS_SDK_DOWNLOAD_PATH = "/Resources/AppCenterAnalyticsUnitySdk.unitypackage"; - public static string CRASHES_SDK_DOWNLOAD_PATH = "/Resources/AppCenterCrashesUnitySdk.unitypackage"; - public static string DISTRIBUTE_SDK_DOWNLOAD_PATH = "/Resources/AppCenterDistributeUnitySdk.unitypackage"; - public static string EDEX_UPGRADE_PATH = "/Resources/AppCenterUnityEditorExtensions.unitypackage"; - public static string EDEX_PACKAGES_PATH = "/Resources/MostRecentPackage.unitypackage"; - - private static GUISkin _uiStyle; - - public static GUISkin uiStyle - { - get - { - if (_uiStyle != null) - return _uiStyle; - _uiStyle = GetUiStyle(); - return _uiStyle; - } - } - - public static void SharedErrorCallback(string error) - { - AppCenterEditor.RaiseStateUpdate(AppCenterEditor.EdExStates.OnError, error); - } - - private static GUISkin GetUiStyle() - { - var searchRoot = string.IsNullOrEmpty(EDEX_ROOT) ? Application.dataPath : EDEX_ROOT; - string[] guiPaths; - - if (Directory.Exists(searchRoot)) - { - guiPaths = FindGuiSkinPaths(searchRoot); - } - else - { - EDEX_ROOT = FindEdexRoot(); - guiPaths = FindGuiSkinPaths(EDEX_ROOT); - } - - foreach (var eachPath in guiPaths) - { - var loadPath = eachPath.Substring(eachPath.LastIndexOf("Assets" + Path.DirectorySeparatorChar, StringComparison.Ordinal)); - return (GUISkin) AssetDatabase.LoadAssetAtPath(loadPath, typeof(GUISkin)); - } - - return null; - } - - private static string[] FindGuiSkinPaths(string searchPath) - { - return Directory.GetFiles(searchPath, "AppCenterStyles.guiskin", SearchOption.AllDirectories); - } - - private static string FindEdexRoot() - { - var directoryList = Directory.GetDirectories(Application.dataPath, "*" + EDEX_NAME, SearchOption.AllDirectories); - if (directoryList.Length == 0) - { - throw new DirectoryNotFoundException(EDEX_NAME + " not found"); - } - - var relativePath = directoryList[0].Substring(directoryList[0].LastIndexOf("Assets" + Path.DirectorySeparatorChar, StringComparison.Ordinal)); - return Path.Combine(relativePath, "Editor"); - } - } -} \ No newline at end of file diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorHelper.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorHelper.cs.meta deleted file mode 100644 index 683eea9c..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorHelper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f7e4708e69744494f98d2972fc0a1584 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorPrefsSO.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorPrefsSO.cs deleted file mode 100644 index f5461041..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorPrefsSO.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System.Collections.Generic; -using UnityEditor; -using UnityEngine; -using System; -using System.IO; -using System.Globalization; - -namespace AppCenterEditor -{ -#if UNITY_5_3_OR_NEWER - [CreateAssetMenu(fileName = "AppCenterEditorPrefsSO", menuName = "App Center/Make Prefs SO", order = 1)] -#endif - public class AppCenterEditorPrefsSO : ScriptableObject - { - public const string EdExLastCheckDateKey = "EdExLastCheckDateKey"; - public const string SdkLastCheckDateKey = "SdkLastCheckDateKey"; - public string SdkPath; - public string EdExPath; - public bool PanelIsShown; - public int curMainMenuIdx; - private string _latestSdkVersion; - private string _latestEdExVersion; - private DateTime _lastSdkVersionCheck; - private DateTime _lastEdExVersionCheck; - private static AppCenterEditorPrefsSO _instance; - - public string EdSet_latestSdkVersion - { - get - { - return _latestSdkVersion; - } - set - { - _latestSdkVersion = value; - _lastSdkVersionCheck = DateTime.UtcNow; - PlayerPrefs.SetString(SdkLastCheckDateKey, _lastSdkVersionCheck.ToString(CultureInfo.InvariantCulture)); - } - } - - public string EdSet_latestEdExVersion - { - get - { - return _latestEdExVersion; - } - set - { - _latestEdExVersion = value; - _lastEdExVersionCheck = DateTime.UtcNow; - PlayerPrefs.SetString(EdExLastCheckDateKey, _lastEdExVersionCheck.ToString(CultureInfo.InvariantCulture)); - } - } - - public DateTime EdSet_lastSdkVersionCheck - { - get - { - return PlayerPrefs.HasKey(SdkLastCheckDateKey) ? DateTime.Parse(PlayerPrefs.GetString(SdkLastCheckDateKey), CultureInfo.InvariantCulture) : _lastSdkVersionCheck; - } - } - - public DateTime EdSet_lastEdExVersionCheck - { - get - { - return PlayerPrefs.HasKey(EdExLastCheckDateKey) ? DateTime.Parse(PlayerPrefs.GetString(EdExLastCheckDateKey), CultureInfo.InvariantCulture) : _lastEdExVersionCheck; - } - } - - public static AppCenterEditorPrefsSO Instance - { - get - { - if (_instance != null) - return _instance; - - var settingsList = Resources.LoadAll("AppCenterEditorPrefsSO"); - if (settingsList.Length == 1) - _instance = settingsList[0]; - if (_instance != null) - return _instance; - _instance = CreateInstance(); - if (!Directory.Exists(Path.Combine(Application.dataPath, "AppCenterEditorExtensions/Editor/Resources"))) - Directory.CreateDirectory(Path.Combine(Application.dataPath, "AppCenterEditorExtensions/Editor/Resources")); - AssetDatabase.CreateAsset(_instance, "Assets/AppCenterEditorExtensions/Editor/Resources/AppCenterEditorPrefsSO.asset"); - AssetDatabase.SaveAssets(); - EdExLogger.LoggerInstance.LogWithTimeStamp("Created missing AppCenterEditorPrefsSO file"); - return _instance; - } - } - - public static void Save() - { - EditorUtility.SetDirty(_instance); - AssetDatabase.SaveAssets(); - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorPrefsSO.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorPrefsSO.cs.meta deleted file mode 100644 index 6de1d196..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorPrefsSO.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cbb9dcf2e78804b9384db79873454e2f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorVersion.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorVersion.cs deleted file mode 100644 index 988e4334..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorVersion.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace AppCenterEditor -{ - public static partial class AppCenterEditorHelper - { - public static string EDEX_VERSION = "3.0.0"; - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorVersion.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorVersion.cs.meta deleted file mode 100644 index f0532e7d..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/AppCenterEditorVersion.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ca7cc6f0d12514529b75b5a1e489ef41 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/Coroutiner.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/Coroutiner.cs deleted file mode 100644 index d5631194..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/Coroutiner.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; -using System.Collections; - -/// -/// Author: Sebastiaan Fehr (Seb@TheBinaryMill.com) -/// Date: March 2013 -/// Summary: Creates MonoBehaviour instance through which -/// static classes can call StartCoroutine. -/// Description: Classes that do not inherit from MonoBehaviour, or static -/// functions within MonoBehaviours are inertly unable to -/// call StartCoroutene, as this function is not static and -/// does not exist on Object. This Class creates a proxy though -/// which StartCoroutene can be called, and destroys it when -/// no longer needed. -/// -public class Coroutiner -{ - - public static Coroutine StartCoroutine(IEnumerator iterationResult) - { - //Create GameObject with MonoBehaviour to handle task. - GameObject routeneHandlerGo = new GameObject("Coroutiner"); - CoroutinerInstance routeneHandler - = routeneHandlerGo.AddComponent(typeof(CoroutinerInstance)) - as CoroutinerInstance; - return routeneHandler.ProcessWork(iterationResult); - } - -} - -public class CoroutinerInstance : MonoBehaviour -{ - - public Coroutine ProcessWork(IEnumerator iterationResult) - { - return StartCoroutine(DestroyWhenComplete(iterationResult)); - } - - public IEnumerator DestroyWhenComplete(IEnumerator iterationResult) - { - yield return StartCoroutine(iterationResult); - DestroyImmediate(gameObject); - } - -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/Coroutiner.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/Coroutiner.cs.meta deleted file mode 100644 index ad7138af..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/Coroutiner.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4761e800aa3aef34a9e4b2083e5acb5c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/EdExLoggerFactory.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/EdExLoggerFactory.cs deleted file mode 100644 index 7a377b69..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/EdExLoggerFactory.cs +++ /dev/null @@ -1,25 +0,0 @@ - -//Factory. -namespace AppCenterEditor -{ - class EdExLogger - { - private static IEdExLogger _instance; - - public static IEdExLogger LoggerInstance - { - get - { - if (_instance == null) - { - _instance = new LocalLogger(); - } - return _instance; - } - } - - private EdExLogger() - { - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/EdExLoggerFactory.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/EdExLoggerFactory.cs.meta deleted file mode 100644 index 4b9b35aa..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/EdExLoggerFactory.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ecaed167bfab43f4b952d32525e60583 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/IEdExLogger.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/IEdExLogger.cs deleted file mode 100644 index 4b6fc9c3..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/IEdExLogger.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace AppCenterEditor -{ - interface IEdExLogger - { - void LogWithTimeStamp(string message); - - void LogWarning(string message); - - void LogError(string message); - - void Log(string message); - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/IEdExLogger.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/IEdExLogger.cs.meta deleted file mode 100644 index a41caeaa..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/IEdExLogger.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8bd5be8d50f07d94b9ecdd399064d573 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/LocalLogger.cs b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/LocalLogger.cs deleted file mode 100644 index ad382cf3..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/LocalLogger.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using UnityEngine; - -namespace AppCenterEditor -{ - class LocalLogger: IEdExLogger - { - public void LogWithTimeStamp(string message) - { - Debug.Log(GetUniqueMessage(message)); - } - - public void LogWarning(string message) - { - Debug.LogWarning(GetUniqueMessage(message)); - } - - public void LogError(string message) - { - Debug.LogError(GetUniqueMessage(message)); - } - - public void Log(string message) - { - Debug.Log(message); - } - - private string GetUniqueMessage(string message) - { - // Return unique message in order to distinguish similar messages. - return string.Format("[App Center EdEx MSG{0}] {1}", DateTime.Now.Millisecond, message); - } - } -} diff --git a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/LocalLogger.cs.meta b/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/LocalLogger.cs.meta deleted file mode 100644 index de467de5..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/Scripts/Utils/LocalLogger.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3bc93f39e9d0fc34eb720ccbc6bd5dc9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI.meta b/Assets/AppCenterEditorExtensions/Editor/UI.meta deleted file mode 100644 index d5a57dbe..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ba318e9601f0d44a8bf3051db0d011c8 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/AppCenterStyles.guiskin b/Assets/AppCenterEditorExtensions/Editor/UI/AppCenterStyles.guiskin deleted file mode 100644 index 489abbe3..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/AppCenterStyles.guiskin +++ /dev/null @@ -1,3869 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 1 - m_Script: {fileID: 12001, guid: 0000000000000000e000000000000000, type: 0} - m_Name: AppCenterStyles - m_EditorClassIdentifier: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_box: - m_Name: box - m_Normal: - m_Background: {fileID: 11001, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.79999995, g: 0.79999995, b: 0.79999995, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 6 - m_Right: 6 - m_Top: 6 - m_Bottom: 6 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 1 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_button: - m_Name: button - m_Normal: - m_Background: {fileID: 2800000, guid: 97ed4254d61244494b57b9d363c8a1d7, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: c5ea49187d2b64ede98639a6ba016a61, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.79607844, g: 0.18039216, b: 0.3882353, a: 1} - m_Active: - m_Background: {fileID: 2800000, guid: 58599f3437ab14851b8d21e417b9bac8, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 0.427451, b: 0.12941177, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnNormal: - m_Background: {fileID: 11005, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9019608, g: 0.9019608, b: 0.9019608, a: 1} - m_OnHover: - m_Background: {fileID: 11004, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnActive: - m_Background: {fileID: 11002, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9, g: 0.9, b: 0.9, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 6 - m_Right: 6 - m_Top: 6 - m_Bottom: 4 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 2 - m_Bottom: 4 - m_Padding: - m_Left: 3 - m_Right: 3 - m_Top: 3 - m_Bottom: 3 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - m_toggle: - m_Name: toggle - m_Normal: - m_Background: {fileID: 2800000, guid: d20c53c8cad21024091aeed0b9bf2a0e, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.89112896, g: 0.89112896, b: 0.89112896, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: d20c53c8cad21024091aeed0b9bf2a0e, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Active: - m_Background: {fileID: 2800000, guid: d20c53c8cad21024091aeed0b9bf2a0e, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 2800000, guid: a2f13c216f2649d49b892cade7f4e5f0, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.8901961, g: 0.8901961, b: 0.8901961, a: 1} - m_OnHover: - m_Background: {fileID: 2800000, guid: a2f13c216f2649d49b892cade7f4e5f0, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnActive: - m_Background: {fileID: 2800000, guid: a2f13c216f2649d49b892cade7f4e5f0, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 15 - m_Right: 0 - m_Top: 3 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 20 - m_FixedHeight: 20 - m_StretchWidth: 0 - m_StretchHeight: 0 - m_label: - m_Name: label - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9, g: 0.9, b: 0.9, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 3 - m_Bottom: 3 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 1 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_textField: - m_Name: textfield - m_Normal: - m_Background: {fileID: 2800000, guid: c5ea49187d2b64ede98639a6ba016a61, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.24264705, g: 0.24264705, b: 0.24264705, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: c5ea49187d2b64ede98639a6ba016a61, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 2800000, guid: c5ea49187d2b64ede98639a6ba016a61, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 0.427451, b: 0.12941177, a: 1} - m_OnNormal: - m_Background: {fileID: 2800000, guid: 5f32aedbadeff4790a54248a66f0b89d, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 0.427451, b: 0.12941177, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 3 - m_Right: 3 - m_Top: 3 - m_Bottom: 3 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_textArea: - m_Name: textarea - m_Normal: - m_Background: {fileID: 2800000, guid: c5ea49187d2b64ede98639a6ba016a61, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.24264705, g: 0.24264705, b: 0.24264705, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: e856215de795f4da391c71b298789c92, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 0.5586207, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 11025, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 3 - m_Right: 3 - m_Top: 3 - m_Bottom: 3 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_window: - m_Name: window - m_Normal: - m_Background: {fileID: 11023, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 11022, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 8 - m_Right: 8 - m_Top: 18 - m_Bottom: 8 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 10 - m_Right: 10 - m_Top: 20 - m_Bottom: 10 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 1 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: -18} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalSlider: - m_Name: horizontalslider - m_Normal: - m_Background: {fileID: 11009, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 3 - m_Right: 3 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: -1 - m_Right: -1 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: -2 - m_Bottom: -3 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 12 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalSliderThumb: - m_Name: horizontalsliderthumb - m_Normal: - m_Background: {fileID: 11011, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 11012, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 11010, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 4 - m_Right: 4 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 7 - m_Right: 7 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: -1 - m_Right: -1 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 12 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_verticalSlider: - m_Name: verticalslider - m_Normal: - m_Background: {fileID: 11021, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 3 - m_Bottom: 3 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: -1 - m_Bottom: -1 - m_Overflow: - m_Left: -2 - m_Right: -3 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 0 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 12 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 1 - m_verticalSliderThumb: - m_Name: verticalsliderthumb - m_Normal: - m_Background: {fileID: 11011, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 11012, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 11010, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 7 - m_Bottom: 7 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: -1 - m_Bottom: -1 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 12 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 1 - m_horizontalScrollbar: - m_Name: horizontalscrollbar - m_Normal: - m_Background: {fileID: 2800000, guid: 1c8aa345bd7fe44b88cf00b2f6b82579, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 9 - m_Right: 9 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 1 - m_Bottom: 4 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 10 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalScrollbarThumb: - m_Name: horizontalscrollbarthumb - m_Normal: - m_Background: {fileID: 2800000, guid: 9427eaf0703a74a008e9f9353562df39, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 6 - m_Right: 6 - m_Top: 6 - m_Bottom: 6 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 6 - m_Right: 6 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: -1 - m_Bottom: 1 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 8 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalScrollbarLeftButton: - m_Name: horizontalscrollbarleftbutton - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalScrollbarRightButton: - m_Name: horizontalscrollbarrightbutton - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_verticalScrollbar: - m_Name: verticalscrollbar - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 9 - m_Bottom: 9 - m_Margin: - m_Left: 1 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 1 - m_Bottom: 1 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 10 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_verticalScrollbarThumb: - m_Name: verticalscrollbarthumb - m_Normal: - m_Background: {fileID: 2800000, guid: 450b7f199fd52483e98fefe9874a8db6, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 6 - m_Right: 6 - m_Top: 6 - m_Bottom: 6 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 6 - m_Bottom: 6 - m_Overflow: - m_Left: -1 - m_Right: -1 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 8 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 1 - m_verticalScrollbarUpButton: - m_Name: verticalscrollbarupbutton - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_verticalScrollbarDownButton: - m_Name: verticalscrollbardownbutton - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_ScrollView: - m_Name: scrollview - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_CustomStyles: - - m_Name: enabledButton - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_Active: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 5 - m_Right: 5 - m_Top: 5 - m_Bottom: 5 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 11 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: customButton - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Active: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 5 - m_Right: 5 - m_Top: 5 - m_Bottom: 5 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 11 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: textButton - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411766, g: 0.7058824, b: 0.7607844, a: 1} - m_Active: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 5 - m_Right: 5 - m_Top: 5 - m_Bottom: 5 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 11 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: textButtonOr - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 0.427451, b: 0.12941177, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_Active: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 5 - m_Right: 5 - m_Top: 5 - m_Bottom: 5 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 11 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: textButtonMagenta - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.8509804, g: 0.16078432, b: 0.3764706, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_Active: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 5 - m_Right: 5 - m_Top: 5 - m_Bottom: 5 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 11 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: textButton_selected - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411766, g: 0.7058824, b: 0.7607844, a: 1} - m_Active: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 5 - m_Right: 5 - m_Top: 5 - m_Bottom: 5 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 11 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: acLogo - m_Normal: - m_Background: {fileID: 2800000, guid: d6a86fa7486365949986b148160cd152, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: listDisplay - m_Normal: - m_Background: {fileID: 2800000, guid: 450b7f199fd52483e98fefe9874a8db6, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 20 - m_Right: 20 - m_Top: 20 - m_Bottom: 20 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: listDisplayBox - m_Normal: - m_Background: {fileID: 2800000, guid: b448351bef2db4b448ef1eb6309a2f5d, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 10 - m_Bottom: 10 - m_Padding: - m_Left: 10 - m_Right: 5 - m_Top: 10 - m_Bottom: 10 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: progressBarBg - m_Normal: - m_Background: {fileID: 2800000, guid: b448351bef2db4b448ef1eb6309a2f5d, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 2 - m_Bottom: 2 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 1 - m_Bottom: 1 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 6 - m_StretchWidth: 1 - m_StretchHeight: 0 - - m_Name: progressBarFg - m_Normal: - m_Background: {fileID: 2800000, guid: 286dbc34451574bab8002be838a2dec4, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 4 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: progressBarError - m_Normal: - m_Background: {fileID: 2800000, guid: a3da21963adc743948ae086a74fb614a, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 4 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: progressBarWarn - m_Normal: - m_Background: {fileID: 2800000, guid: 8d9fbb2fce9014025baef3f63f94cb37, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 4 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: progressBarSuccess - m_Normal: - m_Background: {fileID: 2800000, guid: f2fd02595b1014de8acf94006b559592, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 4 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: progressBarClear - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 6 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: gmIcon - m_Normal: - m_Background: {fileID: 2800000, guid: 8d4df8ffe68a9438ba4833c0678b97b3, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Hover: - m_Background: {fileID: 2800000, guid: bd50486fbb8b648b3bc32124bc841c0f, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 2800000, guid: b43817ee9dda16c41a628a705526a021, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 25 - m_FixedHeight: 25 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: labelStyle - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 5 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: genTxt - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 5 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 436664d726292a54fa79d2168f4541ac, type: 3} - m_FontSize: 16 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: editTxt - m_Normal: - m_Background: {fileID: 2800000, guid: e856215de795f4da391c71b298789c92, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.24264705, g: 0.24264705, b: 0.24264705, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 5 - m_Right: 5 - m_Top: 5 - m_Bottom: 5 - m_Padding: - m_Left: 10 - m_Right: 10 - m_Top: 10 - m_Bottom: 10 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 436664d726292a54fa79d2168f4541ac, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 1 - m_RichText: 1 - m_TextClipping: 0 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 1 - - m_Name: listKey - m_Normal: - m_Background: {fileID: 2800000, guid: e856215de795f4da391c71b298789c92, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: 2e064f0948b52496983fa0597fa61a0a, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Focused: - m_Background: {fileID: 2800000, guid: 5f32aedbadeff4790a54248a66f0b89d, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 2 - m_Right: 2 - m_Top: 2 - m_Bottom: 2 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: listKey_dirty - m_Normal: - m_Background: {fileID: 2800000, guid: 450b7f199fd52483e98fefe9874a8db6, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 0.427451, b: 0.12941177, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: 9427eaf0703a74a008e9f9353562df39, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.36764705, g: 0.36764705, b: 0.36764705, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Focused: - m_Background: {fileID: 2800000, guid: 9427eaf0703a74a008e9f9353562df39, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 0.427451, b: 0.12941177, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 2 - m_Right: 2 - m_Top: 2 - m_Bottom: 2 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: listValue - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 2 - m_Right: 2 - m_Top: 5 - m_Bottom: 2 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 436664d726292a54fa79d2168f4541ac, type: 3} - m_FontSize: 11 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: listValue_dirty - m_Normal: - m_Background: {fileID: 2800000, guid: 450b7f199fd52483e98fefe9874a8db6, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 0.427451, b: 0.12941177, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 2 - m_Right: 2 - m_Top: 6 - m_Bottom: 2 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 436664d726292a54fa79d2168f4541ac, type: 3} - m_FontSize: 11 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: cGenTxt - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 5 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 436664d726292a54fa79d2168f4541ac, type: 3} - m_FontSize: 16 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: orTxt - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411766, g: 0.7058824, b: 0.7607844, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9921569, g: 0.41960788, b: 0.050980397, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 5 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 436664d726292a54fa79d2168f4541ac, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: titleLabel - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 5 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 20 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: orTitle - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 0.427451, b: 0.12941177, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 5 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 20 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: versionText - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 5 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 436664d726292a54fa79d2168f4541ac, type: 3} - m_FontSize: 12 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: gpStyleGray1 - m_Normal: - m_Background: {fileID: 2800000, guid: b448351bef2db4b448ef1eb6309a2f5d, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 3 - m_Bottom: 3 - m_Padding: - m_Left: 5 - m_Right: 5 - m_Top: 5 - m_Bottom: 5 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: gpStyleGray2 - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.79607844, g: 0.18039216, b: 0.3882353, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 5 - m_Bottom: 5 - m_Padding: - m_Left: 5 - m_Right: 5 - m_Top: 5 - m_Bottom: 5 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 26 - m_FontStyle: 1 - m_Alignment: 3 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: gpStyleGray3 - m_Normal: - m_Background: {fileID: 2800000, guid: b448351bef2db4b448ef1eb6309a2f5d, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 5 - m_Bottom: 5 - m_Padding: - m_Left: 5 - m_Right: 5 - m_Top: 5 - m_Bottom: 5 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: gpStyleGray4 - m_Normal: - m_Background: {fileID: 2800000, guid: b448351bef2db4b448ef1eb6309a2f5d, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 5 - m_Bottom: 5 - m_Padding: - m_Left: 5 - m_Right: 5 - m_Top: 5 - m_Bottom: 5 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: gpStyleClear - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 2 - m_Right: 2 - m_Top: 2 - m_Bottom: 2 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: gpStyleHeaderWrapper - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 10 - m_Right: 10 - m_Top: 10 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: gpStyleClearWithLeftPad - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 15 - m_Right: 2 - m_Top: 2 - m_Bottom: 2 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: gpStyleEmpty - m_Normal: - m_Background: {fileID: 2800000, guid: 092f0246298fc4ec78dbb9dcf5ed83e5, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 0 - - m_Name: gpStyleBlur - m_Normal: - m_Background: {fileID: 2800000, guid: 9de03259c3d2e43fc91ef7dc9054b186, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 0} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 12800000, guid: 96e17474f840a01459f0cc936c5d4d9b, type: 3} - m_FontSize: 14 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 1 - - m_Name: foldOut_std - m_Normal: - m_Background: {fileID: 2800000, guid: d18cf6e30e1ec40e786fff9d747358c2, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Hover: - m_Background: {fileID: 2800000, guid: d396473974f984567a8e398f1ebd9ec9, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_Active: - m_Background: {fileID: 2800000, guid: 677a55eab8f234e688ec4c6be70208bb, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_Focused: - m_Background: {fileID: 2800000, guid: d396473974f984567a8e398f1ebd9ec9, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_OnNormal: - m_Background: {fileID: 2800000, guid: 43f13eb24deac4ae5a86c25189272a74, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_OnHover: - m_Background: {fileID: 2800000, guid: 93e56b7e753794953939a50df2c9c323, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_OnActive: - m_Background: {fileID: 2800000, guid: 93e56b7e753794953939a50df2c9c323, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} - m_OnFocused: - m_Background: {fileID: 2800000, guid: 93e56b7e753794953939a50df2c9c323, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.09411765, g: 0.7058824, b: 0.7607843, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 11 - m_FontStyle: 0 - m_Alignment: 3 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 0 - m_ImagePosition: 0 - m_ContentOffset: {x: 15, y: 0} - m_FixedWidth: 10 - m_FixedHeight: 10 - m_StretchWidth: 0 - m_StretchHeight: 0 - m_Settings: - m_DoubleClickSelectsWord: 1 - m_TripleClickSelectsLine: 1 - m_CursorColor: {r: 0, g: 0, b: 0, a: 1} - m_CursorFlashSpeed: -1 - m_SelectionColor: {r: 0.58431375, g: 0.6, b: 0.58431375, a: 1} diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/AppCenterStyles.guiskin.meta b/Assets/AppCenterEditorExtensions/Editor/UI/AppCenterStyles.guiskin.meta deleted file mode 100644 index 0ee3f65f..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/AppCenterStyles.guiskin.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 945c7829b233c4083ae582acca910d87 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Fonts.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Fonts.meta deleted file mode 100644 index e5a33960..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Fonts.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 40a60cfa9005048dea3df01c8f2db817 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Fonts/Avalon Bold.ttf b/Assets/AppCenterEditorExtensions/Editor/UI/Fonts/Avalon Bold.ttf deleted file mode 100644 index 70cfe31d..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Fonts/Avalon Bold.ttf and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Fonts/Avalon Bold.ttf.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Fonts/Avalon Bold.ttf.meta deleted file mode 100644 index b92f5ae2..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Fonts/Avalon Bold.ttf.meta +++ /dev/null @@ -1,19 +0,0 @@ -fileFormatVersion: 2 -guid: 96e17474f840a01459f0cc936c5d4d9b -timeCreated: 1465800940 -licenseType: Pro -TrueTypeFontImporter: - serializedVersion: 3 - fontSize: 16 - forceTextureCase: -2 - characterSpacing: 1 - characterPadding: 0 - includeFontData: 1 - fontNames: [] - fallbackFontReferences: [] - customCharacters: - fontRenderingMode: 0 - ascentCalculationMode: 1 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Fonts/Avalon.ttf b/Assets/AppCenterEditorExtensions/Editor/UI/Fonts/Avalon.ttf deleted file mode 100644 index a5e767b9..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Fonts/Avalon.ttf and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Fonts/Avalon.ttf.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Fonts/Avalon.ttf.meta deleted file mode 100644 index 1316245c..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Fonts/Avalon.ttf.meta +++ /dev/null @@ -1,19 +0,0 @@ -fileFormatVersion: 2 -guid: 436664d726292a54fa79d2168f4541ac -timeCreated: 1465800973 -licenseType: Pro -TrueTypeFontImporter: - serializedVersion: 3 - fontSize: 16 - forceTextureCase: -2 - characterSpacing: 1 - characterPadding: 0 - includeFontData: 1 - fontNames: [] - fallbackFontReferences: [] - customCharacters: - fontRenderingMode: 0 - ascentCalculationMode: 1 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images.meta deleted file mode 100644 index 175b25c4..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6ead685b6f142449aaf5cd6c6816ab0f -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/AppCenterEditorIcon.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/AppCenterEditorIcon.png deleted file mode 100644 index e484dd6c..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/AppCenterEditorIcon.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/AppCenterEditorIcon.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/AppCenterEditorIcon.png.meta deleted file mode 100644 index a067b4b5..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/AppCenterEditorIcon.png.meta +++ /dev/null @@ -1,132 +0,0 @@ -fileFormatVersion: 2 -guid: d6a86fa7486365949986b148160cd152 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: 1 - mipBias: -100 - wrapU: 1 - wrapV: -1 - wrapW: -1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 2 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - - serializedVersion: 2 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - - serializedVersion: 2 - buildTarget: iPhone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - - serializedVersion: 2 - buildTarget: Android - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - - serializedVersion: 2 - buildTarget: Windows Store Apps - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Black.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Black.png deleted file mode 100644 index 2c14419c..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Black.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Black.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Black.png.meta deleted file mode 100644 index 7b3929bf..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Black.png.meta +++ /dev/null @@ -1,57 +0,0 @@ -fileFormatVersion: 2 -guid: 66d3ceb5fa86d498891e23dd5303a8f7 -timeCreated: 1468018889 -licenseType: Pro -TextureImporter: - fileIDToRecycleName: {} - serializedVersion: 2 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - linearTexture: 0 - correctGamma: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - grayScaleToAlpha: 0 - generateCubemap: 0 - cubemapConvolution: 0 - cubemapConvolutionSteps: 7 - cubemapConvolutionExponent: 1.5 - seamlessCubemap: 0 - textureFormat: -3 - maxTextureSize: 32 - textureSettings: - filterMode: 0 - aniso: 0 - mipBias: -1 - wrapMode: 0 - nPOTScale: 1 - lightmap: 0 - rGBM: 0 - compressionQuality: 50 - allowsAlphaSplitting: 0 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spritePixelsToUnits: 0.001 - alphaIsTransparency: 0 - textureType: 0 - buildTargetSettings: [] - spriteSheet: - sprites: [] - outline: [] - spritePackingTag: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Clear.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Clear.png deleted file mode 100644 index 7dfa3aa6..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Clear.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Clear.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Clear.png.meta deleted file mode 100644 index 1331f59f..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Clear.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 092f0246298fc4ec78dbb9dcf5ed83e5 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_base.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_base.png deleted file mode 100644 index b32e7a45..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_base.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_base.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_base.png.meta deleted file mode 100644 index fb725653..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_base.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 450b7f199fd52483e98fefe9874a8db6 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_dk1.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_dk1.png deleted file mode 100644 index 3f54b0df..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_dk1.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_dk1.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_dk1.png.meta deleted file mode 100644 index b2054e02..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_dk1.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: b448351bef2db4b448ef1eb6309a2f5d -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_lt1.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_lt1.png deleted file mode 100644 index eff3d42d..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_lt1.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_lt1.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_lt1.png.meta deleted file mode 100644 index 5c3d4a3a..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_lt1.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 58599f3437ab14851b8d21e417b9bac8 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_lt2.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_lt2.png deleted file mode 100644 index 7c99ec6a..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_lt2.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_lt2.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_lt2.png.meta deleted file mode 100644 index e6eba9b8..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Gray_lt2.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: e856215de795f4da391c71b298789c92 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Orange.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Orange.png deleted file mode 100644 index a7ea8c5b..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Orange.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Orange.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Orange.png.meta deleted file mode 100644 index 8ac1ac4d..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Orange.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 286dbc34451574bab8002be838a2dec4 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Square.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Square.png deleted file mode 100644 index 8eb1b1ec..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Square.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Square.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/Square.png.meta deleted file mode 100644 index cff50e74..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/Square.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 92e4fa3a17ff0498a9cf6d6ecd8e32b5 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/White.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/White.png deleted file mode 100644 index 068c0bd8..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/White.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/White.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/White.png.meta deleted file mode 100644 index 6e288558..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/White.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: c5ea49187d2b64ede98639a6ba016a61 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark.png deleted file mode 100644 index de1c72b6..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark.png.meta deleted file mode 100644 index c945bee7..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 809873d464c3c4988b652b392d0dc378 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark_off.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark_off.png deleted file mode 100644 index 55b2bf9f..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark_off.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark_off.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark_off.png.meta deleted file mode 100644 index f06a4af0..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark_off.png.meta +++ /dev/null @@ -1,92 +0,0 @@ -fileFormatVersion: 2 -guid: d20c53c8cad21024091aeed0b9bf2a0e -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: -1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: 1 - wrapV: 1 - wrapW: 1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - applyGammaDecoding: 1 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark_on.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark_on.png deleted file mode 100644 index a53beb62..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark_on.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark_on.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark_on.png.meta deleted file mode 100644 index 729e1397..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/checkmark_on.png.meta +++ /dev/null @@ -1,92 +0,0 @@ -fileFormatVersion: 2 -guid: a2f13c216f2649d49b892cade7f4e5f0 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: -1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: 1 - wrapV: 1 - wrapW: 1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - applyGammaDecoding: 1 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dashboardIcon.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/dashboardIcon.png deleted file mode 100644 index 6cbb6c2a..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dashboardIcon.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dashboardIcon.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/dashboardIcon.png.meta deleted file mode 100644 index cfb09c16..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dashboardIcon.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 8d4df8ffe68a9438ba4833c0678b97b3 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dashboardIconHover.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/dashboardIconHover.png deleted file mode 100644 index 070261ff..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dashboardIconHover.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dashboardIconHover.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/dashboardIconHover.png.meta deleted file mode 100644 index d6f0a49b..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dashboardIconHover.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: bd50486fbb8b648b3bc32124bc841c0f -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dn_colored.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/dn_colored.png deleted file mode 100644 index 07220536..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dn_colored.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dn_colored.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/dn_colored.png.meta deleted file mode 100644 index fd517055..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dn_colored.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 19a121bd9ef8040c4897cf0c3938d638 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dn_gray.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/dn_gray.png deleted file mode 100644 index a89ecdc1..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dn_gray.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dn_gray.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/dn_gray.png.meta deleted file mode 100644 index 71748f9e..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/dn_gray.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: d18cf6e30e1ec40e786fff9d747358c2 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/green.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/green.png deleted file mode 100644 index 8bc4ecba..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/green.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/green.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/green.png.meta deleted file mode 100644 index 7dd89c45..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/green.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: f2fd02595b1014de8acf94006b559592 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/magenta.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/magenta.png deleted file mode 100644 index 598e5472..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/magenta.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/magenta.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/magenta.png.meta deleted file mode 100644 index 79a53f89..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/magenta.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 97ed4254d61244494b57b9d363c8a1d7 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/r_colored.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/r_colored.png deleted file mode 100644 index 23034255..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/r_colored.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/r_colored.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/r_colored.png.meta deleted file mode 100644 index 13765f9d..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/r_colored.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: bdee703aeb281435a9e292c816de317c -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/r_gray.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/r_gray.png deleted file mode 100644 index a1e433c2..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/r_gray.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/r_gray.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/r_gray.png.meta deleted file mode 100644 index 2282723c..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/r_gray.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 0affd6ff09c7647da9d7d80de5436890 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/red.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/red.png deleted file mode 100644 index 59b2be99..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/red.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/red.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/red.png.meta deleted file mode 100644 index 893d74f6..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/red.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: a3da21963adc743948ae086a74fb614a -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/wheel.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/wheel.png deleted file mode 100644 index 728101c3..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/wheel.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/wheel.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/wheel.png.meta deleted file mode 100644 index 256d2be9..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/wheel.png.meta +++ /dev/null @@ -1,143 +0,0 @@ -fileFormatVersion: 2 -guid: 3b636f19c2539449881de8920af2538d -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 1 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: 1 - mipBias: -100 - wrapU: 1 - wrapV: 1 - wrapW: -1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 2 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - - serializedVersion: 2 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - - serializedVersion: 2 - buildTarget: iPhone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - - serializedVersion: 2 - buildTarget: tvOS - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - - serializedVersion: 2 - buildTarget: Android - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - - serializedVersion: 2 - buildTarget: WebGL - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/yellow.png b/Assets/AppCenterEditorExtensions/Editor/UI/Images/yellow.png deleted file mode 100644 index baf1eb3c..00000000 Binary files a/Assets/AppCenterEditorExtensions/Editor/UI/Images/yellow.png and /dev/null differ diff --git a/Assets/AppCenterEditorExtensions/Editor/UI/Images/yellow.png.meta b/Assets/AppCenterEditorExtensions/Editor/UI/Images/yellow.png.meta deleted file mode 100644 index bb8c1365..00000000 --- a/Assets/AppCenterEditorExtensions/Editor/UI/Images/yellow.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 8d9fbb2fce9014025baef3f63f94cb37 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 7 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/App.cs b/Assets/Scripts/App.cs index 4f27a0d3..d333d6e9 100644 --- a/Assets/Scripts/App.cs +++ b/Assets/Scripts/App.cs @@ -111,7 +111,7 @@ public static class App Host = "https://wx.powerfun.com.cn/"; UdpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 11000); TcpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 11001); - + Debug.unityLogger.logEnabled = false; #endif var isRower = PlayerPrefs.GetString("IsRowerMode"); if (!string.IsNullOrEmpty(isRower))