com.taptap.sdk.relationlite 4.8.0-beta.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-lite-unity:4.8.0-beta.1"/>
7
+ <androidPackage spec="com.taptap.sdk:tap-relation-lite-unity:4.8.1-beta.1"/>
8
8
  </androidPackages>
9
9
  </dependencies>
@@ -7,6 +7,7 @@ using TapSDK.Core.Internal;
7
7
  using TapSDK.Core.Internal.Utils;
8
8
  using Newtonsoft.Json;
9
9
  using System.Runtime.InteropServices;
10
+ using TapSDK.Core.Internal.Log;
10
11
  #if UNITY_IOS
11
12
  using UnityEngine.iOS;
12
13
  #endif
@@ -32,7 +33,7 @@ namespace TapSDK.RelationLite
32
33
  {
33
34
  _clientId = clientId;
34
35
  _regionType = regionType;
35
- Debug.Log($"TapTapRelationLite Init with clientId: {clientId}, regionType: {regionType}");
36
+ TapLog.Log($"TapTapRelationLite Init with clientId: {clientId}, regionType: {regionType}");
36
37
  }
37
38
 
38
39
  public void SetOrientation(int orientation)
@@ -48,7 +49,7 @@ namespace TapSDK.RelationLite
48
49
 
49
50
  public void InviteGame()
