com.typhoon.unitysdk 1.0.82 → 1.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,7 +1,16 @@
1
1
  # 更新日志
2
- ## [1.0.82] - 2024-01-03
2
+ ## [1.0.83] - 2024-01-04
3
3
 
4
4
  ### 新增
5
+ * 抖音小游戏适配动态开启日志模式
6
+
7
+ ### 修复
8
+ * 抖音侧边栏判断错误问题
9
+
10
+
11
+ ## [1.0.82] - 2024-01-03
12
+
13
+ ### 新增
5
14
  * 抖音插页广告错误码为1002(广告单元无效)时,终止加载
6
15
 
7
16
 
@@ -791,6 +791,7 @@ namespace TyphoonUnitySDK
791
791
  //请求最新版本信息
792
792
  public static async Task<(PackageVersionInfo info, string state)> RequestLatestInfo()
793
793
  {
794
+ //判断package.json,使用的国内镜像还是海外镜像
794
795
  //从镜像地址中检查
795
796
  var url = $"https://registry.npmmirror.com/com.typhoon.unitysdk/latest?{Guid.NewGuid().ToString()}";
796
797
  PackageVersionInfo latest = null;
@@ -135,6 +135,7 @@ namespace TyphoonUnitySDK
135
135
  //android端
136
136
  if (Application.platform == RuntimePlatform.Android)
137
137
  {
138
+ Debug.Log("[TYPHOON] 检查日志开启状态...");
138
139
  var dynamicDebug = false;
139
140
  try
140
141
  {
@@ -149,9 +150,13 @@ namespace TyphoonUnitySDK
149
150
 
150
151
  if (dynamicDebug)
151
152
  {
152
- Debug.Log("发现typhoon_sdk_debug.bin 开启动态调试模式");
153
+ Debug.Log("[TYPHOON] 发现typhoon_sdk_debug.bin 开启动态调试模式");
153
154
  SdkDebug.IsDebug = true;
154
155
  }
156
+ else
157
+ {
158
+ Debug.Log("[TYPHOON] 检查日志开启状态:关闭");
159
+ }
155
160
  }
156
161
  }
157
162
 
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.82","description":"","unity":"2018.1","type":"tool","hideInEditor":false,"author":{"name":"Jan Zhang","email":"","url":""},"changelogUrl":"","documentationUrl":"","keywords":["typhoon"],"license":"","licensesUrl":"","customDependencies":[{"PackageName":"com.unity.nuget.newtonsoft-json","Value":"2.0.0"}],"version_log":"## [1.0.82] - 2024-01-03\r\n\r\n### 新增\n* 抖音插页广告错误码为1002(广告单元无效)时,终止加载\r\n\r\n","major_flag":false,"write_time_stamp":1704290130000,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}
1
+ {"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.83","description":"","unity":"2018.1","type":"tool","hideInEditor":false,"author":{"name":"Jan Zhang","email":"","url":""},"changelogUrl":"","documentationUrl":"","keywords":["typhoon"],"license":"","licensesUrl":"","customDependencies":[{"PackageName":"com.unity.nuget.newtonsoft-json","Value":"2.0.0"}],"version_log":"## [1.0.83] - 2024-01-04\r\n\r\n### 新增\n* 抖音小游戏适配动态开启日志模式\r\n\r\n### 修复\n* 抖音侧边栏判断错误问题\r\n\r\n","major_flag":false,"write_time_stamp":1704369822000,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}