com.taptap.sdk.relationlite 4.6.2 → 4.6.3

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.6.2"/>
7
+ <androidPackage spec="com.taptap.sdk:tap-relation-lite-unity:4.6.3"/>
8
8
  </androidPackages>
9
9
  </dependencies>
@@ -7,8 +7,7 @@
7
7
  "GUID:6f33d8db82c9445088544f91d41e65a2"
8
8
  ],
9
9
  "includePlatforms": [
10
- "Android",
11
- "iOS"
10
+ "Android"
12
11
  ],
13
12
  "excludePlatforms": [],
14
13
  "allowUnsafeCode": false,
@@ -20,4 +19,4 @@
20
19
  "defineConstraints": [],
21
20
  "versionDefines": [],
22
21
  "noEngineReferences": false
23
- }
22
+ }
@@ -33,52 +33,52 @@ namespace TapSDK.RelationLite.Internal
33
33
 
34
34
  public void Init(string clientId, TapTapRegionType regionType)
35
35
  {
36
- _impl.Init(clientId, regionType);
36
+ _impl?.Init(clientId, regionType);
37
37
  }
38
38
 
39
39
  public void SetOrientation(int orientation)
40
40
  {
41
- _impl.SetOrientation(orientation);
41
+ _impl?.SetOrientation(orientation);
42
42
  }
43
43
 
44
44
  public void InviteGame()
45
45
  {
46
- _impl.InviteGame();
46
+ _impl?.InviteGame();
47
47
  }
48
48
 
49
49
  public void InviteTeam(string teamId)
50
50
  {
51
- _impl.InviteTeam(teamId);
51
+ _impl?.InviteTeam(teamId);
52
52
  }
53
53
 
54
54
  public void GetFriendsList(string nextPageToken, ITapTapRelationLiteRequestCallback callback)
55
55
  {
56
- _impl.GetFriendsList(nextPageToken, callback);
56
+ _impl?.GetFriendsList(nextPageToken, callback);
57
57
  }
58
58
 
59
59
  public void GetFollowingList(string nextPageToken, ITapTapRelationLiteRequestCallback callback)
60
60
  {
61
- _impl.GetFollowingList(nextPageToken, callback);
61
+ _impl?.GetFollowingList(nextPageToken, callback);
62
62
  }
63
63
 
64
64
  public void GetFansList(string nextPageToken, ITapTapRelationLiteRequestCallback callback)
65
65
  {
66
- _impl.GetFansList(nextPageToken, callback);
66
+ _impl?.GetFansList(nextPageToken, callback);
67
67
  }
68
68
 
69
69
  public void SyncRelationshipWithOpenId(int action, string nickname, string friendNickname, string friendOpenId, ITapTapRelationLiteRequestCallback callback)
70
70
  {
71
- _impl.SyncRelationshipWithOpenId(action, nickname, friendNickname, friendOpenId, callback);
71
+ _impl?.SyncRelationshipWithOpenId(action, nickname, friendNickname, friendOpenId, callback);
72
72
  }
73
73
 
74
74
  public void SyncRelationshipWithUnionId(int action, string nickname, string friendNickname, string friendUnionId, ITapTapRelationLiteRequestCallback callback)
75
75
  {
76
- _impl.SyncRelationshipWithUnionId(action, nickname, friendNickname, friendUnionId, callback);
76
+ _impl?.SyncRelationshipWithUnionId(action, nickname, friendNickname, friendUnionId, callback);
77
77
  }
78
78
 
79
79
  public void ShowTapUserProfile(string openId, string unionId)
80
80
  {
81
- _impl.ShowTapUserProfile(openId, unionId);
81
+ _impl?.ShowTapUserProfile(openId, unionId);
82
82
  }
83
83
 
84
84
 
@@ -87,7 +87,7 @@ namespace TapSDK.RelationLite.Internal
87
87
  if (callback != null && !_relationCallbacks.Contains(callback))
88
88
  {
89
89
  _relationCallbacks.Add(callback);
90
- _impl.RegisterRelationLiteCallback(callback);
90
+ _impl?.RegisterRelationLiteCallback(callback);
91
91
  }
92
92
  }
93
93
 
@@ -96,7 +96,7 @@ namespace TapSDK.RelationLite.Internal
96
96
  if (callback != null && _relationCallbacks.Contains(callback))
97
97
  {
98
98
  _relationCallbacks.Remove(callback);
99
- _impl.UnregisterRelationLiteCallback(callback);
99
+ _impl?.UnregisterRelationLiteCallback(callback);
100
100
  }
101
101
  }
102
102
  }
@@ -77,6 +77,6 @@ namespace TapSDK.RelationLite
77
77
  TapTapRelationLiteManager.Instance.UnregisterRelationLiteCallback(callback);
78
78
  }
79
79
 
80
- public static readonly string Version = "4.6.2";
80
+ public static readonly string Version = "4.6.3";
81
81
  }
82
82
  }
@@ -12,4 +12,4 @@
12
12
  "defineConstraints": [],
13
13
  "versionDefines": [],
14
14
  "noEngineReferences": false
15
- }
15
+ }
package/package.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "name": "com.taptap.sdk.relationlite",
3
3
  "displayName": "TapTapSDK RelationLite",
4
4
  "description": "TapTapSDK RelationLite",
5
- "version": "4.6.2",
5
+ "version": "4.6.3",
6
6
  "unity": "2019.4",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "com.taptap.sdk.core": "4.6.2",
10
- "com.taptap.sdk.login": "4.6.2"
9
+ "com.taptap.sdk.core": "4.6.3",
10
+ "com.taptap.sdk.login": "4.6.3"
11
11
  }
12
12
  }