com.taptap.sdk.relation 4.8.1 → 4.8.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.
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
using UnityEngine;
|
|
2
|
+
using UnityEditor;
|
|
3
|
+
using UnityEditor.Callbacks;
|
|
4
|
+
# if UNITY_IOS
|
|
5
|
+
using UnityEditor.iOS.Xcode;
|
|
6
|
+
#endif
|
|
7
|
+
using System.IO;
|
|
8
|
+
using System.Collections.Generic;
|
|
9
|
+
using System.Linq;
|
|
10
|
+
using TapSDK.Core.Editor;
|
|
11
|
+
using System.Diagnostics;
|
|
12
|
+
|
|
13
|
+
#if UNITY_IOS
|
|
14
|
+
public class BuildPostProcessor
|
|
15
|
+
{
|
|
16
|
+
[PostProcessBuild(999)]
|
|
17
|
+
public static void OnPostProcessBuild(BuildTarget buildTarget, string path)
|
|
18
|
+
{
|
|
19
|
+
if (buildTarget == BuildTarget.iOS)
|
|
20
|
+
{
|
|
21
|
+
var projPath = TapSDKCoreCompile.GetProjPath(path);
|
|
22
|
+
var proj = TapSDKCoreCompile.ParseProjPath(projPath);
|
|
23
|
+
var target = TapSDKCoreCompile.GetUnityTarget(proj);
|
|
24
|
+
|
|
25
|
+
if (TapSDKCoreCompile.CheckTarget(target))
|
|
26
|
+
{
|
|
27
|
+
UnityEngine.Debug.LogError("Unity-iPhone is NUll");
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
if (TapSDKCoreCompile.HandlerIOSSetting(path,
|
|
31
|
+
Application.dataPath,
|
|
32
|
+
"TapTapRelationResource",
|
|
33
|
+
"com.taptap.sdk.relation",
|
|
34
|
+
"Relation",
|
|
35
|
+
new[] { "TapTapRelationResource.bundle" },
|
|
36
|
+
target, projPath, proj,
|
|
37
|
+
"TapTapRelationSDK"))
|
|
38
|
+
{
|
|
39
|
+
UnityEngine.Debug.Log("TapRelation add Bundle Success!");
|
|
40
|
+
}
|
|
41
|
+
if (TapSDKCoreCompile.HandlerIOSSetting(path,
|
|
42
|
+
Application.dataPath,
|
|
43
|
+
"TapTapProfileResource",
|
|
44
|
+
"com.taptap.sdk.profile",
|
|
45
|
+
"Profile",
|
|
46
|
+
new[] { "TapTapProfileResource.bundle" },
|
|
47
|
+
target, projPath, proj,
|
|
48
|
+
"TapTapProfileSDK"))
|
|
49
|
+
{
|
|
50
|
+
UnityEngine.Debug.Log("TapProfile add Bundle Success!");
|
|
51
|
+
TapSDKCoreCompile.ExecutePodCommand("pod deintegrate && pod install", path);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
UnityEngine.Debug.LogWarning("TapRelation add Bundle Failed!");
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
}
|
|
60
|
+
#endif
|
|
@@ -4,6 +4,12 @@
|
|
|
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.8.
|
|
7
|
+
<androidPackage spec="com.taptap.sdk:tap-relation-unity:4.8.3"/>
|
|
8
8
|
</androidPackages>
|
|
9
|
+
<iosPods>
|
|
10
|
+
<sources>
|
|
11
|
+
<source>https://github.com/CocoaPods/Specs.git</source>
|
|
12
|
+
</sources>
|
|
13
|
+
<iosPod addToAllTargets="false" bitcodeEnabled="false" name="TapTapRelationSDK" version="4.8.3"/>
|
|
14
|
+
</iosPods>
|
|
9
15
|
</dependencies>
|
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.8.
|
|
5
|
+
"version": "4.8.3",
|
|
6
6
|
"unity": "2019.4",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"com.taptap.sdk.core": "4.8.
|
|
10
|
-
"com.taptap.sdk.login": "4.8.
|
|
9
|
+
"com.taptap.sdk.core": "4.8.3",
|
|
10
|
+
"com.taptap.sdk.login": "4.8.3"
|
|
11
11
|
}
|
|
12
12
|
}
|