com.taptap.sdk.relation 4.7.1 → 4.8.1-beta.1

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.
@@ -4,6 +4,6 @@
4
4
  <repositories>
5
5
  <repository>https://repo.maven.apache.org/maven2</repository>
6
6
  </repositories>
7
- <androidPackage spec="com.taptap.sdk:tap-relation-unity:4.7.0"/>
7
+ <androidPackage spec="com.taptap.sdk:tap-relation-unity:4.8.1-beta.1"/>
8
8
  </androidPackages>
9
9
  </dependencies>
@@ -6,6 +6,7 @@ using UnityEngine;
6
6
  using System.Collections.Generic;
7
7
  using Newtonsoft.Json;
8
8
  using System.Runtime.InteropServices;
9
+ using TapSDK.Core.Internal.Log;
9
10
  #if UNITY_IOS
10
11
  using UnityEngine.iOS;
11
12
  #endif
@@ -132,7 +133,7 @@ namespace TapSDK.Relation.Mobile
132
133
  }
133
134
  catch (Exception e)
134
135
  {
135
- Debug.LogError($"GetNewFansCount parse result error: {e.Message}");
136
+ TapLog.Error($"GetNewFansCount parse result error: {e.Message}");
136
137
  callback(0);
137
138
  }
138
139
  });
@@ -170,7 +171,7 @@ namespace TapSDK.Relation.Mobile
170
171
  }
171
172
  catch (Exception e)
172
173
  {
173
- Debug.LogError($"GetUnreadMessageCount parse result error: {e.Message}");
174
+ TapLog.Error($"GetUnreadMessageCount parse result error: {e.Message}");
174
175
  callback(0);
175
176
  }
176
177
  });
@@ -229,7 +230,7 @@ namespace TapSDK.Relation.Mobile
229
230
  {
230
231
  return;
231
232
  }
232
- Debug.Log("TapSdk4UnityDemo -->> Bridge Callback == " + JsonConvert.SerializeObject(result));
233
+ TapLog.Log("Relation -->> Bridge Callback == " + JsonConvert.SerializeObject(result));
233
234
  var dic = Json.Deserialize(result.content) as Dictionary<string, object>;
234
235
  var code = SafeDictionary.GetValue<int>(dic, "relation_code");
235
236
  var newFansCount = SafeDictionary.GetValue<int>(dic, "new_fans_count");
@@ -76,8 +76,7 @@ namespace TapSDK.Relation
76
76
  }
77
77
 
78
78
 
79
- public static readonly string Version = "4.7.1";
80
-
79
+ public static readonly string Version = "4.8.1-beta.1";
81
80
 
82
81
  }
83
82
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
- "name": "com.taptap.sdk.relation",
3
- "displayName": "TapTapSDK Relation",
4
- "description": "TapTapSDK Relation",
5
- "version": "4.7.1",
6
- "unity": "2019.4",
7
- "license": "MIT",
8
- "dependencies": {
9
- "com.taptap.sdk.core": "4.7.1",
10
- "com.taptap.sdk.login": "4.7.1"
11
- }
2
+ "name": "com.taptap.sdk.relation",
3
+ "displayName": "TapTapSDK Relation",
4
+ "description": "TapTapSDK Relation",
5
+ "version": "4.8.1-beta.1",
6
+ "unity": "2019.4",
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "com.taptap.sdk.core": "4.8.1-beta.1",
10
+ "com.taptap.sdk.login": "4.8.1-beta.1"
11
+ }
12
12
  }