com.taptap.sdk.relation 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-unity:4.6.
|
|
7
|
+
<androidPackage spec="com.taptap.sdk:tap-relation-unity:4.6.3"/>
|
|
8
8
|
</androidPackages>
|
|
9
9
|
</dependencies>
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "TapSDK.Relation.Mobile.Runtime",
|
|
3
3
|
"references": [
|
|
4
|
-
"GUID:5f5654759b7534ddebacbe2e8ef8a8da",
|
|
5
4
|
"GUID:7d5ef2062f3704e1ab74aac0e4d5a1a7",
|
|
6
5
|
"GUID:10560023d8780423cb943c7a324b69f2",
|
|
7
6
|
"GUID:6f33d8db82c9445088544f91d41e65a2"
|
|
8
7
|
],
|
|
9
8
|
"includePlatforms": [
|
|
10
|
-
"Android"
|
|
11
|
-
"iOS"
|
|
9
|
+
"Android"
|
|
12
10
|
],
|
|
13
11
|
"excludePlatforms": [],
|
|
14
12
|
"allowUnsafeCode": false,
|
|
@@ -11,7 +11,6 @@ namespace TapSDK.Relation.Internal
|
|
|
11
11
|
|
|
12
12
|
private TapTapRelationManager()
|
|
13
13
|
{
|
|
14
|
-
|
|
15
14
|
platformWrapper = BridgeUtils.CreateBridgeImplementation(typeof(ITapTapRelation),
|
|
16
15
|
"TapSDK.Relation") as ITapTapRelation;
|
|
17
16
|
}
|
|
@@ -30,62 +29,62 @@ namespace TapSDK.Relation.Internal
|
|
|
30
29
|
|
|
31
30
|
public void Init(string clientId, TapTapRegionType regionType, int screenOrientation)
|
|
32
31
|
{
|
|
33
|
-
platformWrapper
|
|
32
|
+
platformWrapper?.Init(clientId, regionType, screenOrientation);
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
public void SetOrientation(int orientation)
|
|
37
36
|
{
|
|
38
|
-
platformWrapper
|
|
37
|
+
platformWrapper?.SetOrientation(orientation);
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
public void StartMessenger()
|
|
42
41
|
{
|
|
43
|
-
platformWrapper
|
|
42
|
+
platformWrapper?.StartMessenger();
|
|
44
43
|
}
|
|
45
44
|
|
|
46
45
|
public void Prepare()
|
|
47
46
|
{
|
|
48
|
-
platformWrapper
|
|
47
|
+
platformWrapper?.Prepare();
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
public void InviteGame()
|
|
52
51
|
{
|
|
53
|
-
platformWrapper
|
|
52
|
+
platformWrapper?.InviteGame();
|
|
54
53
|
}
|
|
55
54
|
|
|
56
55
|
public void InviteTeam(string teamId)
|
|
57
56
|
{
|
|
58
|
-
platformWrapper
|
|
57
|
+
platformWrapper?.InviteTeam(teamId);
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
public void ShowTapUserProfile(string openId, string unionId)
|
|
62
61
|
{
|
|
63
|
-
platformWrapper
|
|
62
|
+
platformWrapper?.ShowTapUserProfile(openId, unionId);
|
|
64
63
|
}
|
|
65
64
|
|
|
66
65
|
public void GetNewFansCount(Action<int> callback)
|
|
67
66
|
{
|
|
68
|
-
platformWrapper
|
|
67
|
+
platformWrapper?.GetNewFansCount(callback);
|
|
69
68
|
}
|
|
70
69
|
|
|
71
70
|
public void GetUnreadMessageCount(Action<int> callback)
|
|
72
71
|
{
|
|
73
|
-
platformWrapper
|
|
72
|
+
platformWrapper?.GetUnreadMessageCount(callback);
|
|
74
73
|
}
|
|
75
74
|
|
|
76
75
|
public void RegisterRelationCallback(ITapTapRelationCallback callback)
|
|
77
76
|
{
|
|
78
|
-
platformWrapper
|
|
77
|
+
platformWrapper?.RegisterRelationCallback(callback);
|
|
79
78
|
}
|
|
80
79
|
|
|
81
80
|
public void UnregisterRelationCallback(ITapTapRelationCallback callback)
|
|
82
81
|
{
|
|
83
|
-
platformWrapper
|
|
82
|
+
platformWrapper?.UnregisterRelationCallback(callback);
|
|
84
83
|
}
|
|
85
84
|
|
|
86
85
|
public void Destroy()
|
|
87
86
|
{
|
|
88
|
-
platformWrapper
|
|
87
|
+
platformWrapper?.Destroy();
|
|
89
88
|
}
|
|
90
89
|
}
|
|
91
90
|
|
package/package.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"name": "com.taptap.sdk.relation",
|
|
3
3
|
"displayName": "TapTapSDK Relation",
|
|
4
4
|
"description": "TapTapSDK Relation",
|
|
5
|
-
"version": "4.6.
|
|
5
|
+
"version": "4.6.3",
|
|
6
6
|
"unity": "2019.4",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"com.taptap.sdk.core": "4.6.
|
|
10
|
-
"com.taptap.sdk.login": "4.6.
|
|
9
|
+
"com.taptap.sdk.core": "4.6.3",
|
|
10
|
+
"com.taptap.sdk.login": "4.6.3"
|
|
11
11
|
}
|
|
12
12
|
}
|