com.taptap.sdk.relation 4.6.1-beta.9 → 4.6.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.
- package/Mobile/Editor/NativeDependencies.xml +1 -1
- package/Mobile/Editor/TapRelationMobileProcessBuild.cs +20 -24
- package/Mobile/Editor/{TapSDK.Relation.Mobile.Editor.asmdef → TapTap.Relation.Mobile.Editor.asmdef} +1 -1
- package/Mobile/Editor/{TapSDK.Relation.Mobile.Editor.asmdef.meta → TapTap.Relation.Mobile.Editor.asmdef.meta} +2 -2
- package/Runtime/Internal/TapTapRelationManager.cs +4 -1
- package/Runtime/Public/TapTapRelation.cs +1 -1
- package/package.json +3 -3
|
@@ -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.1
|
|
7
|
+
<androidPackage spec="com.taptap.sdk:tap-relation-unity:4.6.1"/>
|
|
8
8
|
</androidPackages>
|
|
9
9
|
</dependencies>
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
using UnityEditor.Build.Reporting;
|
|
3
|
-
using TapSDK.Core.Editor;
|
|
4
|
-
|
|
5
|
-
namespace
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
public override
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return BuildTargetUtils.IsSupportMobile(report.summary.platform);
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
using System;
|
|
2
|
+
using UnityEditor.Build.Reporting;
|
|
3
|
+
using TapSDK.Core.Editor;
|
|
4
|
+
|
|
5
|
+
namespace TapTap.Relation.Mobile.Editor {
|
|
6
|
+
public class TapRelationMobileProcessBuild : SDKLinkProcessBuild {
|
|
7
|
+
public override int callbackOrder => 0;
|
|
8
|
+
|
|
9
|
+
public override string LinkPath => "TapSDK/Relation/link.xml";
|
|
10
|
+
|
|
11
|
+
public override LinkedAssembly[] LinkedAssemblies => new LinkedAssembly[] {
|
|
12
|
+
new LinkedAssembly { Fullname = "TapTap.Relation.Runtime" },
|
|
13
|
+
new LinkedAssembly { Fullname = "TapTap.Relation.Mobile.Runtime" }
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
public override Func<BuildReport, bool> IsTargetPlatform => (report) => {
|
|
17
|
+
return BuildTargetUtils.IsSupportMobile(report.summary.platform);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -28,7 +28,10 @@ namespace TapSDK.Relation.Internal
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
public void Init(string clientId, TapTapRegionType regionType, int screenOrientation)
|
|
31
|
+
public void Init(string clientId, TapTapRegionType regionType, int screenOrientation)
|
|
32
|
+
{
|
|
33
|
+
platformWrapper.Init(clientId, regionType, screenOrientation);
|
|
34
|
+
}
|
|
32
35
|
|
|
33
36
|
public void SetOrientation(int orientation)
|
|
34
37
|
{
|
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.1
|
|
5
|
+
"version": "4.6.1",
|
|
6
6
|
"unity": "2019.4",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"com.taptap.sdk.core": "4.6.1
|
|
10
|
-
"com.taptap.sdk.login": "4.6.1
|
|
9
|
+
"com.taptap.sdk.core": "4.6.1",
|
|
10
|
+
"com.taptap.sdk.login": "4.6.1"
|
|
11
11
|
}
|
|
12
12
|
}
|