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
@@ -0,0 +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:
@@ -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.1-beta.7"/>
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>
@@ -6,7 +6,8 @@
6
6
  "GUID:6f33d8db82c9445088544f91d41e65a2"
7
7
  ],
8
8
  "includePlatforms": [
9
- "Android"
9
+ "Android",
10
+ "iOS"
10
11
  ],
11
12
  "excludePlatforms": [],
12
13
  "allowUnsafeCode": false,
@@ -71,7 +71,7 @@ namespace TapSDK.Relation
71
71
  }
72
72
 
73
73
 
74
- public static readonly string Version = "4.8.1";
74
+ public static readonly string Version = "4.8.3";
75
75
 
76
76
 
77
77
  }
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.1",
5
+ "version": "4.8.3",
6
6
  "unity": "2019.4",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "com.taptap.sdk.core": "4.8.1",
10
- "com.taptap.sdk.login": "4.8.1"
9
+ "com.taptap.sdk.core": "4.8.3",
10
+ "com.taptap.sdk.login": "4.8.3"
11
11
  }
12
12
  }