com.xd.sdk.share 6.26.2 → 6.28.0

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.
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 05eadceedde864552882d40d67823456
2
+ guid: 01b6a95d18507456ab8081e503d8fc7d
3
3
  PluginImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -0,0 +1,22 @@
1
+ using System.Collections.Generic;
2
+
3
+ namespace XD.SDK.Share
4
+ {
5
+ public class XDGInstagramShareParam : XDGBaseShareParam
6
+ {
7
+ public string VideoUrl { get; set; }
8
+ public override XDGSharePlatformType SharePlatformType => XDGSharePlatformType.Instagram;
9
+
10
+ public override Dictionary<string, object> ToDictionary()
11
+ {
12
+ Dictionary<string, object> dict = base.ToDictionary();
13
+
14
+ if (!string.IsNullOrWhiteSpace(VideoUrl))
15
+ {
16
+ dict["videoUrl"] = VideoUrl;
17
+ }
18
+
19
+ return dict;
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: aae124e7dc294ac7b342e64f130ba7b8
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -9,6 +9,8 @@ namespace XD.SDK.Share {
9
9
  Facebook = 5,
10
10
  Twitter = 6,
11
11
  Line = 7,
12
- TapTap = 8
12
+ TapTap = 8,
13
+ TikTok = 9,
14
+ Instagram = 10,
13
15
  }
14
16
  }
@@ -0,0 +1,22 @@
1
+ using System.Collections.Generic;
2
+
3
+ namespace XD.SDK.Share
4
+ {
5
+ public class XDGTikTokShareParam : XDGBaseShareParam
6
+ {
7
+ public string VideoUrl { get; set; }
8
+ public override XDGSharePlatformType SharePlatformType => XDGSharePlatformType.TikTok;
9
+
10
+ public override Dictionary<string, object> ToDictionary()
11
+ {
12
+ Dictionary<string, object> dict = base.ToDictionary();
13
+
14
+ if (!string.IsNullOrWhiteSpace(VideoUrl))
15
+ {
16
+ dict["videoUrl"] = VideoUrl;
17
+ }
18
+
19
+ return dict;
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 5ef1b770dd844c5a90c174fb6c1a5e7c
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "com.xd.sdk.share",
3
3
  "displayName": "XDSDK Share",
4
- "version": "6.26.2",
4
+ "version": "6.28.0",
5
5
  "description": "XDSDK",
6
6
  "unity": "2018.3",
7
7
  "license": "MIT",