com.taptap.sdk.relation 4.10.1-beta.1 → 4.10.2
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/BuidPostProcessor.cs +58 -58
- package/Mobile/Editor/BuidPostProcessor.cs.meta +11 -11
- package/Mobile/Editor/NativeDependencies.xml +14 -14
- package/Mobile/Editor/NativeDependencies.xml.meta +7 -7
- package/Mobile/Editor/TapRelationMobileProcessBuild.cs.meta +11 -11
- package/Mobile/Editor/TapTap.Relation.Mobile.Editor.asmdef +16 -16
- package/Mobile/Editor/TapTap.Relation.Mobile.Editor.asmdef.meta +7 -7
- package/Mobile/Editor.meta +2 -2
- package/Mobile/Runtime/TapSDK.Relation.Mobile.Runtime.asmdef +19 -19
- package/Mobile/Runtime/TapSDK.Relation.Mobile.Runtime.asmdef.meta +7 -7
- package/Mobile/Runtime/TapTapRelationImpl.cs +240 -240
- package/Mobile/Runtime/TapTapRelationImpl.cs.meta +11 -11
- package/Mobile/Runtime.meta +8 -8
- package/Mobile.meta +8 -8
- package/Runtime/Internal/Init/RelationInitTask.cs +17 -17
- package/Runtime/Internal/Init/RelationInitTask.cs.meta +11 -11
- package/Runtime/Internal/Init.meta +8 -8
- package/Runtime/Internal/TapTapRelationManager.cs +85 -85
- package/Runtime/Internal/TapTapRelationManager.cs.meta +11 -11
- package/Runtime/Internal.meta +8 -8
- package/Runtime/Public/DisplayInfo.cs +21 -21
- package/Runtime/Public/DisplayInfo.cs.meta +11 -11
- package/Runtime/Public/ITapTapRelation.cs +29 -29
- package/Runtime/Public/ITapTapRelation.cs.meta +11 -11
- package/Runtime/Public/ITapTapRelationCallback.cs +10 -10
- package/Runtime/Public/ITapTapRelationCallback.cs.meta +11 -11
- package/Runtime/Public/TapTapRelation.cs +78 -78
- package/Runtime/Public/TapTapRelation.cs.meta +11 -11
- package/Runtime/Public.meta +8 -8
- package/Runtime/TapSDK.Relation.Runtime.asmdef +14 -14
- package/Runtime/TapSDK.Relation.Runtime.asmdef.meta +7 -7
- package/Runtime.meta +8 -8
- package/link.xml +3 -3
- package/link.xml.meta +7 -7
- package/package.json +11 -11
- package/package.json.meta +7 -7
|
@@ -1,58 +1,58 @@
|
|
|
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
|
-
{
|
|
38
|
-
UnityEngine.Debug.Log("TapRelation add Bundle Success!");
|
|
39
|
-
}
|
|
40
|
-
if (TapSDKCoreCompile.HandlerIOSSetting(path,
|
|
41
|
-
Application.dataPath,
|
|
42
|
-
"TapTapProfileResource",
|
|
43
|
-
"com.taptap.sdk.profile",
|
|
44
|
-
"Profile",
|
|
45
|
-
new[] { "TapTapProfileResource.bundle" },
|
|
46
|
-
target, projPath, proj))
|
|
47
|
-
{
|
|
48
|
-
UnityEngine.Debug.Log("TapProfile add Bundle Success!");
|
|
49
|
-
TapSDKCoreCompile.ExecutePodCommand("pod deintegrate && pod install", path);
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
UnityEngine.Debug.LogWarning("TapRelation add Bundle Failed!");
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
#endif
|
|
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
|
+
{
|
|
38
|
+
UnityEngine.Debug.Log("TapRelation add Bundle Success!");
|
|
39
|
+
}
|
|
40
|
+
if (TapSDKCoreCompile.HandlerIOSSetting(path,
|
|
41
|
+
Application.dataPath,
|
|
42
|
+
"TapTapProfileResource",
|
|
43
|
+
"com.taptap.sdk.profile",
|
|
44
|
+
"Profile",
|
|
45
|
+
new[] { "TapTapProfileResource.bundle" },
|
|
46
|
+
target, projPath, proj))
|
|
47
|
+
{
|
|
48
|
+
UnityEngine.Debug.Log("TapProfile add Bundle Success!");
|
|
49
|
+
TapSDKCoreCompile.ExecutePodCommand("pod deintegrate && pod install", path);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
UnityEngine.Debug.LogWarning("TapRelation add Bundle Failed!");
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
#endif
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 1284e1e45a0b345e1addad236f8b6759
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 1284e1e45a0b345e1addad236f8b6759
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
2
|
-
<dependencies>
|
|
3
|
-
<androidPackages>
|
|
4
|
-
<repositories>
|
|
5
|
-
<repository>https://repo.maven.apache.org/maven2</repository>
|
|
6
|
-
</repositories>
|
|
7
|
-
<androidPackage spec="com.taptap.sdk:tap-relation-unity:4.10.
|
|
8
|
-
</androidPackages>
|
|
9
|
-
<iosPods>
|
|
10
|
-
<sources>
|
|
11
|
-
<source>https://github.com/CocoaPods/Specs.git</source>
|
|
12
|
-
</sources>
|
|
13
|
-
<iosPod addToAllTargets="false" bitcodeEnabled="false" name="TapTapSDK/Relation" version="4.10.
|
|
14
|
-
</iosPods>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
2
|
+
<dependencies>
|
|
3
|
+
<androidPackages>
|
|
4
|
+
<repositories>
|
|
5
|
+
<repository>https://repo.maven.apache.org/maven2</repository>
|
|
6
|
+
</repositories>
|
|
7
|
+
<androidPackage spec="com.taptap.sdk:tap-relation-unity:4.10.2" />
|
|
8
|
+
</androidPackages>
|
|
9
|
+
<iosPods>
|
|
10
|
+
<sources>
|
|
11
|
+
<source>https://github.com/CocoaPods/Specs.git</source>
|
|
12
|
+
</sources>
|
|
13
|
+
<iosPod addToAllTargets="false" bitcodeEnabled="false" name="TapTapSDK/Relation" version="4.10.2" />
|
|
14
|
+
</iosPods>
|
|
15
15
|
</dependencies>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 3eca0b5c93d104b338bca395c0eaefd2
|
|
3
|
-
TextScriptImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 3eca0b5c93d104b338bca395c0eaefd2
|
|
3
|
+
TextScriptImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 4ed2c9fc2df7b4865a2131a6655ba11b
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 4ed2c9fc2df7b4865a2131a6655ba11b
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "TapSDK.Relation.Mobile.Editor",
|
|
3
|
-
"references": [
|
|
4
|
-
"GUID:56f3da7a178484843974054bafe77e73"
|
|
5
|
-
],
|
|
6
|
-
"includePlatforms": [
|
|
7
|
-
"Editor"
|
|
8
|
-
],
|
|
9
|
-
"excludePlatforms": [],
|
|
10
|
-
"allowUnsafeCode": false,
|
|
11
|
-
"overrideReferences": false,
|
|
12
|
-
"precompiledReferences": [],
|
|
13
|
-
"autoReferenced": true,
|
|
14
|
-
"defineConstraints": [],
|
|
15
|
-
"versionDefines": [],
|
|
16
|
-
"noEngineReferences": false
|
|
1
|
+
{
|
|
2
|
+
"name": "TapSDK.Relation.Mobile.Editor",
|
|
3
|
+
"references": [
|
|
4
|
+
"GUID:56f3da7a178484843974054bafe77e73"
|
|
5
|
+
],
|
|
6
|
+
"includePlatforms": [
|
|
7
|
+
"Editor"
|
|
8
|
+
],
|
|
9
|
+
"excludePlatforms": [],
|
|
10
|
+
"allowUnsafeCode": false,
|
|
11
|
+
"overrideReferences": false,
|
|
12
|
+
"precompiledReferences": [],
|
|
13
|
+
"autoReferenced": true,
|
|
14
|
+
"defineConstraints": [],
|
|
15
|
+
"versionDefines": [],
|
|
16
|
+
"noEngineReferences": false
|
|
17
17
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: ab71e1682bc974d019c8ebc91b326bfa
|
|
3
|
-
AssemblyDefinitionImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: ab71e1682bc974d019c8ebc91b326bfa
|
|
3
|
+
AssemblyDefinitionImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|
package/Mobile/Editor.meta
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: a88f8c2e692994f8f8e6f33b41b15878
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: a88f8c2e692994f8f8e6f33b41b15878
|
|
3
3
|
timeCreated: 1617120910
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "TapSDK.Relation.Mobile.Runtime",
|
|
3
|
-
"references": [
|
|
4
|
-
"GUID:7d5ef2062f3704e1ab74aac0e4d5a1a7",
|
|
5
|
-
"GUID:10560023d8780423cb943c7a324b69f2",
|
|
6
|
-
"GUID:6f33d8db82c9445088544f91d41e65a2"
|
|
7
|
-
],
|
|
8
|
-
"includePlatforms": [
|
|
9
|
-
"Android",
|
|
10
|
-
"iOS"
|
|
11
|
-
],
|
|
12
|
-
"excludePlatforms": [],
|
|
13
|
-
"allowUnsafeCode": false,
|
|
14
|
-
"overrideReferences": false,
|
|
15
|
-
"precompiledReferences": [],
|
|
16
|
-
"autoReferenced": true,
|
|
17
|
-
"defineConstraints": [],
|
|
18
|
-
"versionDefines": [],
|
|
19
|
-
"noEngineReferences": false
|
|
1
|
+
{
|
|
2
|
+
"name": "TapSDK.Relation.Mobile.Runtime",
|
|
3
|
+
"references": [
|
|
4
|
+
"GUID:7d5ef2062f3704e1ab74aac0e4d5a1a7",
|
|
5
|
+
"GUID:10560023d8780423cb943c7a324b69f2",
|
|
6
|
+
"GUID:6f33d8db82c9445088544f91d41e65a2"
|
|
7
|
+
],
|
|
8
|
+
"includePlatforms": [
|
|
9
|
+
"Android",
|
|
10
|
+
"iOS"
|
|
11
|
+
],
|
|
12
|
+
"excludePlatforms": [],
|
|
13
|
+
"allowUnsafeCode": false,
|
|
14
|
+
"overrideReferences": false,
|
|
15
|
+
"precompiledReferences": [],
|
|
16
|
+
"autoReferenced": true,
|
|
17
|
+
"defineConstraints": [],
|
|
18
|
+
"versionDefines": [],
|
|
19
|
+
"noEngineReferences": false
|
|
20
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 9e8665d26856d4482bb93c156b97c238
|
|
3
|
-
AssemblyDefinitionImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 9e8665d26856d4482bb93c156b97c238
|
|
3
|
+
AssemblyDefinitionImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|