com.taptap.sdk.relation 4.6.0-beta.1 → 4.6.1-alpha.13
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.
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
<androidPackages>
|
|
4
4
|
<repositories>
|
|
5
5
|
<repository>https://repo.maven.apache.org/maven2</repository>
|
|
6
|
+
<repository>https://nexus.xmxdev.com/repository/maven-public</repository>
|
|
6
7
|
</repositories>
|
|
7
|
-
<androidPackage spec="com.taptap.sdk:tap-relation-unity:4.6.
|
|
8
|
+
<androidPackage spec="com.taptap.sdk:tap-relation-unity:4.6.1-alpha.13"/>
|
|
8
9
|
</androidPackages>
|
|
9
10
|
</dependencies>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
using TapSDK.Core;
|
|
2
2
|
using TapSDK.Core.Internal.Init;
|
|
3
|
-
using UnityEngine;
|
|
4
3
|
|
|
5
4
|
namespace TapSDK.Relation.Internal.Init {
|
|
6
5
|
public class RelationInitTask : IInitTask {
|
|
@@ -8,7 +7,6 @@ namespace TapSDK.Relation.Internal.Init {
|
|
|
8
7
|
|
|
9
8
|
public void Init(TapTapSdkOptions coreOption, TapTapSdkBaseOptions[] otherOptions)
|
|
10
9
|
{
|
|
11
|
-
Debug.LogWarningFormat("[TapSDK-init]Relation task init: " + "clientId=" + coreOption.clientId + ", region=" + coreOption.region + ", screenOrientation=" + coreOption.screenOrientation);
|
|
12
10
|
TapTapRelationManager.Instance.Init(coreOption.clientId, coreOption.region, coreOption.screenOrientation);
|
|
13
11
|
}
|
|
14
12
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
using System;
|
|
2
2
|
using TapSDK.Core;
|
|
3
3
|
using TapSDK.Core.Internal.Utils;
|
|
4
|
-
using UnityEngine;
|
|
5
4
|
|
|
6
5
|
namespace TapSDK.Relation.Internal
|
|
7
6
|
{
|
|
@@ -12,10 +11,9 @@ namespace TapSDK.Relation.Internal
|
|
|
12
11
|
|
|
13
12
|
private TapTapRelationManager()
|
|
14
13
|
{
|
|
15
|
-
|
|
14
|
+
|
|
16
15
|
platformWrapper = BridgeUtils.CreateBridgeImplementation(typeof(ITapTapRelation),
|
|
17
16
|
"TapSDK.Relation") as ITapTapRelation;
|
|
18
|
-
Debug.LogWarningFormat("[TapSDK-init]created TapTapRelationManager: " + platformWrapper);
|
|
19
17
|
}
|
|
20
18
|
|
|
21
19
|
public static TapTapRelationManager Instance
|
|
@@ -32,14 +30,6 @@ namespace TapSDK.Relation.Internal
|
|
|
32
30
|
|
|
33
31
|
public void Init(string clientId, TapTapRegionType regionType, int screenOrientation)
|
|
34
32
|
{
|
|
35
|
-
if (platformWrapper == null)
|
|
36
|
-
{
|
|
37
|
-
Debug.LogErrorFormat("[TapSDK-init]relation platformWrapper is null");
|
|
38
|
-
}
|
|
39
|
-
else
|
|
40
|
-
{
|
|
41
|
-
Debug.LogErrorFormat("[TapSDK-init]relation platformWrapper is not null");
|
|
42
|
-
}
|
|
43
33
|
platformWrapper.Init(clientId, regionType, screenOrientation);
|
|
44
34
|
}
|
|
45
35
|
|
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.1-alpha.13",
|
|
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.1-alpha.13",
|
|
10
|
+
"com.taptap.sdk.login": "4.6.1-alpha.13"
|
|
11
11
|
}
|
|
12
12
|
}
|