From 85093defe9eb444e1bbf05e0fb0e0931d8cec1e7 Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期五, 29 一月 2021 15:39:13 +0800
Subject: [PATCH] Merge branch 'master' into RLRuntime
---
/dev/null | 70 -----------------------------------
1 files changed, 0 insertions(+), 70 deletions(-)
diff --git a/Assets/Plugins/BuglyPlugins.meta b/Assets/Plugins/BuglyPlugins.meta
deleted file mode 100644
index dbec11f..0000000
--- a/Assets/Plugins/BuglyPlugins.meta
+++ /dev/null
@@ -1,5 +0,0 @@
-fileFormatVersion: 2
-guid: 5cef439187fbb41ab879da2b95ac4291
-folderAsset: yes
-DefaultImporter:
- userData:
diff --git a/Assets/Plugins/BuglyPlugins/Android.meta b/Assets/Plugins/BuglyPlugins/Android.meta
deleted file mode 100644
index 45b586c..0000000
--- a/Assets/Plugins/BuglyPlugins/Android.meta
+++ /dev/null
@@ -1,5 +0,0 @@
-fileFormatVersion: 2
-guid: 694411f45e4e64facb88eebfc2e1df1c
-folderAsset: yes
-DefaultImporter:
- userData:
diff --git a/Assets/Plugins/BuglyPlugins/Android/libs.meta b/Assets/Plugins/BuglyPlugins/Android/libs.meta
deleted file mode 100644
index d1c607d..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 644a9f5710e62403c94066ef9b61e775
-folderAsset: yes
-DefaultImporter:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a.meta b/Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a.meta
deleted file mode 100644
index 69f15c0..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: bfc88fa65a0e6f44e88320a576c290a4
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a/libBugly.so b/Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a/libBugly.so
deleted file mode 100644
index 1e7f800..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a/libBugly.so
+++ /dev/null
Binary files differ
diff --git a/Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a/libBugly.so.meta b/Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a/libBugly.so.meta
deleted file mode 100644
index c6444b3..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/arm64-v8a/libBugly.so.meta
+++ /dev/null
@@ -1,70 +0,0 @@
-fileFormatVersion: 2
-guid: 9602a2783afdd234e9eabac2bdffbf7a
-PluginImporter:
- externalObjects: {}
- serializedVersion: 2
- iconMap: {}
- executionOrder: {}
- defineConstraints: []
- isPreloaded: 0
- isOverridable: 0
- isExplicitlyReferenced: 0
- validateReferences: 1
- platformData:
- - first:
- : Any
- second:
- enabled: 0
- settings:
- Exclude Android: 0
- Exclude Editor: 1
- Exclude Linux64: 1
- Exclude OSXUniversal: 1
- Exclude Win: 1
- Exclude Win64: 1
- - first:
- Android: Android
- second:
- enabled: 1
- settings:
- CPU: ARM64
- - first:
- Any:
- second:
- enabled: 0
- settings: {}
- - first:
- Editor: Editor
- second:
- enabled: 0
- settings:
- CPU: AnyCPU
- DefaultValueInitialized: true
- OS: AnyOS
- - first:
- Standalone: Linux64
- second:
- enabled: 0
- settings:
- CPU: None
- - first:
- Standalone: OSXUniversal
- second:
- enabled: 0
- settings:
- CPU: None
- - first:
- Standalone: Win
- second:
- enabled: 0
- settings:
- CPU: None
- - first:
- Standalone: Win64
- second:
- enabled: 0
- settings:
- CPU: None
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a.meta b/Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a.meta
deleted file mode 100644
index 3d60b3f..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: fb7b442d8e32443e5856838741007f70
-folderAsset: yes
-DefaultImporter:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a/libBugly.so b/Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a/libBugly.so
deleted file mode 100644
index 209a553..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a/libBugly.so
+++ /dev/null
Binary files differ
diff --git a/Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a/libBugly.so.meta b/Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a/libBugly.so.meta
deleted file mode 100644
index 5085ac1..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/armeabi-v7a/libBugly.so.meta
+++ /dev/null
@@ -1,33 +0,0 @@
-fileFormatVersion: 2
-guid: 432060a129574479db0cfd441cdf3d69
-PluginImporter:
- externalObjects: {}
- serializedVersion: 2
- iconMap: {}
- executionOrder: {}
- defineConstraints: []
- isPreloaded: 0
- isOverridable: 0
- isExplicitlyReferenced: 0
- validateReferences: 1
- platformData:
- - first:
- Android: Android
- second:
- enabled: 1
- settings:
- CPU: ARMv7
- - first:
- Any:
- second:
- enabled: 0
- settings: {}
- - first:
- Editor: Editor
- second:
- enabled: 0
- settings:
- DefaultValueInitialized: true
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/Android/libs/bugly.jar b/Assets/Plugins/BuglyPlugins/Android/libs/bugly.jar
deleted file mode 100644
index 618cff3..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/bugly.jar
+++ /dev/null
Binary files differ
diff --git a/Assets/Plugins/BuglyPlugins/Android/libs/bugly.jar.meta b/Assets/Plugins/BuglyPlugins/Android/libs/bugly.jar.meta
deleted file mode 100644
index 059aa73..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/bugly.jar.meta
+++ /dev/null
@@ -1,32 +0,0 @@
-fileFormatVersion: 2
-guid: 70c2f5016d12841a58b22885903c1170
-PluginImporter:
- externalObjects: {}
- serializedVersion: 2
- iconMap: {}
- executionOrder: {}
- defineConstraints: []
- isPreloaded: 0
- isOverridable: 0
- isExplicitlyReferenced: 0
- validateReferences: 1
- 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/Plugins/BuglyPlugins/Android/libs/buglyagent.jar b/Assets/Plugins/BuglyPlugins/Android/libs/buglyagent.jar
deleted file mode 100644
index b3d5fcf..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/buglyagent.jar
+++ /dev/null
Binary files differ
diff --git a/Assets/Plugins/BuglyPlugins/Android/libs/buglyagent.jar.meta b/Assets/Plugins/BuglyPlugins/Android/libs/buglyagent.jar.meta
deleted file mode 100644
index 43ee2e7..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/buglyagent.jar.meta
+++ /dev/null
@@ -1,32 +0,0 @@
-fileFormatVersion: 2
-guid: 1db231dca0f72420cb880590f799d7d5
-PluginImporter:
- externalObjects: {}
- serializedVersion: 2
- iconMap: {}
- executionOrder: {}
- defineConstraints: []
- isPreloaded: 0
- isOverridable: 0
- isExplicitlyReferenced: 0
- validateReferences: 1
- 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/Plugins/BuglyPlugins/Android/libs/x86.meta b/Assets/Plugins/BuglyPlugins/Android/libs/x86.meta
deleted file mode 100644
index 86f270f..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/x86.meta
+++ /dev/null
@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: 79531ba82725e4071861c982307805c3
-folderAsset: yes
-timeCreated: 1443426231
-licenseType: Pro
-DefaultImporter:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/Android/libs/x86/libBugly.so b/Assets/Plugins/BuglyPlugins/Android/libs/x86/libBugly.so
deleted file mode 100644
index 571b120..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/x86/libBugly.so
+++ /dev/null
Binary files differ
diff --git a/Assets/Plugins/BuglyPlugins/Android/libs/x86/libBugly.so.meta b/Assets/Plugins/BuglyPlugins/Android/libs/x86/libBugly.so.meta
deleted file mode 100644
index 7b0e77b..0000000
--- a/Assets/Plugins/BuglyPlugins/Android/libs/x86/libBugly.so.meta
+++ /dev/null
@@ -1,33 +0,0 @@
-fileFormatVersion: 2
-guid: 16eaf0ec67588418783d6f5311aa71ce
-PluginImporter:
- externalObjects: {}
- serializedVersion: 2
- iconMap: {}
- executionOrder: {}
- defineConstraints: []
- isPreloaded: 0
- isOverridable: 0
- isExplicitlyReferenced: 0
- validateReferences: 1
- platformData:
- - first:
- Android: Android
- second:
- enabled: 1
- settings:
- CPU: x86
- - first:
- Any:
- second:
- enabled: 0
- settings: {}
- - first:
- Editor: Editor
- second:
- enabled: 0
- settings:
- DefaultValueInitialized: true
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/BuglyAgent.cs b/Assets/Plugins/BuglyPlugins/BuglyAgent.cs
deleted file mode 100644
index d377458..0000000
--- a/Assets/Plugins/BuglyPlugins/BuglyAgent.cs
+++ /dev/null
@@ -1,1080 +0,0 @@
-// ----------------------------------------
-//
-// BuglyAgent.cs
-//
-// Author:
-// Yeelik, <bugly@tencent.com>
-//
-// Copyright (c) 2015 Bugly, Tencent. All rights reserved.
-//
-// ----------------------------------------
-//
-using UnityEngine;
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Reflection;
-using System.Text;
-using System.Text.RegularExpressions;
-
-using System.Runtime.InteropServices;
-
-// We dont use the LogType enum in Unity as the numerical order doesnt suit our purposes
-/// <summary>
-/// Log severity.
-/// { Log, LogDebug, LogInfo, LogWarning, LogAssert, LogError, LogException }
-/// </summary>
-public enum LogSeverity
-{
- Log,
- LogDebug,
- LogInfo,
- LogWarning,
- LogAssert,
- LogError,
- LogException
-}
-
-/// <summary>
-/// Bugly agent.
-/// </summary>
-public sealed class BuglyAgent
-{
-
- // Define delegate support multicasting to replace the 'Application.LogCallback'
- public delegate void LogCallbackDelegate (string condition,string stackTrace,LogType type);
-
- /// <summary>
- /// Configs the type of the crash reporter and customized log level to upload
- /// </summary>
- /// <param name="type">Type. Default=0, 1=Bugly v2.x MSDK=2</param>
- /// <param name="logLevel">Log level. Off=0,Error=1,Warn=2,Info=3,Debug=4</param>
- public static void ConfigCrashReporter(int type, int logLevel){
- _SetCrashReporterType (type);
- _SetCrashReporterLogLevel (logLevel);
- }
-
- /// <summary>
- /// Init sdk with the specified appId.
- /// <para>This will initialize sdk to report native exception such as obj-c, c/c++, java exceptions, and also enable c# exception handler to report c# exception logs</para>
- /// </summary>
- /// <param name="appId">App identifier.</param>
- public static void InitWithAppId (string appId)
- {
- if (IsInitialized) {
- DebugLog (null, "BuglyAgent has already been initialized.");
-
- return;
- }
-
- if (string.IsNullOrEmpty (appId)) {
- return;
- }
-
- // init the sdk with app id
- InitBuglyAgent (appId);
- DebugLog (null, "Initialized with app id: {0}", appId);
-
- // Register the LogCallbackHandler by Application.RegisterLogCallback(Application.LogCallback)
- _RegisterExceptionHandler ();
- }
-
- /// <summary>
- /// Only Enable the C# exception handler.
- ///
- /// <para>
- /// You can call it when you do not call the 'InitWithAppId(string)', but you must make sure initialized the sdk in elsewhere,
- /// such as the native code in associated Android or iOS project.
- /// </para>
- ///
- /// <para>
- /// Default Level is <c>LogError</c>, so the LogError, LogException will auto report.
- /// </para>
- ///
- /// <para>
- /// You can call the method <code>BuglyAgent.ConfigAutoReportLogLevel(LogSeverity)</code>
- /// to change the level to auto report if you known what are you doing.
- /// </para>
- ///
- /// </summary>
- public static void EnableExceptionHandler ()
- {
- if (IsInitialized) {
- DebugLog (null, "BuglyAgent has already been initialized.");
- return;
- }
-
- DebugLog (null, "Only enable the exception handler, please make sure you has initialized the sdk in the native code in associated Android or iOS project.");
-
- // Register the LogCallbackHandler by Application.RegisterLogCallback(Application.LogCallback)
- _RegisterExceptionHandler ();
- }
-
- /// <summary>
- /// Registers the log callback handler.
- ///
- /// If you need register logcallback using Application.RegisterLogCallback(LogCallback),
- /// you can call this method to replace it.
- ///
- /// <para></para>
- /// </summary>
- /// <param name="handler">Handler.</param>
- public static void RegisterLogCallback (LogCallbackDelegate handler)
- {
- if (handler != null) {
- DebugLog (null, "Add log callback handler: {0}", handler);
-
- _LogCallbackEventHandler += handler;
- }
- }
-
- /// <summary>
- /// Sets the log callback extras handler.
- /// </summary>
- /// <param name="handler">Handler.</param>
- public static void SetLogCallbackExtrasHandler(Func<Dictionary<string, string>> handler){
- if (handler != null) {
- _LogCallbackExtrasHandler = handler;
-
- DebugLog(null, "Add log callback extra data handler : {0}", handler);
- }
- }
-
- /// <summary>
- /// Reports the exception.
- /// </summary>
- /// <param name="e">E.</param>
- /// <param name="message">Message.</param>
- public static void ReportException (System.Exception e, string message)
- {
- if (!IsInitialized) {
- return;
- }
-
- DebugLog (null, "Report exception: {0}\n------------\n{1}\n------------", message, e);
-
- _HandleException (e, message, false);
- }
-
- /// <summary>
- /// Reports the exception.
- /// </summary>
- /// <param name="name">Name.</param>
- /// <param name="message">Message.</param>
- /// <param name="stackTrace">Stack trace.</param>
- public static void ReportException (string name, string message, string stackTrace)
- {
- if (!IsInitialized) {
- return;
- }
-
- DebugLog (null, "Report exception: {0} {1} \n{2}", name, message, stackTrace);
-
- _HandleException (LogSeverity.LogException, name, message, stackTrace, false);
- }
-
- /// <summary>
- /// Unregisters the log callback.
- /// </summary>
- /// <param name="handler">Handler.</param>
- public static void UnregisterLogCallback (LogCallbackDelegate handler)
- {
- if (handler != null) {
- DebugLog (null, "Remove log callback handler");
-
- _LogCallbackEventHandler -= handler;
- }
- }
-
- /// <summary>
- /// Sets the user identifier.
- /// </summary>
- /// <param name="userId">User identifier.</param>
- public static void SetUserId (string userId)
- {
- if (!IsInitialized) {
- return;
- }
- DebugLog (null, "Set user id: {0}", userId);
-
- SetUserInfo (userId);
- }
-
- /// <summary>
- /// Sets the scene.
- /// </summary>
- /// <param name="sceneId">Scene identifier.</param>
- public static void SetScene (int sceneId)
- {
- if (!IsInitialized) {
- return;
- }
- DebugLog (null, "Set scene: {0}", sceneId);
-
- SetCurrentScene (sceneId);
- }
-
- /// <summary>
- /// Adds the scene data.
- /// </summary>
- /// <param name="key">Key.</param>
- /// <param name="value">Value.</param>
- public static void AddSceneData (string key, string value)
- {
- if (!IsInitialized) {
- return;
- }
-
- DebugLog (null, "Add scene data: [{0}, {1}]", key, value);
-
- AddKeyAndValueInScene (key, value);
- }
-
- /// <summary>
- /// Configs the debug mode.
- /// </summary>
- /// <param name="enable">If set to <c>true</c> debug mode.</param>
- public static void ConfigDebugMode (bool enable)
- {
- EnableDebugMode (enable);
- DebugLog (null, "{0} the log message print to console", enable ? "Enable" : "Disable");
- }
-
- /// <summary>
- /// Configs the auto quit application.
- /// </summary>
- /// <param name="autoQuit">If set to <c>true</c> auto quit.</param>
- public static void ConfigAutoQuitApplication (bool autoQuit)
- {
- _autoQuitApplicationAfterReport = autoQuit;
- }
-
- /// <summary>
- /// Configs the auto report log level. Default is LogSeverity.LogError.
- /// <example>
- /// LogSeverity { Log, LogDebug, LogInfo, LogWarning, LogAssert, LogError, LogException }
- /// </example>
- /// </summary>
- ///
- /// <param name="level">Level.</param>
- public static void ConfigAutoReportLogLevel (LogSeverity level)
- {
- _autoReportLogLevel = level;
- }
-
- /// <summary>
- /// Configs the default.
- /// </summary>
- /// <param name="channel">Channel.</param>
- /// <param name="version">Version.</param>
- /// <param name="user">User.</param>
- /// <param name="delay">Delay.</param>
- public static void ConfigDefault (string channel, string version, string user, long delay)
- {
- DebugLog (null, "Config default channel:{0}, version:{1}, user:{2}, delay:{3}", channel, version, user, delay);
- ConfigDefaultBeforeInit (channel, version, user, delay);
- }
-
- /// <summary>
- /// Logs the debug.
- /// </summary>
- /// <param name="tag">Tag.</param>
- /// <param name="format">Format.</param>
- /// <param name="args">Arguments.</param>
- public static void DebugLog (string tag, string format, params object[] args)
- {
- if(!_debugMode) {
- return;
- }
-
- if (string.IsNullOrEmpty (format)) {
- return;
- }
-
- Console.WriteLine ("[BuglyAgent] <Debug> - {0} : {1}", tag, string.Format (format, args));
- }
-
- /// <summary>
- /// Prints the log.
- /// </summary>
- /// <param name="level">Level.</param>
- /// <param name="format">Format.</param>
- /// <param name="args">Arguments.</param>
- public static void PrintLog (LogSeverity level, string format, params object[] args)
- {
- if (string.IsNullOrEmpty (format)) {
- return;
- }
-
- LogRecord (level, string.Format (format, args));
- }
-
- #if UNITY_EDITOR || UNITY_STANDALONE
-
- #region Interface(Empty) in Editor
- private static void InitBuglyAgent (string appId)
- {
- }
-
- private static void ConfigDefaultBeforeInit(string channel, string version, string user, long delay){
- }
-
- private static void EnableDebugMode(bool enable){
- }
-
- private static void SetUserInfo(string userInfo){
- }
-
- private static void ReportException (int type,string name, string message, string stackTrace, bool quitProgram)
- {
- }
-
- private static void SetCurrentScene(int sceneId) {
- }
-
- private static void AddKeyAndValueInScene(string key, string value){
- }
-
- private static void AddExtraDataWithException(string key, string value) {
- // only impl for iOS
- }
-
- private static void LogRecord(LogSeverity level, string message){
- }
-
- private static void SetUnityVersion(){
-
- }
- #endregion
-
- #elif UNITY_ANDROID
- // #if UNITY_ANDROID
-
- #region Interface for Android
- private static readonly string GAME_AGENT_CLASS = "com.tencent.bugly.agent.GameAgent";
- private static readonly int TYPE_U3D_CRASH = 4;
- private static readonly int GAME_TYPE_UNITY = 2;
- private static bool hasSetGameType = false;
- private static AndroidJavaClass _gameAgentClass = null;
-
- public static AndroidJavaClass GameAgent {
- get {
- if (_gameAgentClass == null) {
- _gameAgentClass = new AndroidJavaClass(GAME_AGENT_CLASS);
-// using (AndroidJavaClass clazz = new AndroidJavaClass(CLASS_UNITYAGENT)) {
-// _gameAgentClass = clazz.CallStatic<AndroidJavaObject> ("getInstance");
-// }
- }
- if (!hasSetGameType) {
- // set game type: unity(2).
- _gameAgentClass.CallStatic ("setGameType", GAME_TYPE_UNITY);
- hasSetGameType = true;
- }
- return _gameAgentClass;
- }
- }
-
- private static string _configChannel;
- private static string _configVersion;
- private static string _configUser;
- private static long _configDelayTime;
-
- private static void ConfigDefaultBeforeInit(string channel, string version, string user, long delay){
- _configChannel = channel;
- _configVersion = version;
- _configUser = user;
- _configDelayTime = delay;
- }
-
- private static bool _configCrashReporterPackage = false;
-
- private static void ConfigCrashReporterPackage(){
-
- if (!_configCrashReporterPackage) {
- try {
- GameAgent.CallStatic("setSdkPackageName", _crashReporterPackage);
- _configCrashReporterPackage = true;
- } catch {
-
- }
- }
-
- }
-
- private static void InitBuglyAgent(string appId)
- {
- if (IsInitialized) {
- return;
- }
-
- ConfigCrashReporterPackage();
-
- try {
- GameAgent.CallStatic("initCrashReport", appId, _configChannel, _configVersion, _configUser, _configDelayTime);
- _isInitialized = true;
- } catch {
-
- }
- }
-
- private static void EnableDebugMode(bool enable){
- _debugMode = enable;
-
- ConfigCrashReporterPackage();
-
- try {
- GameAgent.CallStatic("setLogEnable", enable);
- } catch {
-
- }
- }
-
- private static void SetUserInfo(string userInfo){
- ConfigCrashReporterPackage();
-
- try {
- GameAgent.CallStatic("setUserId", userInfo);
- } catch {
- }
- }
-
- private static void ReportException (int type, string name, string reason, string stackTrace, bool quitProgram)
- {
- ConfigCrashReporterPackage();
-
- try {
- GameAgent.CallStatic("postException", TYPE_U3D_CRASH, name, reason, stackTrace, quitProgram);
- } catch {
-
- }
- }
-
- private static void SetCurrentScene(int sceneId) {
- ConfigCrashReporterPackage();
-
- try {
- GameAgent.CallStatic("setUserSceneTag", sceneId);
- } catch {
-
- }
- }
-
- private static void SetUnityVersion(){
- ConfigCrashReporterPackage();
-
- try {
- GameAgent.CallStatic("setSdkConfig", "UnityVersion", Application.unityVersion);
- } catch {
-
- }
- }
-
- private static void AddKeyAndValueInScene(string key, string value){
- ConfigCrashReporterPackage();
-
- try {
- GameAgent.CallStatic("putUserData", key, value);
- } catch {
-
- }
- }
-
- private static void AddExtraDataWithException(string key, string value) {
- // no impl
- }
-
- private static void LogRecord(LogSeverity level, string message){
- if (level < LogSeverity.LogWarning) {
- DebugLog (level.ToString (), message);
- }
-
- ConfigCrashReporterPackage();
-
- try {
- GameAgent.CallStatic("printLog", string.Format ("<{0}> - {1}", level.ToString (), message));
- } catch {
-
- }
- }
-
- #endregion
-
- #elif UNITY_IPHONE || UNITY_IOS
-
- #region Interface for iOS
-
- private static bool _crashReporterTypeConfiged = false;
-
- private static void ConfigCrashReporterType(){
- if (!_crashReporterTypeConfiged) {
- try {
- _BuglyConfigCrashReporterType(_crashReporterType);
- _crashReporterTypeConfiged = true;
- } catch {
-
- }
- }
- }
-
- private static void ConfigDefaultBeforeInit(string channel, string version, string user, long delay){
- ConfigCrashReporterType();
-
- try {
- _BuglyDefaultConfig(channel, version, user, null);
- } catch {
-
- }
- }
-
- private static void EnableDebugMode(bool enable){
- _debugMode = enable;
- }
-
- private static void InitBuglyAgent (string appId)
- {
- ConfigCrashReporterType();
-
- if(!string.IsNullOrEmpty(appId)) {
-
- _BuglyInit(appId, _debugMode, _crashReproterCustomizedLogLevel); // Log level
- }
- }
-
- private static void SetUnityVersion(){
- ConfigCrashReporterType();
-
- _BuglySetExtraConfig("UnityVersion", Application.unityVersion);
- }
-
- private static void SetUserInfo(string userInfo){
- if(!string.IsNullOrEmpty(userInfo)) {
- ConfigCrashReporterType();
-
- _BuglySetUserId(userInfo);
- }
- }
-
- private static void ReportException (int type, string name, string reason, string stackTrace, bool quitProgram)
- {
- ConfigCrashReporterType();
-
- string extraInfo = "";
- Dictionary<string, string> extras = null;
- if (_LogCallbackExtrasHandler != null) {
- extras = _LogCallbackExtrasHandler();
- }
- if (extras == null || extras.Count == 0) {
- extras = new Dictionary<string, string> ();
- extras.Add ("UnityVersion", Application.unityVersion);
- }
-
- if (extras != null && extras.Count > 0) {
- if (!extras.ContainsKey("UnityVersion")) {
- extras.Add ("UnityVersion", Application.unityVersion);
- }
-
- StringBuilder builder = new StringBuilder();
- foreach(KeyValuePair<string,string> kvp in extras){
- builder.Append(string.Format("\"{0}\" : \"{1}\"", kvp.Key, kvp.Value)).Append(" , ");
- }
- extraInfo = string.Format("{{ {0} }}", builder.ToString().TrimEnd(" , ".ToCharArray()));
- }
-
- // 4 is C# exception
- _BuglyReportException(4, name, reason, stackTrace, extraInfo, quitProgram);
- }
-
- private static void SetCurrentScene(int sceneId) {
- ConfigCrashReporterType();
-
- _BuglySetTag(sceneId);
- }
-
- private static void AddKeyAndValueInScene(string key, string value){
- ConfigCrashReporterType();
-
- _BuglySetKeyValue(key, value);
- }
-
- private static void AddExtraDataWithException(string key, string value) {
-
- }
-
- private static void LogRecord(LogSeverity level, string message){
- if (level < LogSeverity.LogWarning) {
- DebugLog (level.ToString (), message);
- }
-
- ConfigCrashReporterType();
-
- _BuglyLogMessage(LogSeverityToInt(level), null, message);
- }
-
- private static int LogSeverityToInt(LogSeverity logLevel){
- int level = 5;
- switch(logLevel) {
- case LogSeverity.Log:
- level = 5;
- break;
- case LogSeverity.LogDebug:
- level = 4;
- break;
- case LogSeverity.LogInfo:
- level = 3;
- break;
- case LogSeverity.LogWarning:
- case LogSeverity.LogAssert:
- level = 2;
- break;
- case LogSeverity.LogError:
- case LogSeverity.LogException:
- level = 1;
- break;
- default:
- level = 0;
- break;
- }
- return level;
- }
-
- // --- dllimport start ---
- [DllImport("__Internal")]
- private static extern void _BuglyInit(string appId, bool debug, int level);
-
- [DllImport("__Internal")]
- private static extern void _BuglySetUserId(string userId);
-
- [DllImport("__Internal")]
- private static extern void _BuglySetTag(int tag);
-
- [DllImport("__Internal")]
- private static extern void _BuglySetKeyValue(string key, string value);
-
- [DllImport("__Internal")]
- private static extern void _BuglyReportException(int type, string name, string reason, string stackTrace, string extras, bool quit);
-
- [DllImport("__Internal")]
- private static extern void _BuglyDefaultConfig(string channel, string version, string user, string deviceId);
-
- [DllImport("__Internal")]
- private static extern void _BuglyLogMessage(int level, string tag, string log);
-
- [DllImport("__Internal")]
- private static extern void _BuglyConfigCrashReporterType(int type);
-
- [DllImport("__Internal")]
- private static extern void _BuglySetExtraConfig(string key, string value);
-
- // dllimport end
- #endregion
-
- #endif
-
- #region Privated Fields and Methods
- private static event LogCallbackDelegate _LogCallbackEventHandler;
-
- private static bool _isInitialized = false;
- private static LogSeverity _autoReportLogLevel = LogSeverity.LogError;
-
- private static int _crashReporterType = 1; // Default=0,1=Bugly-V2,MSDKBugly=2, IMSDKBugly=3
-
-#if UNITY_ANDROID
- // The crash reporter package name, default is 'com.tencent.bugly'
- private static string _crashReporterPackage = "com.tencent.bugly";
-#endif
-#if UNITY_IPHONE || UNITY_IOS
- private static int _crashReproterCustomizedLogLevel = 2; // Off=0,Error=1,Warn=2,Info=3,Debug=4
-#endif
-
- #pragma warning disable 414
- private static bool _debugMode = false;
- private static bool _autoQuitApplicationAfterReport = false;
-
- private static readonly int EXCEPTION_TYPE_UNCAUGHT = 1;
- private static readonly int EXCEPTION_TYPE_CAUGHT = 2;
- private static readonly string _pluginVersion = "1.5.1";
-
- private static Func<Dictionary<string, string>> _LogCallbackExtrasHandler;
-
- public static string PluginVersion {
- get { return _pluginVersion; }
- }
-
- public static bool IsInitialized {
- get { return _isInitialized; }
- }
-
- public static bool AutoQuitApplicationAfterReport {
- get { return _autoQuitApplicationAfterReport; }
- }
-
- private static void _SetCrashReporterType(int type){
- _crashReporterType = type;
-
- if (_crashReporterType == 2) {
-#if UNITY_ANDROID
- _crashReporterPackage = "com.tencent.bugly.msdk";
-#endif
- }
-
- }
-
- private static void _SetCrashReporterLogLevel(int logLevel){
-#if UNITY_IPHONE || UNITY_IOS
- _crashReproterCustomizedLogLevel = logLevel;
-#endif
- }
-
- private static void _RegisterExceptionHandler ()
- {
- try {
- // hold only one instance
-
- #if UNITY_5
- Application.logMessageReceived += _OnLogCallbackHandler;
- #else
- Application.RegisterLogCallback (_OnLogCallbackHandler);
- #endif
- AppDomain.CurrentDomain.UnhandledException += _OnUncaughtExceptionHandler;
-
- _isInitialized = true;
-
- DebugLog (null, "Register the log callback in Unity {0}", Application.unityVersion);
- } catch {
-
- }
-
- SetUnityVersion ();
- }
-
- private static void _UnregisterExceptionHandler ()
- {
- try {
- #if UNITY_5
- Application.logMessageReceived -= _OnLogCallbackHandler;
- #else
- Application.RegisterLogCallback (null);
- #endif
- System.AppDomain.CurrentDomain.UnhandledException -= _OnUncaughtExceptionHandler;
- DebugLog (null, "Unregister the log callback in unity {0}", Application.unityVersion);
- } catch {
-
- }
- }
-
- private static void _OnLogCallbackHandler (string condition, string stackTrace, LogType type)
- {
- if (_LogCallbackEventHandler != null) {
- _LogCallbackEventHandler (condition, stackTrace, type);
- }
-
- if (!IsInitialized) {
- return;
- }
-
- if (!string.IsNullOrEmpty (condition) && condition.Contains ("[BuglyAgent] <Log>")) {
- return;
- }
-
- if (_uncaughtAutoReportOnce) {
- return;
- }
-
- // convert the log level
- LogSeverity logLevel = LogSeverity.Log;
- switch (type) {
- case LogType.Exception:
- logLevel = LogSeverity.LogException;
- break;
- case LogType.Error:
- logLevel = LogSeverity.LogError;
- break;
- case LogType.Assert:
- logLevel = LogSeverity.LogAssert;
- break;
- case LogType.Warning:
- logLevel = LogSeverity.LogWarning;
- break;
- case LogType.Log:
- logLevel = LogSeverity.LogDebug;
- break;
- default:
- break;
- }
-
- if (LogSeverity.Log == logLevel) {
- return;
- }
-
- _HandleException (logLevel, null, condition, stackTrace, true);
- }
-
- private static void _OnUncaughtExceptionHandler (object sender, System.UnhandledExceptionEventArgs args)
- {
- if (args == null || args.ExceptionObject == null) {
- return;
- }
-
- try {
- if (args.ExceptionObject.GetType () != typeof(System.Exception)) {
- return;
- }
- } catch {
- if (UnityEngine.Debug.isDebugBuild == true) {
- UnityEngine.Debug.Log ("BuglyAgent: Failed to report uncaught exception");
- }
-
- return;
- }
-
- if (!IsInitialized) {
- return;
- }
-
- if (_uncaughtAutoReportOnce) {
- return;
- }
-
- _HandleException ((System.Exception)args.ExceptionObject, null, true);
- }
-
- private static void _HandleException (System.Exception e, string message, bool uncaught)
- {
- if (e == null) {
- return;
- }
-
- if (!IsInitialized) {
- return;
- }
-
- string name = e.GetType ().Name;
- string reason = e.Message;
-
- if (!string.IsNullOrEmpty (message)) {
- reason = string.Format ("{0}{1}***{2}", reason, Environment.NewLine, message);
- }
-
- StringBuilder stackTraceBuilder = new StringBuilder ("");
-
- StackTrace stackTrace = new StackTrace (e, true);
- int count = stackTrace.FrameCount;
- for (int i = 0; i < count; i++) {
- StackFrame frame = stackTrace.GetFrame (i);
-
- stackTraceBuilder.AppendFormat ("{0}.{1}", frame.GetMethod ().DeclaringType.Name, frame.GetMethod ().Name);
-
- ParameterInfo[] parameters = frame.GetMethod ().GetParameters ();
- if (parameters == null || parameters.Length == 0) {
- stackTraceBuilder.Append (" () ");
- } else {
- stackTraceBuilder.Append (" (");
-
- int pcount = parameters.Length;
-
- ParameterInfo param = null;
- for (int p = 0; p < pcount; p++) {
- param = parameters [p];
- stackTraceBuilder.AppendFormat ("{0} {1}", param.ParameterType.Name, param.Name);
-
- if (p != pcount - 1) {
- stackTraceBuilder.Append (", ");
- }
- }
- param = null;
-
- stackTraceBuilder.Append (") ");
- }
-
- string fileName = frame.GetFileName ();
- if (!string.IsNullOrEmpty (fileName) && !fileName.ToLower ().Equals ("unknown")) {
- fileName = fileName.Replace ("\\", "/");
-
- int loc = fileName.ToLower ().IndexOf ("/assets/");
- if (loc < 0) {
- loc = fileName.ToLower ().IndexOf ("assets/");
- }
-
- if (loc > 0) {
- fileName = fileName.Substring (loc);
- }
-
- stackTraceBuilder.AppendFormat ("(at {0}:{1})", fileName, frame.GetFileLineNumber ());
- }
- stackTraceBuilder.AppendLine ();
- }
-
- // report
- _reportException (uncaught, name, reason, stackTraceBuilder.ToString ());
- }
-
- private static void _reportException (bool uncaught, string name, string reason, string stackTrace)
- {
- if (string.IsNullOrEmpty (name)) {
- return;
- }
-
- if (string.IsNullOrEmpty (stackTrace)) {
- stackTrace = StackTraceUtility.ExtractStackTrace ();
- }
-
- if (string.IsNullOrEmpty (stackTrace)) {
- stackTrace = "Empty";
- } else {
-
- try {
- string[] frames = stackTrace.Split ('\n');
-
- if (frames != null && frames.Length > 0) {
-
- StringBuilder trimFrameBuilder = new StringBuilder ();
-
- string frame = null;
- int count = frames.Length;
- for (int i = 0; i < count; i++) {
- frame = frames [i];
-
- if (string.IsNullOrEmpty (frame) || string.IsNullOrEmpty (frame.Trim ())) {
- continue;
- }
-
- frame = frame.Trim ();
-
- // System.Collections.Generic
- if (frame.StartsWith ("System.Collections.Generic.") || frame.StartsWith ("ShimEnumerator")) {
- continue;
- }
- if (frame.StartsWith ("Bugly")) {
- continue;
- }
- if (frame.Contains ("..ctor")) {
- continue;
- }
-
- int start = frame.ToLower ().IndexOf ("(at");
- int end = frame.ToLower ().IndexOf ("/assets/");
-
- if (start > 0 && end > 0) {
- trimFrameBuilder.AppendFormat ("{0}(at {1}", frame.Substring (0, start).Replace (":", "."), frame.Substring (end));
- } else {
- trimFrameBuilder.Append (frame.Replace (":", "."));
- }
-
- trimFrameBuilder.AppendLine ();
- }
-
- stackTrace = trimFrameBuilder.ToString ();
- }
- } catch {
- PrintLog(LogSeverity.LogWarning,"{0}", "Error to parse the stack trace");
- }
-
- }
-
- PrintLog (LogSeverity.LogError, "ReportException: {0} {1}\n*********\n{2}\n*********", name, reason, stackTrace);
-
- _uncaughtAutoReportOnce = uncaught && _autoQuitApplicationAfterReport;
-
- ReportException (uncaught ? EXCEPTION_TYPE_UNCAUGHT : EXCEPTION_TYPE_CAUGHT, name, reason, stackTrace, uncaught && _autoQuitApplicationAfterReport);
- }
-
- private static void _HandleException (LogSeverity logLevel, string name, string message, string stackTrace, bool uncaught)
- {
- if (!IsInitialized) {
- DebugLog (null, "It has not been initialized.");
- return;
- }
-
- if (logLevel == LogSeverity.Log) {
- return;
- }
-
- if ((uncaught && logLevel < _autoReportLogLevel)) {
- DebugLog (null, "Not report exception for level {0}", logLevel.ToString ());
- return;
- }
-
- string type = null;
- string reason = null;
-
- if (!string.IsNullOrEmpty (message)) {
- try {
- if ((LogSeverity.LogException == logLevel) && message.Contains ("Exception")) {
-
- Match match = new Regex (@"^(?<errorType>\S+):\s*(?<errorMessage>.*)", RegexOptions.Singleline).Match (message);
-
- if (match.Success) {
- type = match.Groups ["errorType"].Value.Trim();
- reason = match.Groups ["errorMessage"].Value.Trim ();
- }
- } else if ((LogSeverity.LogError == logLevel) && message.StartsWith ("Unhandled Exception:")) {
-
- Match match = new Regex (@"^Unhandled\s+Exception:\s*(?<exceptionName>\S+):\s*(?<exceptionDetail>.*)", RegexOptions.Singleline).Match(message);
-
- if (match.Success) {
- string exceptionName = match.Groups ["exceptionName"].Value.Trim();
- string exceptionDetail = match.Groups ["exceptionDetail"].Value.Trim ();
-
- //
- int dotLocation = exceptionName.LastIndexOf(".");
- if (dotLocation > 0 && dotLocation != exceptionName.Length) {
- type = exceptionName.Substring(dotLocation + 1);
- } else {
- type = exceptionName;
- }
-
- int stackLocation = exceptionDetail.IndexOf(" at ");
- if (stackLocation > 0) {
- //
- reason = exceptionDetail.Substring(0, stackLocation);
- // substring after " at "
- string callStacks = exceptionDetail.Substring(stackLocation + 3).Replace(" at ", "\n").Replace("in <filename unknown>:0","").Replace("[0x00000]","");
- //
- stackTrace = string.Format("{0}\n{1}", stackTrace, callStacks.Trim());
-
- } else {
- reason = exceptionDetail;
- }
-
- // for LuaScriptException
- if(type.Equals("LuaScriptException") && exceptionDetail.Contains(".lua") && exceptionDetail.Contains("stack traceback:")) {
- stackLocation = exceptionDetail.IndexOf("stack traceback:");
- if(stackLocation > 0) {
- reason = exceptionDetail.Substring(0, stackLocation);
- // substring after "stack traceback:"
- string callStacks = exceptionDetail.Substring(stackLocation + 16).Replace(" [", " \n[");
-
- //
- stackTrace = string.Format("{0}\n{1}", stackTrace, callStacks.Trim());
- }
- }
- }
-
- }
- } catch {
-
- }
-
- if (string.IsNullOrEmpty (reason)) {
- reason = message;
- }
- }
-
- if (string.IsNullOrEmpty (name)) {
- if (string.IsNullOrEmpty (type)) {
- type = string.Format ("Unity{0}", logLevel.ToString ());
- }
- } else {
- type = name;
- }
-
- _reportException (uncaught, type, reason, stackTrace);
- }
-
- private static bool _uncaughtAutoReportOnce = false;
-
- #endregion
-
-}
\ No newline at end of file
diff --git a/Assets/Plugins/BuglyPlugins/BuglyAgent.cs.meta b/Assets/Plugins/BuglyPlugins/BuglyAgent.cs.meta
deleted file mode 100644
index 20a57a0..0000000
--- a/Assets/Plugins/BuglyPlugins/BuglyAgent.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: be621fe31508b4f2ab134ee879ec97b4
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/Plugins/BuglyPlugins/BuglyCallback.cs b/Assets/Plugins/BuglyPlugins/BuglyCallback.cs
deleted file mode 100644
index 77c70c6..0000000
--- a/Assets/Plugins/BuglyPlugins/BuglyCallback.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-// ----------------------------------------
-//
-// BuglyCallbackDelegate.cs
-//
-// Author:
-// Yeelik, <bugly@tencent.com>
-//
-// Copyright (c) 2015 Bugly, Tencent. All rights reserved.
-//
-// ----------------------------------------
-//
-using UnityEngine;
-using System.Collections;
-
-public abstract class BuglyCallback
-{
- // The delegate of callback handler which Call the Application.RegisterLogCallback(Application.LogCallback)
- /// <summary>
- /// Raises the application log callback handler event.
- /// </summary>
- /// <param name="condition">Condition.</param>
- /// <param name="stackTrace">Stack trace.</param>
- /// <param name="type">Type.</param>
- public abstract void OnApplicationLogCallbackHandler (string condition, string stackTrace, LogType type);
-
-}
-
diff --git a/Assets/Plugins/BuglyPlugins/BuglyCallback.cs.meta b/Assets/Plugins/BuglyPlugins/BuglyCallback.cs.meta
deleted file mode 100644
index a61dcf3..0000000
--- a/Assets/Plugins/BuglyPlugins/BuglyCallback.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 78e76f643d1884dcab602d5fe79b08e1
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/Plugins/BuglyPlugins/BuglyInit.cs b/Assets/Plugins/BuglyPlugins/BuglyInit.cs
deleted file mode 100644
index ff6b5a7..0000000
--- a/Assets/Plugins/BuglyPlugins/BuglyInit.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-// ----------------------------------------
-//
-// BuglyInit.cs
-//
-// Author:
-// Yeelik, <bugly@tencent.com>
-//
-// Copyright (c) 2015 Bugly, Tencent. All rights reserved.
-//
-// ----------------------------------------
-//
-using UnityEngine;
-using System.Collections;
-using System.Collections.Generic;
-
-public class BuglyInit : MonoBehaviour
-{
- /// <summary>
- /// Your Bugly App ID. Every app has a special identifier that allows Bugly to associate error monitoring data with your app.
- /// Your App ID can be found on the "Setting" page of the app you are trying to monitor.
- /// </summary>
- /// <example>A real App ID looks like this: 90000xxxx</example>
- private const string BuglyAppID = "YOUR APP ID GOES HERE";
-
- void Awake ()
- {
- // Enable the debug log print
- BuglyAgent.ConfigDebugMode (false);
- // Config default channel, version, user
- BuglyAgent.ConfigDefault (null, null, null, 0);
- // Config auto report log level, default is LogSeverity.LogError, so the LogError, LogException log will auto report
- BuglyAgent.ConfigAutoReportLogLevel (LogSeverity.LogError);
- // Config auto quit the application make sure only the first one c# exception log will be report, please don't set TRUE if you do not known what are you doing.
- BuglyAgent.ConfigAutoQuitApplication (false);
- // If you need register Application.RegisterLogCallback(LogCallback), you can replace it with this method to make sure your function is ok.
- BuglyAgent.RegisterLogCallback (null);
-
- // Init the bugly sdk and enable the c# exception handler.
- BuglyAgent.InitWithAppId (BuglyAppID);
-
- // TODO Required. If you do not need call 'InitWithAppId(string)' to initialize the sdk(may be you has initialized the sdk it associated Android or iOS project),
- // please call this method to enable c# exception handler only.
- BuglyAgent.EnableExceptionHandler ();
-
- // TODO NOT Required. If you need to report extra data with exception, you can set the extra handler
- BuglyAgent.SetLogCallbackExtrasHandler (MyLogCallbackExtrasHandler);
-
- Destroy (this);
- }
-
- // Extra data handler to packet data and report them with exception.
- // Please do not do hard work in this handler
- static Dictionary<string, string> MyLogCallbackExtrasHandler ()
- {
- // TODO Test log, please do not copy it
- BuglyAgent.PrintLog (LogSeverity.Log, "extra handler");
-
- // TODO Sample code, please do not copy it
- Dictionary<string, string> extras = new Dictionary<string, string> ();
- extras.Add ("ScreenSolution", string.Format ("{0}x{1}", Screen.width, Screen.height));
- extras.Add ("deviceModel", SystemInfo.deviceModel);
- extras.Add ("deviceName", SystemInfo.deviceName);
- extras.Add ("deviceType", SystemInfo.deviceType.ToString ());
-
- extras.Add ("deviceUId", SystemInfo.deviceUniqueIdentifier);
- extras.Add ("gDId", string.Format ("{0}", SystemInfo.graphicsDeviceID));
- extras.Add ("gDName", SystemInfo.graphicsDeviceName);
- extras.Add ("gDVdr", SystemInfo.graphicsDeviceVendor);
- extras.Add ("gDVer", SystemInfo.graphicsDeviceVersion);
- extras.Add ("gDVdrID", string.Format ("{0}", SystemInfo.graphicsDeviceVendorID));
-
- extras.Add ("graphicsMemorySize", string.Format ("{0}", SystemInfo.graphicsMemorySize));
- extras.Add ("systemMemorySize", string.Format ("{0}", SystemInfo.systemMemorySize));
- extras.Add ("UnityVersion", Application.unityVersion);
-
- BuglyAgent.PrintLog (LogSeverity.LogInfo, "Package extra data");
- return extras;
- }
-}
-
diff --git a/Assets/Plugins/BuglyPlugins/BuglyInit.cs.meta b/Assets/Plugins/BuglyPlugins/BuglyInit.cs.meta
deleted file mode 100644
index 4c6c0ff..0000000
--- a/Assets/Plugins/BuglyPlugins/BuglyInit.cs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: a717f6955eddf4463ad541714a1b5483
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
diff --git a/Assets/Plugins/BuglyPlugins/iOS.meta b/Assets/Plugins/BuglyPlugins/iOS.meta
deleted file mode 100644
index 0ac4df7..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: bb0cfd908dccc6c4082e1f3d0b47cb78
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework.meta b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework.meta
deleted file mode 100644
index 1ad80f8..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework.meta
+++ /dev/null
@@ -1,28 +0,0 @@
-fileFormatVersion: 2
-guid: 2bda85a6801e046429399ec5e882b549
-folderAsset: yes
-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/Plugins/BuglyPlugins/iOS/Bugly.framework/.DS_Store b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/.DS_Store
deleted file mode 100644
index 23f1192..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Bugly b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Bugly
deleted file mode 100644
index 83b5508..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Bugly
+++ /dev/null
Binary files differ
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Bugly.meta b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Bugly.meta
deleted file mode 100644
index eafe6f5..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Bugly.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 8a2abdc417e6d3e4fafd2880d3d6ba03
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers.meta b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers.meta
deleted file mode 100644
index 15ae5e7..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: e411965cb1c2462439767aa31b7a25d9
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/Bugly.h b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/Bugly.h
deleted file mode 100644
index 6103ca8..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/Bugly.h
+++ /dev/null
@@ -1,142 +0,0 @@
-//
-// Bugly.h
-// Bugly
-//
-// Version: 2.4(8)
-//
-// Copyright (c) 2016骞� Bugly. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-#import "BuglyConfig.h"
-#import "BuglyLog.h"
-
-BLY_START_NONNULL
-
-@interface Bugly : NSObject
-
-/**
- * 鍒濆鍖朆ugly,浣跨敤榛樿BuglyConfig
- *
- * @param appId 娉ㄥ唽Bugly鍒嗛厤鐨勫簲鐢ㄥ敮涓�鏍囪瘑
- */
-+ (void)startWithAppId:(NSString * BLY_NULLABLE)appId;
-
-/**
- * 浣跨敤鎸囧畾閰嶇疆鍒濆鍖朆ugly
- *
- * @param appId 娉ㄥ唽Bugly鍒嗛厤鐨勫簲鐢ㄥ敮涓�鏍囪瘑
- * @param config 浼犲叆閰嶇疆鐨� BuglyConfig
- */
-+ (void)startWithAppId:(NSString * BLY_NULLABLE)appId
- config:(BuglyConfig * BLY_NULLABLE)config;
-
-/**
- * 浣跨敤鎸囧畾閰嶇疆鍒濆鍖朆ugly
- *
- * @param appId 娉ㄥ唽Bugly鍒嗛厤鐨勫簲鐢ㄥ敮涓�鏍囪瘑
- * @param development 鏄惁寮�鍙戣澶�
- * @param config 浼犲叆閰嶇疆鐨� BuglyConfig
- */
-+ (void)startWithAppId:(NSString * BLY_NULLABLE)appId
- developmentDevice:(BOOL)development
- config:(BuglyConfig * BLY_NULLABLE)config;
-
-/**
- * 璁剧疆鐢ㄦ埛鏍囪瘑
- *
- * @param userId 鐢ㄦ埛鏍囪瘑
- */
-+ (void)setUserIdentifier:(NSString *)userId;
-
-/**
- * 鏇存柊鐗堟湰淇℃伅
- *
- * @param version 搴旂敤鐗堟湰淇℃伅
- */
-+ (void)updateAppVersion:(NSString *)version;
-
-/**
- * 璁剧疆鍏抽敭鏁版嵁锛岄殢宕╂簝淇℃伅涓婃姤
- *
- * @param value KEY
- * @param key VALUE
- */
-+ (void)setUserValue:(NSString *)value
- forKey:(NSString *)key;
-
-/**
- * 鑾峰彇鍏抽敭鏁版嵁
- *
- * @return 鍏抽敭鏁版嵁
- */
-+ (NSDictionary * BLY_NULLABLE)allUserValues;
-
-/**
- * 璁剧疆鏍囩
- *
- * @param tag 鏍囩ID锛屽彲鍦ㄧ綉绔欑敓鎴�
- */
-+ (void)setTag:(NSUInteger)tag;
-
-/**
- * 鑾峰彇褰撳墠璁剧疆鏍囩
- *
- * @return 褰撳墠鏍囩ID
- */
-+ (NSUInteger)currentTag;
-
-/**
- * 鑾峰彇璁惧ID
- *
- * @return 璁惧ID
- */
-+ (NSString *)buglyDeviceId;
-
-/**
- * 涓婃姤鑷畾涔塐bjective-C寮傚父
- *
- * @param exception 寮傚父淇℃伅
- */
-+ (void)reportException:(NSException *)exception;
-
-/**
- * 涓婃姤閿欒
- *
- * @param error 閿欒淇℃伅
- */
-+ (void)reportError:(NSError *)error;
-
-/**
- * @brief 涓婃姤鑷畾涔夐敊璇�
- *
- * @param category 绫诲瀷(Cocoa=3,CSharp=4,JS=5,Lua=6)
- * @param aName 鍚嶇О
- * @param aReason 閿欒鍘熷洜
- * @param aStackArray 鍫嗘爤
- * @param info 闄勫姞鏁版嵁
- * @param terminate 涓婃姤鍚庢槸鍚﹂��鍑哄簲鐢ㄨ繘绋�
- */
-+ (void)reportExceptionWithCategory:(NSUInteger)category name:(NSString *)aName reason:(NSString *)aReason callStack:(NSArray *)aStackArray extraInfo:(NSDictionary *)info terminateApp:(BOOL)terminate;
-
-/**
- * SDK 鐗堟湰淇℃伅
- *
- * @return SDK鐗堟湰鍙�
- */
-+ (NSString *)sdkVersion;
-
-/**
- * App 鏄惁鍙戠敓浜嗚繛缁棯閫�
- * 濡傛灉鍚姩SDK 涓� 5绉掑唴 闂��锛屼笖娆℃暟杈惧埌 3娆� 鍒欏垽瀹氫负杩炵画闂��
- *
- * @return 鏄惁杩炵画闂��
- */
-+ (BOOL)isAppCrashedOnStartUpExceedTheLimit;
-
-+ (void)setComponentIdentifier:(NSString *)componentId version:(NSString *)version;
-
-BLY_END_NONNULL
-
-@end
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/Bugly.h.meta b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/Bugly.h.meta
deleted file mode 100644
index 5e85bbc..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/Bugly.h.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 3bd9cef9c0bf2444caaff815e8b4856f
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyConfig.h b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyConfig.h
deleted file mode 100644
index 68e4970..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyConfig.h
+++ /dev/null
@@ -1,118 +0,0 @@
-//
-// BuglyConfig.h
-//
-//
-// Copyright (c) 2016骞� Tencent. All rights reserved.
-//
-
-#pragma once
-
-#define BLY_UNAVAILABLE(x) __attribute__((unavailable(x)))
-
-#if __has_feature(nullability)
-#define BLY_NONNULL __nonnull
-#define BLY_NULLABLE __nullable
-#define BLY_START_NONNULL _Pragma("clang assume_nonnull begin")
-#define BLY_END_NONNULL _Pragma("clang assume_nonnull end")
-#else
-#define BLY_NONNULL
-#define BLY_NULLABLE
-#define BLY_START_NONNULL
-#define BLY_END_NONNULL
-#endif
-
-#import <Foundation/Foundation.h>
-#import "BuglyLog.h"
-
-BLY_START_NONNULL
-
-@protocol BuglyDelegate <NSObject>
-
-@optional
-/**
- * 鍙戠敓寮傚父鏃跺洖璋�
- *
- * @param exception 寮傚父淇℃伅
- *
- * @return 杩斿洖闇�涓婃姤璁板綍锛岄殢寮傚父涓婃姤涓�璧蜂笂鎶�
- */
-- (NSString * BLY_NULLABLE)attachmentForException:(NSException * BLY_NULLABLE)exception;
-
-@end
-
-@interface BuglyConfig : NSObject
-
-/**
- * SDK Debug淇℃伅寮�鍏�, 榛樿鍏抽棴
- */
-@property (nonatomic, assign) BOOL debugMode;
-
-/**
- * 璁剧疆鑷畾涔夋笭閬撴爣璇�
- */
-@property (nonatomic, copy) NSString *channel;
-
-/**
- * 璁剧疆鑷畾涔夌増鏈彿
- */
-@property (nonatomic, copy) NSString *version;
-
-/**
- * 璁剧疆鑷畾涔夎澶囧敮涓�鏍囪瘑
- */
-@property (nonatomic, copy) NSString *deviceIdentifier;
-
-/**
- * 鍗¢】鐩戞帶寮�鍏筹紝榛樿鍏抽棴
- */
-@property (nonatomic) BOOL blockMonitorEnable;
-
-/**
- * 鍗¢】鐩戞帶鍒ゆ柇闂撮殧锛屽崟浣嶄负绉�
- */
-@property (nonatomic) NSTimeInterval blockMonitorTimeout;
-
-/**
- * 璁剧疆 App Groups Id (濡傛湁浣跨敤 Bugly iOS Extension SDK锛岃璁剧疆璇ュ��)
- */
-@property (nonatomic, copy) NSString *applicationGroupIdentifier;
-
-/**
- * 杩涚▼鍐呰繕鍘熷紑鍏筹紝榛樿寮�鍚�
- */
-@property (nonatomic) BOOL symbolicateInProcessEnable;
-
-/**
- * 闈炴甯搁��鍑轰簨浠惰褰曞紑鍏筹紝榛樿鍏抽棴
- */
-@property (nonatomic) BOOL unexpectedTerminatingDetectionEnable;
-
-/**
- * 椤甸潰淇℃伅璁板綍寮�鍏筹紝榛樿寮�鍚�
- */
-@property (nonatomic) BOOL viewControllerTrackingEnable;
-
-/**
- * Bugly Delegate
- */
-@property (nonatomic, assign) id<BuglyDelegate> delegate;
-
-/**
- * 鎺у埗鑷畾涔夋棩蹇椾笂鎶ワ紝榛樿鍊间负BuglyLogLevelSilent锛屽嵆鍏抽棴鏃ュ織璁板綍鍔熻兘銆�
- * 濡傛灉璁剧疆涓築uglyLogLevelWarn锛屽垯鍦ㄥ穿婧冩椂浼氫笂鎶arn銆丒rror鎺ュ彛鎵撳嵃鐨勬棩蹇�
- */
-@property (nonatomic, assign) BuglyLogLevel reportLogLevel;
-
-/**
- * 宕╂簝鏁版嵁杩囨护鍣紝濡傛灉宕╂簝鍫嗘爤鐨勬ā鍧楀悕鍖呭惈杩囨护鍣ㄤ腑璁剧疆鐨勫叧閿瓧锛屽垯宕╂簝鏁版嵁涓嶄細杩涜涓婃姤
- * 渚嬪锛岃繃婊ゅ穿婧冨爢鏍堜腑鍖呭惈鎼滅嫍杈撳叆娉曠殑鏁版嵁锛屽彲浠ユ坊鍔犺繃婊ゅ櫒鍏抽敭瀛桽ogouInputIPhone.dylib绛�
- */
-@property (nonatomic, copy) NSArray *excludeModuleFilter;
-
-/**
- * 鎺у埗鍙版棩蹇椾笂鎶ュ紑鍏筹紝榛樿寮�鍚�
- */
-@property (nonatomic, assign) BOOL consolelogEnable;
-
-@end
-BLY_END_NONNULL
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyConfig.h.meta b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyConfig.h.meta
deleted file mode 100644
index 7afa8dc..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyConfig.h.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: e6aaf5f7932de6b4aa98ba197082fcfc
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyLog.h b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyLog.h
deleted file mode 100644
index 276f833..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyLog.h
+++ /dev/null
@@ -1,77 +0,0 @@
-//
-// BuglyLog.h
-//
-// Copyright 漏 2017 tencent.com. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-// Log level for Bugly Log
-typedef NS_ENUM(NSUInteger, BuglyLogLevel) {
- BuglyLogLevelSilent = 0,
- BuglyLogLevelError = 1,
- BuglyLogLevelWarn = 2,
- BuglyLogLevelInfo = 3,
- BuglyLogLevelDebug = 4,
- BuglyLogLevelVerbose = 5,
-};
-#pragma mark -
-
-OBJC_EXTERN void BLYLog(BuglyLogLevel level, NSString *format, ...) NS_FORMAT_FUNCTION(2, 3);
-
-OBJC_EXTERN void BLYLogv(BuglyLogLevel level, NSString *format, va_list args) NS_FORMAT_FUNCTION(2, 0);
-
-#pragma mark -
-#define BUGLY_LOG_MACRO(_level, fmt, ...) [BuglyLog level:_level tag:nil log:fmt, ##__VA_ARGS__]
-
-#define BLYLogError(fmt, ...) BUGLY_LOG_MACRO(BuglyLogLevelError, fmt, ##__VA_ARGS__)
-#define BLYLogWarn(fmt, ...) BUGLY_LOG_MACRO(BuglyLogLevelWarn, fmt, ##__VA_ARGS__)
-#define BLYLogInfo(fmt, ...) BUGLY_LOG_MACRO(BuglyLogLevelInfo, fmt, ##__VA_ARGS__)
-#define BLYLogDebug(fmt, ...) BUGLY_LOG_MACRO(BuglyLogLevelDebug, fmt, ##__VA_ARGS__)
-#define BLYLogVerbose(fmt, ...) BUGLY_LOG_MACRO(BuglyLogLevelVerbose, fmt, ##__VA_ARGS__)
-
-#pragma mark - Interface
-@interface BuglyLog : NSObject
-
-/**
- * @brief 鍒濆鍖栨棩蹇楁ā鍧�
- *
- * @param level 璁剧疆榛樿鏃ュ織绾у埆锛岄粯璁LYLogLevelSilent
- *
- * @param printConsole 鏄惁鎵撳嵃鍒版帶鍒跺彴锛岄粯璁O
- */
-+ (void)initLogger:(BuglyLogLevel) level consolePrint:(BOOL)printConsole;
-
-/**
- * @brief 鎵撳嵃BLYLogLevelInfo鏃ュ織
- *
- * @param format 鏃ュ織鍐呭 鎬绘棩蹇楀ぇ灏忛檺鍒朵负锛氬瓧绗︿覆闀垮害30k锛屾潯鏁�200
- */
-+ (void)log:(NSString *)format, ... NS_FORMAT_FUNCTION(1, 2);
-
-/**
- * @brief 鎵撳嵃鏃ュ織
- *
- * @param level 鏃ュ織绾у埆
- * @param message 鏃ュ織鍐呭 鎬绘棩蹇楀ぇ灏忛檺鍒朵负锛氬瓧绗︿覆闀垮害30k锛屾潯鏁�200
- */
-+ (void)level:(BuglyLogLevel) level logs:(NSString *)message;
-
-/**
- * @brief 鎵撳嵃鏃ュ織
- *
- * @param level 鏃ュ織绾у埆
- * @param format 鏃ュ織鍐呭 鎬绘棩蹇楀ぇ灏忛檺鍒朵负锛氬瓧绗︿覆闀垮害30k锛屾潯鏁�200
- */
-+ (void)level:(BuglyLogLevel) level log:(NSString *)format, ... NS_FORMAT_FUNCTION(2, 3);
-
-/**
- * @brief 鎵撳嵃鏃ュ織
- *
- * @param level 鏃ュ織绾у埆
- * @param tag 鏃ュ織妯″潡鍒嗙被
- * @param format 鏃ュ織鍐呭 鎬绘棩蹇楀ぇ灏忛檺鍒朵负锛氬瓧绗︿覆闀垮害30k锛屾潯鏁�200
- */
-+ (void)level:(BuglyLogLevel) level tag:(NSString *) tag log:(NSString *)format, ... NS_FORMAT_FUNCTION(3, 4);
-
-@end
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyLog.h.meta b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyLog.h.meta
deleted file mode 100644
index 533f943..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Headers/BuglyLog.h.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: fcdd1a254f5ac71439f64020d222765b
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Modules.meta b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Modules.meta
deleted file mode 100644
index 7a4ec1a..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Modules.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 562250b44fe02cf4abbb1cb3bacd277d
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Modules/module.modulemap b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Modules/module.modulemap
deleted file mode 100644
index c536705..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,12 +0,0 @@
-framework module Bugly {
- umbrella header "Bugly.h"
-
- export *
- module * { export * }
-
- link framework "Foundation"
- link framework "Security"
- link framework "SystemConfiguration"
- link "c++"
- link "z"
-}
diff --git a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Modules/module.modulemap.meta b/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Modules/module.modulemap.meta
deleted file mode 100644
index 5cb4c36..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/Bugly.framework/Modules/module.modulemap.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 30fee337aa477fb47988dc68e7f768a0
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge.meta b/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge.meta
deleted file mode 100644
index f106b2c..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: f5434fa1f8a5c9546b1356756a3b2be7
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/BuglyBridge.h b/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/BuglyBridge.h
deleted file mode 100644
index eada810..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/BuglyBridge.h
+++ /dev/null
@@ -1,101 +0,0 @@
-//
-// BuglyBridge.h
-// BuglyAgent
-//
-// Created by Yeelik on 15/11/25.
-// Copyright 漏 2015骞� Bugly. All rights reserved.
-//
-// Version: 1.3.3
-//
-
-#import <Foundation/Foundation.h>
-
-#pragma mark - Interface for Bridge
-
-#ifdef __cplusplus
-extern "C"{
-#endif
-
- /**
- * @brief 鍒濆鍖�
- *
- * @param appId 搴旂敤鏍囪瘑
- * @param debug 鏄惁寮�鍚痙ebug妯″紡锛屽紑鍚悗浼氬湪鎺у埗鍙版墦鍗拌皟璇曚俊鎭紝榛樿涓篘O
- * @param level 鑷畾涔夋棩蹇椾笂鎶ョ骇鍒紝浣跨敤SDK鎺ュ彛鎵撳嵃鐨勬棩蹇椾細璺熷穿婧冧俊鎭竴璧蜂笂鎶ワ紝榛樿涓篒nfo(鍗矷nfo銆乄arning銆丒rror绾у埆鐨勬棩蹇楅兘浼氫笂鎶�)
- * Debug=4,Info=3,Warnning=2,Error=1,Off=0
- */
- void _BuglyInit(const char * appId, bool debug, int level);
-
- /**
- * @brief 璁剧疆鐢ㄦ埛鍞竴鏍囪瘑
- *
- * @param userId
- */
- void _BuglySetUserId(const char * userId);
-
- /**
- * @brief 璁剧疆鑷畾涔夋爣绛�
- *
- * @param tag
- */
- void _BuglySetTag(int tag);
-
- /**
- * @brief 璁剧疆鑷畾涔夐敭鍊煎鏁版嵁
- *
- * @param key
- * @param value
- */
- void _BuglySetKeyValue(const char * key, const char * value);
-
- /**
- * @brief 鑷畾涔夊紓甯告暟鎹笂鎶�
- *
- * @param type
- * @param name 寮傚父绫诲瀷
- * @param reason 寮傚父鍘熷洜
- * @param stackTrace 寮傚父鍫嗘爤
- * @param extras 闄勫姞鏁版嵁
- * @param quit 涓婃姤鍚庢槸鍚﹂��鍑哄簲鐢�
- */
- void _BuglyReportException(int type, const char * name, const char * reason, const char * stackTrace, const char * extras, bool quit);
-
- /**
- * @brief 璁剧疆榛樿鐨勫簲鐢ㄩ厤缃紝鍦ㄥ垵濮嬪寲涔嬪墠璋冪敤
- *
- * @param channel 娓犻亾
- * @param version 搴旂敤鐗堟湰
- * @param user 鐢ㄦ埛
- * @param deviceId 璁惧鍞竴鏍囪瘑
- */
- void _BuglyDefaultConfig(const char * channel, const char * version, const char *user, const char * deviceId);
-
- /**
- * @brief 鑷畾涔夋棩蹇楁墦鍗版帴鍙�
- *
- * @param level 鏃ュ織绾у埆, 1=Error銆�2=Warning銆�3=Info銆�4=Debug
- * @param tag 鏃ュ織鏍囩
- * @param log 鏃ュ織鍐呭
- */
- void _BuglyLogMessage(int level, const char * tag, const char * log);
-
- /**
- * @brief 璁剧疆宕╂簝涓婃姤缁勪欢鐨勭被鍒�
- *
- * @param type 0锛滵efault銆�1=Bugly銆�2=MSDK銆�3=IMSDK
- */
- void _BuglyConfigCrashReporterType(int type);
-
- /**
- * @brief 璁剧疆棰濆鐨勯厤缃俊鎭�
- *
- * @param key
- * @param value
- */
- void _BuglySetExtraConfig(const char *key, const char * value);
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
-#pragma mark -
diff --git a/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/BuglyBridge.h.meta b/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/BuglyBridge.h.meta
deleted file mode 100644
index 38a1a80..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/BuglyBridge.h.meta
+++ /dev/null
@@ -1,70 +0,0 @@
-fileFormatVersion: 2
-guid: b55a69cc84ca47e44b62297cafc0804b
-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 Linux64: 1
- Exclude OSXUniversal: 1
- Exclude Win: 1
- Exclude Win64: 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:
- Standalone: Linux64
- second:
- enabled: 0
- settings:
- CPU: None
- - first:
- Standalone: OSXUniversal
- second:
- enabled: 0
- settings:
- CPU: None
- - first:
- Standalone: Win
- second:
- enabled: 0
- settings:
- CPU: None
- - first:
- Standalone: Win64
- second:
- enabled: 0
- settings:
- CPU: None
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/libBuglyBridge.a b/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/libBuglyBridge.a
deleted file mode 100644
index 17410d0..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/libBuglyBridge.a
+++ /dev/null
Binary files differ
diff --git a/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/libBuglyBridge.a.meta b/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/libBuglyBridge.a.meta
deleted file mode 100644
index 4468f2f..0000000
--- a/Assets/Plugins/BuglyPlugins/iOS/BuglyBridge/libBuglyBridge.a.meta
+++ /dev/null
@@ -1,70 +0,0 @@
-fileFormatVersion: 2
-guid: 94596565f5e955f40aba3a64d7fbd324
-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 Linux64: 1
- Exclude OSXUniversal: 1
- Exclude Win: 1
- Exclude Win64: 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:
- Standalone: Linux64
- second:
- enabled: 0
- settings:
- CPU: None
- - first:
- Standalone: OSXUniversal
- second:
- enabled: 0
- settings:
- CPU: None
- - first:
- Standalone: Win
- second:
- enabled: 0
- settings:
- CPU: None
- - first:
- Standalone: Win64
- second:
- enabled: 0
- settings:
- CPU: None
- userData:
- assetBundleName:
- assetBundleVariant:
--
Gitblit v1.8.0