com.taptap.sdk.moment 4.3.8-alpha.2 → 4.3.10
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.
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
<repositories>
|
|
6
6
|
<repository>https://repo.maven.apache.org/maven2</repository>
|
|
7
7
|
</repositories>
|
|
8
|
-
<androidPackage spec="com.taptap.sdk:tap-moment-unity:4.3.
|
|
8
|
+
<androidPackage spec="com.taptap.sdk:tap-moment-unity:4.3.10"/>
|
|
9
9
|
</androidPackages>
|
|
10
10
|
<!-- iOS Cocoapod dependencies can be specified by each iosPod element. -->
|
|
11
11
|
<iosPods>
|
|
12
12
|
<sources>
|
|
13
|
-
<source>
|
|
13
|
+
<source>https://github.com/CocoaPods/Specs.git</source>
|
|
14
14
|
</sources>
|
|
15
|
-
<iosPod name="TapTapMomentSDK" version="~> 4.3.
|
|
15
|
+
<iosPod name="TapTapMomentSDK" version="~> 4.3.10" bitcodeEnabled="false" addToAllTargets="false"/>
|
|
16
16
|
</iosPods>
|
|
17
17
|
</dependencies>
|
|
18
18
|
|
|
@@ -5,12 +5,12 @@ namespace TapSDK.Moment.Internal.Init {
|
|
|
5
5
|
public class MomentInitTask : IInitTask {
|
|
6
6
|
public int Order => 103;
|
|
7
7
|
|
|
8
|
-
public void Init(
|
|
8
|
+
public void Init(TapTapSdkOptions coreOption, TapTapSdkBaseOptions[] otherOptions)
|
|
9
9
|
{
|
|
10
10
|
TapTapMomentManager.Instance.Init(coreOption.clientId, coreOption.region);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
public void Init(
|
|
13
|
+
public void Init(TapTapSdkOptions coreOption)
|
|
14
14
|
{
|
|
15
15
|
TapTapMomentManager.Instance.Init(coreOption.clientId, coreOption.region);
|
|
16
16
|
}
|
|
@@ -12,20 +12,7 @@ namespace TapSDK.Moment.Standalone
|
|
|
12
12
|
|
|
13
13
|
public void OpenMoment()
|
|
14
14
|
{
|
|
15
|
-
|
|
16
|
-
// string url;
|
|
17
|
-
// TapTapSDKCoreOptions config = TapTapSDK.tapTapSDKCoreOptions;
|
|
18
|
-
// if (config == null || config.region == TapTapRegionType.CN)
|
|
19
|
-
// {
|
|
20
|
-
// url = $"https://www.taptap.cn/app/{TapMomentConfig.AppId}/topic?utm_medium=link&utm_source=pc_sdk";
|
|
21
|
-
// }
|
|
22
|
-
// else
|
|
23
|
-
// {
|
|
24
|
-
// url = $"https://www.taptap.io/app/{TapMomentConfig.AppId}?utm_medium=link&utm_source=pc_sdk";
|
|
25
|
-
// }
|
|
26
|
-
// Application.OpenURL(url);
|
|
27
|
-
|
|
28
|
-
TapLogger.Warn($"{nameof(OpenMoment)} NOT implemented.");
|
|
15
|
+
TapLogger.Warn($"{nameof(OpenMoment)} NOT implemented.");
|
|
29
16
|
}
|
|
30
17
|
|
|
31
18
|
public void OpenScene(string sceneId)
|
package/package.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"name": "com.taptap.sdk.moment",
|
|
3
3
|
"displayName": "TapTapSDK Moment",
|
|
4
4
|
"description": "TapTapSDK Moment",
|
|
5
|
-
"version": "4.3.
|
|
5
|
+
"version": "4.3.10",
|
|
6
6
|
"unity": "2019.4",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"com.taptap.sdk.core": "4.3.
|
|
10
|
-
"com.taptap.sdk.login": "4.3.
|
|
9
|
+
"com.taptap.sdk.core": "4.3.10",
|
|
10
|
+
"com.taptap.sdk.login": "4.3.10"
|
|
11
11
|
}
|
|
12
12
|
}
|