com.taptap.sdk.relation 4.6.0-beta.1 → 4.6.1-beta.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.
- package/Mobile/Editor/NativeDependencies.xml +1 -1
- package/Mobile/Editor/TapRelationMobileProcessBuild.cs +2 -2
- package/Mobile/Editor/{TapTap.Relation.Mobile.Editor.asmdef → TapSDK.Relation.Mobile.Editor.asmdef} +1 -1
- package/Runtime/Internal/Init/RelationInitTask.cs +0 -2
- package/Runtime/Internal/TapTapRelationManager.cs +2 -15
- package/Runtime/Public/TapTapRelation.cs +1 -1
- package/link.xml +4 -0
- package/link.xml.meta +7 -0
- package/package.json +3 -3
- /package/Mobile/Editor/{TapTap.Relation.Mobile.Editor.asmdef.meta → TapSDK.Relation.Mobile.Editor.asmdef.meta} +0 -0
|
@@ -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.1-beta.3"/>
|
|
8
8
|
</androidPackages>
|
|
9
9
|
</dependencies>
|
|
@@ -9,8 +9,8 @@ namespace TapTap.Relation.Mobile.Editor {
|
|
|
9
9
|
public override string LinkPath => "TapSDK/Relation/link.xml";
|
|
10
10
|
|
|
11
11
|
public override LinkedAssembly[] LinkedAssemblies => new LinkedAssembly[] {
|
|
12
|
-
new LinkedAssembly { Fullname = "
|
|
13
|
-
new LinkedAssembly { Fullname = "
|
|
12
|
+
new LinkedAssembly { Fullname = "TapSDK.Relation.Runtime" },
|
|
13
|
+
new LinkedAssembly { Fullname = "TapSDK.Relation.Mobile.Runtime" }
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
public override Func<BuildReport, bool> IsTargetPlatform => (report) => {
|
|
@@ -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
|
|
@@ -30,18 +28,7 @@ namespace TapSDK.Relation.Internal
|
|
|
30
28
|
}
|
|
31
29
|
}
|
|
32
30
|
|
|
33
|
-
public void Init(string clientId, TapTapRegionType regionType, int screenOrientation)
|
|
34
|
-
{
|
|
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
|
-
platformWrapper.Init(clientId, regionType, screenOrientation);
|
|
44
|
-
}
|
|
31
|
+
public void Init(string clientId, TapTapRegionType regionType, int screenOrientation) => platformWrapper.Init(clientId, regionType, screenOrientation);
|
|
45
32
|
|
|
46
33
|
public void SetOrientation(int orientation)
|
|
47
34
|
{
|
package/link.xml
ADDED
package/link.xml.meta
ADDED
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-beta.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.1-beta.3",
|
|
10
|
+
"com.taptap.sdk.login": "4.6.1-beta.3"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
File without changes
|