com.taptap.sdk.core 4.8.4-beta.1 → 4.8.4-beta.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/NativeDependencies.xml +3 -3
- package/Mobile/Editor/TapCommonMobileProcessBuild.cs +20 -20
- package/Runtime/Internal/Utils/UrlUtils.cs +33 -33
- package/Runtime/Public/TapTapSDK.cs +1 -1
- package/Runtime/TapSDK.Core.Runtime.asmdef +3 -3
- package/Standalone/Editor/TapCoreStandaloneProcessBuild.cs +19 -19
- package/Standalone/Runtime/Internal/DeviceInfo.cs +136 -136
- package/Standalone/Runtime/Internal/Openlog/TapOpenlogWrapper.cs +2 -0
- package/Standalone/Runtime/TapSDK.Core.Standalone.Runtime.asmdef +0 -1
- package/package.json +6 -9
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
2
2
|
<dependencies>
|
|
3
3
|
<androidPackages>
|
|
4
4
|
<repositories>
|
|
5
5
|
<repository>https://repo.maven.apache.org/maven2</repository>
|
|
6
6
|
</repositories>
|
|
7
|
-
<androidPackage spec="com.taptap.sdk:tap-core-unity:4.8.4"/>
|
|
7
|
+
<androidPackage spec="com.taptap.sdk:tap-core-unity:4.8.4" />
|
|
8
8
|
</androidPackages>
|
|
9
9
|
<iosPods>
|
|
10
10
|
<sources>
|
|
11
11
|
<source>https://github.com/CocoaPods/Specs.git</source>
|
|
12
12
|
</sources>
|
|
13
|
-
<iosPod addToAllTargets="false" bitcodeEnabled="false" name="TapTapSDK/Core" version="4.8.4"/>
|
|
13
|
+
<iosPod addToAllTargets="false" bitcodeEnabled="false" name="TapTapSDK/Core" version="4.8.4" />
|
|
14
14
|
</iosPods>
|
|
15
15
|
</dependencies>
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
using UnityEditor.Build.Reporting;
|
|
3
|
-
using TapSDK.Core.Editor;
|
|
4
|
-
|
|
5
|
-
namespace TapSDK.Core.Mobile.Editor {
|
|
6
|
-
public class TapCommonMobileProcessBuild : SDKLinkProcessBuild {
|
|
7
|
-
public override int callbackOrder => 0;
|
|
8
|
-
|
|
9
|
-
public override string LinkPath => "TapSDK/Core/link.xml";
|
|
10
|
-
|
|
11
|
-
public override LinkedAssembly[] LinkedAssemblies => new LinkedAssembly[] {
|
|
12
|
-
new LinkedAssembly { Fullname = "TapSDK.Core.Runtime" },
|
|
13
|
-
new LinkedAssembly { Fullname = "TapSDK.Core.Mobile.Runtime" }
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
public override Func<BuildReport, bool> IsTargetPlatform => (report) => {
|
|
17
|
-
return BuildTargetUtils.IsSupportMobile(report.summary.platform);
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
using System;
|
|
2
|
+
using UnityEditor.Build.Reporting;
|
|
3
|
+
using TapSDK.Core.Editor;
|
|
4
|
+
|
|
5
|
+
namespace TapSDK.Core.Mobile.Editor {
|
|
6
|
+
public class TapCommonMobileProcessBuild : SDKLinkProcessBuild {
|
|
7
|
+
public override int callbackOrder => 0;
|
|
8
|
+
|
|
9
|
+
public override string LinkPath => "TapSDK/Core/link.xml";
|
|
10
|
+
|
|
11
|
+
public override LinkedAssembly[] LinkedAssemblies => new LinkedAssembly[] {
|
|
12
|
+
new LinkedAssembly { Fullname = "TapSDK.Core.Runtime" },
|
|
13
|
+
new LinkedAssembly { Fullname = "TapSDK.Core.Mobile.Runtime" }
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
public override Func<BuildReport, bool> IsTargetPlatform => (report) => {
|
|
17
|
+
return BuildTargetUtils.IsSupportMobile(report.summary.platform);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
using System.Linq;
|
|
3
|
-
using System.Collections.Specialized;
|
|
4
|
-
|
|
5
|
-
namespace TapSDK.Core.Internal.Utils {
|
|
6
|
-
public class UrlUtils {
|
|
7
|
-
public static NameValueCollection ParseQueryString(string query) {
|
|
8
|
-
NameValueCollection nvc = new NameValueCollection();
|
|
9
|
-
|
|
10
|
-
if (query.StartsWith("?")) {
|
|
11
|
-
query = query.Substring(1);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
foreach (var param in query.Split('&')) {
|
|
15
|
-
string[] pair = param.Split('=');
|
|
16
|
-
if (pair.Length == 2) {
|
|
17
|
-
string key = Uri.UnescapeDataString(pair[0]);
|
|
18
|
-
string value = Uri.UnescapeDataString(pair[1]);
|
|
19
|
-
nvc[key] = value;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return nvc;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
public static string ToQueryString(NameValueCollection nvc) {
|
|
27
|
-
var array = (from key in nvc.AllKeys
|
|
28
|
-
from value in nvc.GetValues(key)
|
|
29
|
-
select $"{Uri.EscapeDataString(key)}={Uri.EscapeDataString(value)}"
|
|
30
|
-
).ToArray();
|
|
31
|
-
return string.Join("&", array);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
1
|
+
using System;
|
|
2
|
+
using System.Linq;
|
|
3
|
+
using System.Collections.Specialized;
|
|
4
|
+
|
|
5
|
+
namespace TapSDK.Core.Internal.Utils {
|
|
6
|
+
public class UrlUtils {
|
|
7
|
+
public static NameValueCollection ParseQueryString(string query) {
|
|
8
|
+
NameValueCollection nvc = new NameValueCollection();
|
|
9
|
+
|
|
10
|
+
if (query.StartsWith("?")) {
|
|
11
|
+
query = query.Substring(1);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
foreach (var param in query.Split('&')) {
|
|
15
|
+
string[] pair = param.Split('=');
|
|
16
|
+
if (pair.Length == 2) {
|
|
17
|
+
string key = Uri.UnescapeDataString(pair[0]);
|
|
18
|
+
string value = Uri.UnescapeDataString(pair[1]);
|
|
19
|
+
nvc[key] = value;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return nvc;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
public static string ToQueryString(NameValueCollection nvc) {
|
|
27
|
+
var array = (from key in nvc.AllKeys
|
|
28
|
+
from value in nvc.GetValues(key)
|
|
29
|
+
select $"{Uri.EscapeDataString(key)}={Uri.EscapeDataString(value)}"
|
|
30
|
+
).ToArray();
|
|
31
|
+
return string.Join("&", array);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
34
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "TapSDK.Core.Runtime"
|
|
3
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "TapSDK.Core.Runtime"
|
|
3
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
using UnityEditor.Build.Reporting;
|
|
3
|
-
using TapSDK.Core.Editor;
|
|
4
|
-
|
|
5
|
-
namespace TapSDK.Core.Editor {
|
|
6
|
-
public class TapCoreStandaloneProcessBuild : SDKLinkProcessBuild {
|
|
7
|
-
public override int callbackOrder => 0;
|
|
8
|
-
|
|
9
|
-
public override string LinkPath => "TapSDK/Core/link.xml";
|
|
10
|
-
|
|
11
|
-
public override LinkedAssembly[] LinkedAssemblies => new LinkedAssembly[] {
|
|
12
|
-
new LinkedAssembly { Fullname = "TapSDK.Core.Runtime" },
|
|
13
|
-
new LinkedAssembly { Fullname = "TapSDK.Core.Standalone.Runtime" }
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
public override Func<BuildReport, bool> IsTargetPlatform => (report) => {
|
|
17
|
-
return BuildTargetUtils.IsSupportStandalone(report.summary.platform);
|
|
18
|
-
};
|
|
19
|
-
}
|
|
1
|
+
using System;
|
|
2
|
+
using UnityEditor.Build.Reporting;
|
|
3
|
+
using TapSDK.Core.Editor;
|
|
4
|
+
|
|
5
|
+
namespace TapSDK.Core.Editor {
|
|
6
|
+
public class TapCoreStandaloneProcessBuild : SDKLinkProcessBuild {
|
|
7
|
+
public override int callbackOrder => 0;
|
|
8
|
+
|
|
9
|
+
public override string LinkPath => "TapSDK/Core/link.xml";
|
|
10
|
+
|
|
11
|
+
public override LinkedAssembly[] LinkedAssemblies => new LinkedAssembly[] {
|
|
12
|
+
new LinkedAssembly { Fullname = "TapSDK.Core.Runtime" },
|
|
13
|
+
new LinkedAssembly { Fullname = "TapSDK.Core.Standalone.Runtime" }
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
public override Func<BuildReport, bool> IsTargetPlatform => (report) => {
|
|
17
|
+
return BuildTargetUtils.IsSupportStandalone(report.summary.platform);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
20
|
}
|
|
@@ -1,137 +1,137 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
using System.Runtime.InteropServices;
|
|
3
|
-
using System.Globalization;
|
|
4
|
-
using System.Collections.Generic;
|
|
5
|
-
using System.Net.NetworkInformation;
|
|
6
|
-
using UnityEngine;
|
|
7
|
-
using System.Diagnostics;
|
|
8
|
-
using TapSDK.Core.Internal.Log;
|
|
9
|
-
|
|
10
|
-
namespace TapSDK.Core.Standalone.Internal
|
|
11
|
-
{
|
|
12
|
-
public class DeviceInfo
|
|
13
|
-
{
|
|
14
|
-
|
|
15
|
-
#if UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
|
|
16
|
-
[DllImport("TapDBDeviceInfo", CallingConvention = CallingConvention.Cdecl)]
|
|
17
|
-
private static extern IntPtr GetDeviceLanguage();
|
|
18
|
-
#endif
|
|
19
|
-
|
|
20
|
-
public static string GetLanguage()
|
|
21
|
-
{
|
|
22
|
-
#if UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
|
|
23
|
-
return Marshal.PtrToStringAnsi(GetDeviceLanguage());
|
|
24
|
-
#else
|
|
25
|
-
return CultureInfo.CurrentUICulture.IetfLanguageTag;
|
|
26
|
-
#endif
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
|
|
30
|
-
[DllImport("kernel32.dll")]
|
|
31
|
-
static extern IntPtr GetCurrentProcess();
|
|
32
|
-
|
|
33
|
-
[DllImport("kernel32.dll")]
|
|
34
|
-
static extern uint GetProcessTimes(IntPtr processHandle,
|
|
35
|
-
out long creationTime,
|
|
36
|
-
out long exitTime,
|
|
37
|
-
out long kernelTime,
|
|
38
|
-
out long userTime);
|
|
39
|
-
|
|
40
|
-
static DateTime GetProcessStartTime()
|
|
41
|
-
{
|
|
42
|
-
IntPtr processHandle = GetCurrentProcess();
|
|
43
|
-
long creationTime;
|
|
44
|
-
GetProcessTimes(processHandle,
|
|
45
|
-
out creationTime,
|
|
46
|
-
out _,
|
|
47
|
-
out _,
|
|
48
|
-
out _);
|
|
49
|
-
|
|
50
|
-
return DateTime.FromFileTime(creationTime);
|
|
51
|
-
}
|
|
52
|
-
#endif
|
|
53
|
-
|
|
54
|
-
//安全组提供的设备识别 ID 算法,用于后续数据串联
|
|
55
|
-
public static string GetLaunchUniqueID()
|
|
56
|
-
{
|
|
57
|
-
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
|
|
58
|
-
// 获取当前进程对象
|
|
59
|
-
Process currentProcess = Process.GetCurrentProcess();
|
|
60
|
-
// 获取进程启动时间
|
|
61
|
-
DateTime startTime = GetProcessStartTime();
|
|
62
|
-
return toMd5(startTime.ToFileTime().ToString() + "-" + currentProcess.Id.ToString());
|
|
63
|
-
#else
|
|
64
|
-
return "";
|
|
65
|
-
#endif
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
public static void GetMacAddress(out string macAddressList, out string firstMacAddress)
|
|
70
|
-
{
|
|
71
|
-
List<string> mac_addrs = new List<string>();
|
|
72
|
-
|
|
73
|
-
try
|
|
74
|
-
{
|
|
75
|
-
NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces();
|
|
76
|
-
foreach (NetworkInterface adapter in nics)
|
|
77
|
-
{
|
|
78
|
-
string physicalAddress = adapter.GetPhysicalAddress().ToString();
|
|
79
|
-
if (string.IsNullOrEmpty(physicalAddress))
|
|
80
|
-
continue;
|
|
81
|
-
|
|
82
|
-
physicalAddress = $"\"{physicalAddress}\"";
|
|
83
|
-
if (mac_addrs.IndexOf(physicalAddress) == -1)
|
|
84
|
-
mac_addrs.Add(physicalAddress);
|
|
85
|
-
}
|
|
86
|
-
// sort
|
|
87
|
-
mac_addrs.Sort();
|
|
88
|
-
}
|
|
89
|
-
catch (Exception e)
|
|
90
|
-
{
|
|
91
|
-
TapLog.Log("GetMacAddress Exception " + e.Message);
|
|
92
|
-
}
|
|
93
|
-
macAddressList = $"[{string.Join(",", mac_addrs)}]";
|
|
94
|
-
firstMacAddress = mac_addrs.Count > 0 ? mac_addrs[0].Replace("\"", "") : string.Empty;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private static string toMd5(string data)
|
|
98
|
-
{
|
|
99
|
-
byte[] buffer = System.Text.Encoding.Default.GetBytes(data);
|
|
100
|
-
try
|
|
101
|
-
{
|
|
102
|
-
System.Security.Cryptography.MD5CryptoServiceProvider chk = new System.Security.Cryptography.MD5CryptoServiceProvider();
|
|
103
|
-
byte[] some = chk.ComputeHash(buffer);
|
|
104
|
-
string ret = "";
|
|
105
|
-
foreach (byte a in some)
|
|
106
|
-
{
|
|
107
|
-
if (a < 16)
|
|
108
|
-
ret += "0" + a.ToString("X");
|
|
109
|
-
else
|
|
110
|
-
ret += a.ToString("X");
|
|
111
|
-
}
|
|
112
|
-
return ret.ToLower();
|
|
113
|
-
}
|
|
114
|
-
catch
|
|
115
|
-
{
|
|
116
|
-
throw;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
public static string RAM
|
|
121
|
-
{
|
|
122
|
-
get
|
|
123
|
-
{
|
|
124
|
-
return (SystemInfo.systemMemorySize * 1024L * 1024L).ToString();
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
public static string Local
|
|
130
|
-
{
|
|
131
|
-
get
|
|
132
|
-
{
|
|
133
|
-
return CultureInfo.CurrentCulture.Name.Replace('-', '_');
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
1
|
+
using System;
|
|
2
|
+
using System.Runtime.InteropServices;
|
|
3
|
+
using System.Globalization;
|
|
4
|
+
using System.Collections.Generic;
|
|
5
|
+
using System.Net.NetworkInformation;
|
|
6
|
+
using UnityEngine;
|
|
7
|
+
using System.Diagnostics;
|
|
8
|
+
using TapSDK.Core.Internal.Log;
|
|
9
|
+
|
|
10
|
+
namespace TapSDK.Core.Standalone.Internal
|
|
11
|
+
{
|
|
12
|
+
public class DeviceInfo
|
|
13
|
+
{
|
|
14
|
+
|
|
15
|
+
#if UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
|
|
16
|
+
[DllImport("TapDBDeviceInfo", CallingConvention = CallingConvention.Cdecl)]
|
|
17
|
+
private static extern IntPtr GetDeviceLanguage();
|
|
18
|
+
#endif
|
|
19
|
+
|
|
20
|
+
public static string GetLanguage()
|
|
21
|
+
{
|
|
22
|
+
#if UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
|
|
23
|
+
return Marshal.PtrToStringAnsi(GetDeviceLanguage());
|
|
24
|
+
#else
|
|
25
|
+
return CultureInfo.CurrentUICulture.IetfLanguageTag;
|
|
26
|
+
#endif
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
|
|
30
|
+
[DllImport("kernel32.dll")]
|
|
31
|
+
static extern IntPtr GetCurrentProcess();
|
|
32
|
+
|
|
33
|
+
[DllImport("kernel32.dll")]
|
|
34
|
+
static extern uint GetProcessTimes(IntPtr processHandle,
|
|
35
|
+
out long creationTime,
|
|
36
|
+
out long exitTime,
|
|
37
|
+
out long kernelTime,
|
|
38
|
+
out long userTime);
|
|
39
|
+
|
|
40
|
+
static DateTime GetProcessStartTime()
|
|
41
|
+
{
|
|
42
|
+
IntPtr processHandle = GetCurrentProcess();
|
|
43
|
+
long creationTime;
|
|
44
|
+
GetProcessTimes(processHandle,
|
|
45
|
+
out creationTime,
|
|
46
|
+
out _,
|
|
47
|
+
out _,
|
|
48
|
+
out _);
|
|
49
|
+
|
|
50
|
+
return DateTime.FromFileTime(creationTime);
|
|
51
|
+
}
|
|
52
|
+
#endif
|
|
53
|
+
|
|
54
|
+
//安全组提供的设备识别 ID 算法,用于后续数据串联
|
|
55
|
+
public static string GetLaunchUniqueID()
|
|
56
|
+
{
|
|
57
|
+
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
|
|
58
|
+
// 获取当前进程对象
|
|
59
|
+
Process currentProcess = Process.GetCurrentProcess();
|
|
60
|
+
// 获取进程启动时间
|
|
61
|
+
DateTime startTime = GetProcessStartTime();
|
|
62
|
+
return toMd5(startTime.ToFileTime().ToString() + "-" + currentProcess.Id.ToString());
|
|
63
|
+
#else
|
|
64
|
+
return "";
|
|
65
|
+
#endif
|
|
66
|
+
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public static void GetMacAddress(out string macAddressList, out string firstMacAddress)
|
|
70
|
+
{
|
|
71
|
+
List<string> mac_addrs = new List<string>();
|
|
72
|
+
|
|
73
|
+
try
|
|
74
|
+
{
|
|
75
|
+
NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces();
|
|
76
|
+
foreach (NetworkInterface adapter in nics)
|
|
77
|
+
{
|
|
78
|
+
string physicalAddress = adapter.GetPhysicalAddress().ToString();
|
|
79
|
+
if (string.IsNullOrEmpty(physicalAddress))
|
|
80
|
+
continue;
|
|
81
|
+
|
|
82
|
+
physicalAddress = $"\"{physicalAddress}\"";
|
|
83
|
+
if (mac_addrs.IndexOf(physicalAddress) == -1)
|
|
84
|
+
mac_addrs.Add(physicalAddress);
|
|
85
|
+
}
|
|
86
|
+
// sort
|
|
87
|
+
mac_addrs.Sort();
|
|
88
|
+
}
|
|
89
|
+
catch (Exception e)
|
|
90
|
+
{
|
|
91
|
+
TapLog.Log("GetMacAddress Exception " + e.Message);
|
|
92
|
+
}
|
|
93
|
+
macAddressList = $"[{string.Join(",", mac_addrs)}]";
|
|
94
|
+
firstMacAddress = mac_addrs.Count > 0 ? mac_addrs[0].Replace("\"", "") : string.Empty;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
private static string toMd5(string data)
|
|
98
|
+
{
|
|
99
|
+
byte[] buffer = System.Text.Encoding.Default.GetBytes(data);
|
|
100
|
+
try
|
|
101
|
+
{
|
|
102
|
+
System.Security.Cryptography.MD5CryptoServiceProvider chk = new System.Security.Cryptography.MD5CryptoServiceProvider();
|
|
103
|
+
byte[] some = chk.ComputeHash(buffer);
|
|
104
|
+
string ret = "";
|
|
105
|
+
foreach (byte a in some)
|
|
106
|
+
{
|
|
107
|
+
if (a < 16)
|
|
108
|
+
ret += "0" + a.ToString("X");
|
|
109
|
+
else
|
|
110
|
+
ret += a.ToString("X");
|
|
111
|
+
}
|
|
112
|
+
return ret.ToLower();
|
|
113
|
+
}
|
|
114
|
+
catch
|
|
115
|
+
{
|
|
116
|
+
throw;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
public static string RAM
|
|
121
|
+
{
|
|
122
|
+
get
|
|
123
|
+
{
|
|
124
|
+
return (SystemInfo.systemMemorySize * 1024L * 1024L).ToString();
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
public static string Local
|
|
130
|
+
{
|
|
131
|
+
get
|
|
132
|
+
{
|
|
133
|
+
return CultureInfo.CurrentCulture.Name.Replace('-', '_');
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
137
|
}
|
|
@@ -10,6 +10,8 @@ namespace TapSDK.Core.Standalone.Internal.Openlog
|
|
|
10
10
|
internal const string DllName = "tapsdkcore";
|
|
11
11
|
#elif UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX
|
|
12
12
|
internal const string DllName = "libtapsdkcorecpp";
|
|
13
|
+
#elif UNITY_STANDALONE_LINUX || UNITY_EDITOR_LINUX
|
|
14
|
+
internal const string DllName = "libtapsdkcorecpp";
|
|
13
15
|
#endif
|
|
14
16
|
|
|
15
17
|
/**
|
package/package.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"dependencies": {
|
|
9
|
-
"com.google.external-dependency-manager": "1.2.179"
|
|
10
|
-
}
|
|
2
|
+
"name": "com.taptap.sdk.core",
|
|
3
|
+
"displayName": "TapTapSDK Core",
|
|
4
|
+
"description": "TapTapSDK Core",
|
|
5
|
+
"version": "4.8.4-beta.2",
|
|
6
|
+
"unity": "2020.3.0f1",
|
|
7
|
+
"license": "MIT"
|
|
11
8
|
}
|