com.xd.sdk.oversea 6.28.0 → 6.28.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/Editor/XDGOverseaGradleContextProvider.cs +19 -0
- package/Plugins/Android/libs/{XDGPushGlobal_6.28.0.aar → XDGPushGlobal_6.28.1.aar} +0 -0
- package/Plugins/Android/libs/XDGShare_6.28.1.aar +0 -0
- package/Plugins/Android/libs/XDGThirdLogin_6.28.1.aar +0 -0
- package/Plugins/Android/libs/XDGThirdTrack_6.28.1.aar +0 -0
- package/package.json +2 -2
- package/Plugins/Android/libs/XDGShare_6.28.0.aar +0 -0
- package/Plugins/Android/libs/XDGThirdLogin_6.28.0.aar +0 -0
- package/Plugins/Android/libs/XDGThirdTrack_6.28.0.aar +0 -0
- /package/Plugins/Android/libs/{XDGPushGlobal_6.28.0.aar.meta → XDGPushGlobal_6.28.1.aar.meta} +0 -0
- /package/Plugins/Android/libs/{XDGShare_6.28.0.aar.meta → XDGShare_6.28.1.aar.meta} +0 -0
- /package/Plugins/Android/libs/{XDGThirdLogin_6.28.0.aar.meta → XDGThirdLogin_6.28.1.aar.meta} +0 -0
- /package/Plugins/Android/libs/{XDGThirdTrack_6.28.0.aar.meta → XDGThirdTrack_6.28.1.aar.meta} +0 -0
|
@@ -52,6 +52,9 @@ namespace XD.SDK.Oversea.Editor
|
|
|
52
52
|
|
|
53
53
|
private const string LineSdk = " implementation 'com.linecorp.linesdk:linesdk:5.8.1'";
|
|
54
54
|
private const string LineSupportViewModelKtx = " implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'"; // 原生 Demo 中使用 Firebase Crashlytics 使用的版本,不使用可能会造成 Duplicate Class 问题
|
|
55
|
+
|
|
56
|
+
private const string TikTokCore = " implementation 'com.tiktok.open.sdk:tiktok-open-sdk-core:2.2.0'";
|
|
57
|
+
private const string TikTokShare = " implementation 'com.tiktok.open.sdk:tiktok-open-sdk-share:2.2.0'";
|
|
55
58
|
|
|
56
59
|
#endregion
|
|
57
60
|
|
|
@@ -139,6 +142,12 @@ namespace XD.SDK.Oversea.Editor
|
|
|
139
142
|
LineSupportViewModelKtx,
|
|
140
143
|
};
|
|
141
144
|
|
|
145
|
+
private readonly HashSet<string> _tiktokIncludeDeps = new HashSet<string>()
|
|
146
|
+
{
|
|
147
|
+
TikTokCore,
|
|
148
|
+
TikTokShare,
|
|
149
|
+
};
|
|
150
|
+
|
|
142
151
|
public void OnPreprocessBuild(BuildReport report)
|
|
143
152
|
{
|
|
144
153
|
DeleteOldProvider();
|
|
@@ -347,6 +356,11 @@ namespace XD.SDK.Oversea.Editor
|
|
|
347
356
|
{
|
|
348
357
|
writerHelper.Delete(dep);
|
|
349
358
|
}
|
|
359
|
+
|
|
360
|
+
foreach (var dep in _tiktokIncludeDeps)
|
|
361
|
+
{
|
|
362
|
+
writerHelper.Delete(dep);
|
|
363
|
+
}
|
|
350
364
|
|
|
351
365
|
writerHelper.Dispose();
|
|
352
366
|
|
|
@@ -489,6 +503,11 @@ namespace XD.SDK.Oversea.Editor
|
|
|
489
503
|
thirdPartyDeps.processContent.AddRange(_lineSdkIncludeDeps);
|
|
490
504
|
}
|
|
491
505
|
|
|
506
|
+
if (configMd.tiktok != null && !string.IsNullOrEmpty(configMd.tiktok.client_key))
|
|
507
|
+
{
|
|
508
|
+
thirdPartyDeps.processContent.AddRange(_tiktokIncludeDeps);
|
|
509
|
+
}
|
|
510
|
+
|
|
492
511
|
if (thirdPartyDeps.processContent.Count > 0)
|
|
493
512
|
{
|
|
494
513
|
result.Add(thirdPartyDeps);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "com.xd.sdk.oversea",
|
|
3
3
|
"displayName": "XDSDK Oversea",
|
|
4
|
-
"version": "6.28.
|
|
4
|
+
"version": "6.28.1",
|
|
5
5
|
"description": "XDSDK",
|
|
6
6
|
"unity": "2018.3",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"com.xd.tds.common": "3.
|
|
9
|
+
"com.xd.tds.common": "3.30.0-xd.1"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
/package/Plugins/Android/libs/{XDGPushGlobal_6.28.0.aar.meta → XDGPushGlobal_6.28.1.aar.meta}
RENAMED
|
File without changes
|
|
File without changes
|
/package/Plugins/Android/libs/{XDGThirdLogin_6.28.0.aar.meta → XDGThirdLogin_6.28.1.aar.meta}
RENAMED
|
File without changes
|
/package/Plugins/Android/libs/{XDGThirdTrack_6.28.0.aar.meta → XDGThirdTrack_6.28.1.aar.meta}
RENAMED
|
File without changes
|