com.taptap.sdk.cloudsave 4.9.0 → 4.9.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.
@@ -4,12 +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-cloudsave-unity:4.9.0"/>
7
+ <androidPackage spec="com.taptap.sdk:tap-cloudsave-unity:4.9.2"/>
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/CloudSave" version="4.9.0"/>
13
+ <iosPod addToAllTargets="false" bitcodeEnabled="false" name="TapTapSDK/CloudSave" version="4.9.2"/>
14
14
  </iosPods>
15
15
  </dependencies>
@@ -7,7 +7,7 @@ namespace TapSDK.CloudSave
7
7
  {
8
8
  public class TapTapCloudSave
9
9
  {
10
- public static readonly string Version = "4.9.0";
10
+ public static readonly string Version = "4.9.2";
11
11
 
12
12
  public static void RegisterCloudSaveCallback(ITapCloudSaveCallback callback)
13
13
  {
@@ -28,6 +28,7 @@ namespace TapSDK.CloudSave.Standalone
28
28
  public void Init(TapTapSdkOptions options)
29
29
  {
30
30
  Log("TapCloudSave start init");
31
+ string lang = TapLocalizeManager.GetCurrentLanguageString();
31
32
  TapCloudSaveTracker.Instance.TrackInit();
32
33
  string cacheDir = Path.Combine(
33
34
  Application.persistentDataPath,
@@ -61,7 +62,7 @@ namespace TapSDK.CloudSave.Standalone
61
62
  { "client_id", options.clientId },
62
63
  { "client_token", options.clientToken },
63
64
  { "ua", TapHttpUtils.GenerateUserAgent() },
64
- { "lang", Tracker.getServerLanguage() },
65
+ { "lang", lang },
65
66
  { "platform", "PC" },
66
67
  { "device_id", deviceID },
67
68
  { "sdk_artifact", "Unity" },
package/package.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "name": "com.taptap.sdk.cloudsave",
3
3
  "displayName": "TapTapSDK CloudSave",
4
4
  "description": "TapTapSDK CloudSave",
5
- "version": "4.9.0",
5
+ "version": "4.9.2",
6
6
  "unity": "2019.4",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "com.taptap.sdk.core": "4.9.0",
10
- "com.taptap.sdk.login": "4.9.0"
9
+ "com.taptap.sdk.core": "4.9.2",
10
+ "com.taptap.sdk.login": "4.9.2"
11
11
  }
12
12
  }