50
51
  {
51
- Debug.Log("TapTapRelationLite InviteGame");
52
+ TapLog.Log("TapTapRelationLite InviteGame");
52
53
 
53
54
  EngineBridge.GetInstance().CallHandler(new Command.Builder()
54
55
  .Service(SERVICE_NAME)
@@ -60,7 +61,7 @@ namespace TapSDK.RelationLite
60
61
 
61
62
  public void InviteTeam(string teamId)
62
63
  {
63
- Debug.Log($"TapTapRelationLite InviteTeam with teamId: {teamId}");
64
+ TapLog.Log($"TapTapRelationLite InviteTeam with teamId: {teamId}");
64
65
 
65
66
  EngineBridge.GetInstance().CallHandler(new Command.Builder()
66
67
  .Service(SERVICE_NAME)
@@ -73,7 +74,7 @@ namespace TapSDK.RelationLite
73
74
 
74
75
  public void GetFriendsList(string nextPageToken, ITapTapRelationLiteRequestCallback callback)
75
76
  {
76
- Debug.Log($"TapTapRelationLite GetFriendsList with nextPageToken: {nextPageToken}");
77
+ TapLog.Log($"TapTapRelationLite GetFriendsList with nextPageToken: {nextPageToken}");
77
78
 
78
79
  EngineBridge.GetInstance().CallHandler(new Command.Builder()
79
80
  .Service(SERVICE_NAME)
@@ -109,7 +110,7 @@ namespace TapSDK.RelationLite
109
110
  catch (Exception e)
110
111
  {
111
112
  callback.OnFriendsListResult("", new List<RelationLiteUserItem>());
112
- Debug.LogError($"GetFriendsList parse result error: {e.Message}");
113
+ TapLog.Error($"GetFriendsList parse result error: {e.Message}");
113
114
  }
114
115
  });
115
116
 
@@ -117,7 +118,7 @@ namespace TapSDK.RelationLite
117
118
 
118
119
  public void GetFollowingList(string nextPageToken, ITapTapRelationLiteRequestCallback callback)
119
120
  {
120
- Debug.Log($"TapTapRelationLite GetFollowingList with nextPageToken: {nextPageToken}");
121
+ TapLog.Log($"TapTapRelationLite GetFollowingList with nextPageToken: {nextPageToken}");
121
122
 
122
123
  EngineBridge.GetInstance().CallHandler(new Command.Builder()
123
124
  .Service(SERVICE_NAME)
@@ -153,7 +154,7 @@ namespace TapSDK.RelationLite
153
154
  catch (Exception e)
154
155
  {
155
156
  callback.OnFollowingListResult("", new List<RelationLiteUserItem>());
156
- Debug.LogError($"GetFollowingList parse result error: {e.Message}");
157
+ TapLog.Error($"GetFollowingList parse result error: {e.Message}");
157
158
  }
158
159
  });
159
160
 
@@ -161,7 +162,7 @@ namespace TapSDK.RelationLite
161
162
 
162
163
  public void GetFansList(string nextPageToken, ITapTapRelationLiteRequestCallback callback)
163
164
  {
164
- Debug.Log($"TapTapRelationLite GetFansList with nextPageToken: {nextPageToken}");
165
+ TapLog.Log($"TapTapRelationLite GetFansList with nextPageToken: {nextPageToken}");
165
166
 
166
167
  EngineBridge.GetInstance().CallHandler(new Command.Builder()
167
168
  .Service(SERVICE_NAME)
@@ -197,7 +198,7 @@ namespace TapSDK.RelationLite
197
198
  catch (Exception e)
198
199
  {
199
200
  callback.OnFansListResult("", new List<RelationLiteUserItem>());
200
- Debug.LogError($"GetFansList parse result error: {e.Message}");
201
+ TapLog.Error($"GetFansList parse result error: {e.Message}");
201
202
  }
202
203
  });
203
204
 
@@ -205,7 +206,7 @@ namespace TapSDK.RelationLite
205
206
 
206
207
  public void SyncRelationshipWithOpenId(int action, string nickname, string friendNickname, string friendOpenId, ITapTapRelationLiteRequestCallback callback)
207
208
  {
208
- Debug.Log($"TapTapRelationLite SyncRelationshipWithOpenId with action: {action}, nickname: {nickname}, friendNickname: {friendNickname}, friendOpenId: {friendOpenId}");
209
+ TapLog.Log($"TapTapRelationLite SyncRelationshipWithOpenId with action: {action}, nickname: {nickname}, friendNickname: {friendNickname}, friendOpenId: {friendOpenId}");
209
210
 
210
211
  EngineBridge.GetInstance().CallHandler(new Command.Builder()
211
212
  .Service(SERVICE_NAME)
@@ -251,7 +252,7 @@ namespace TapSDK.RelationLite
251
252
  catch (Exception e)
252
253
  {
253
254
  callback.OnSyncRelationshipFail(e.Message, "", "");
254
- Debug.LogError($"SyncRelationshipWithOpenId parse result error: {e.Message}");
255
+ TapLog.Error($"SyncRelationshipWithOpenId parse result error: {e.Message}");
255
256
  }
256
257
  });
257
258
 
@@ -259,7 +260,7 @@ namespace TapSDK.RelationLite
259
260
 
260
261
  public void SyncRelationshipWithUnionId(int action, string nickname, string friendNickname, string friendUnionId, ITapTapRelationLiteRequestCallback callback)
261
262
  {
262
- Debug.Log($"TapTapRelationLite SyncRelationshipWithUnionId with action: {action}, nickname: {nickname}, friendNickname: {friendNickname}, friendUnionId: {friendUnionId}");
263
+ TapLog.Log($"TapTapRelationLite SyncRelationshipWithUnionId with action: {action}, nickname: {nickname}, friendNickname: {friendNickname}, friendUnionId: {friendUnionId}");
263
264
 
264
265
  EngineBridge.GetInstance().CallHandler(new Command.Builder()
265
266
  .Service(SERVICE_NAME)
@@ -305,7 +306,7 @@ namespace TapSDK.RelationLite
305
306
  catch (Exception e)
306
307
  {
307
308
  callback.OnSyncRelationshipFail(e.Message, "", "");
308
- Debug.LogError($"SyncRelationshipWithOpenId parse result error: {e.Message}");
309
+ TapLog.Error($"SyncRelationshipWithOpenId parse result error: {e.Message}");
309
310
  }
310
311
  });
311
312
 
@@ -313,7 +314,7 @@ namespace TapSDK.RelationLite
313
314
 
314
315
  public void ShowTapUserProfile(string openId, string unionId)
315
316
  {
316
- Debug.Log($"TapTapRelationLite ShowTapUserProfile with openId: {openId}, unionId: {unionId}");
317
+ TapLog.Log($"TapTapRelationLite ShowTapUserProfile with openId: {openId}, unionId: {unionId}");
317
318
 
318
319
  EngineBridge.GetInstance().CallHandler(new Command.Builder()
319
320
  .Service(SERVICE_NAME)
@@ -332,7 +333,7 @@ namespace TapSDK.RelationLite
332
333
  if (!callbacks.Contains(callback))
333
334
  {
334
335
  callbacks.Add(callback);
335
- Debug.Log("TapTapRelationLite RegisterRelationLiteCallback");
336
+ TapLog.Log("TapTapRelationLite RegisterRelationLiteCallback");
336
337
  }
337
338
  }
338
339
 
@@ -357,10 +358,10 @@ namespace TapSDK.RelationLite
357
358
  {
358
359
  return;
359
360
  }
360
- Debug.Log("TapSdk4UnityDemo -->> Bridge Callback == " + JsonConvert.SerializeObject(result));
361
+ TapLog.Log("TapSdk4UnityDemo -->> Bridge Callback == " + JsonConvert.SerializeObject(result));
361
362
 
362
363
  });
363
- Debug.Log("TapTapRelationLite UnregisterRelationLiteCallback");
364
+ TapLog.Log("TapTapRelationLite UnregisterRelationLiteCallback");
364
365
  }
365
366
  }
366
367
 
@@ -388,7 +389,7 @@ namespace TapSDK.RelationLite
388
389
  {
389
390
  return;
390
391
  }
391
- Debug.Log("TapSdk4UnityDemo -->> Bridge Callback == " + JsonConvert.SerializeObject(result));
392
+ TapLog.Log("TapSdk4UnityDemo -->> Bridge Callback == " + JsonConvert.SerializeObject(result));
392
393
  var dic = Json.Deserialize(result.content) as Dictionary<string, object>;
393
394
  var code = SafeDictionary.GetValue<int>(dic, "relation_lite_result_code");
394
395
 
@@ -399,7 +400,7 @@ namespace TapSDK.RelationLite
399
400
 
400
401
  });
401
402
 
402
- Debug.Log("TapTapRelationLite InitRegisterCallBack");
403
+ TapLog.Log("TapTapRelationLite InitRegisterCallBack");
403
404
  }
404
405
  }
405
406
  }
@@ -77,6 +77,6 @@ namespace TapSDK.RelationLite
77
77
  TapTapRelationLiteManager.Instance.UnregisterRelationLiteCallback(callback);
78
78
  }
79
79
 
80
- public static readonly string Version = "4.8.0-beta.1";
80
+ public static readonly string Version = "4.8.1-beta.1";
81
81
  }
82
82
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
- "name": "com.taptap.sdk.relationlite",
3
- "displayName": "TapTapSDK RelationLite",
4
- "description": "TapTapSDK RelationLite",
5
- "version": "4.8.0-beta.1",
6
- "unity": "2019.4",
7
- "license": "MIT",
8
- "dependencies": {
9
- "com.taptap.sdk.core": "4.8.0-beta.1",
10
- "com.taptap.sdk.login": "4.8.0-beta.1"
11
- }
2
+ "name": "com.taptap.sdk.relationlite",
3
+ "displayName": "TapTapSDK RelationLite",
4
+ "description": "TapTapSDK RelationLite",
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
  }