Changelog
Changelog
If you have previously read the SDK guide for an earlier version (0.0.1), check this section for changes.
v0.1.5 (2026-03-30) — Current Version
New Features
-
ShareForReward API added: A new API for granting rewards upon share completion has been added.
TudadaSDK.Instance.ShareForReward(
url: "https://example.com/share", // optional
onSuccess: (result) => {
if (result.rewarded) Debug.Log("Share complete — reward granted");
},
onFail: (error) => Debug.LogError($"Share failed: {error}")
);ShareForReward(url, onSuccess, onFail): Share + reward processing- Share handling is automatically managed by the platform
Required Files:
- Game SDK:
tudadaGameSDK.0.1.5.js - Unity Client:
tudada-unity-client-v0.1.5-hotfix0420.unitypackage
v0.1.4 (2026-03-18)
New Features
-
ShowRewardedAd API added: Handles loading through displaying a rewarded ad in a single call.
TudadaSDK.Instance.ShowRewardedAd("your-ad-unit-id",
onSuccess: (result) => {
if (result.isEnded) Debug.Log("Watch complete — grant reward");
},
onFail: (error) => Debug.LogError($"Ad failed: {error.errMsg}")
);ShowRewardedAd(adUnitId, onSuccess, onFail): Handles loading + displaying in one call- Loading UI, retries, and failure popups are automatically handled by the platform
CreateRewardedVideoAdis maintained as legacy
-
CheckFeature API added: Allows you to check in advance whether a specific API is supported on the current platform.
TudadaSDK.Instance.CheckFeature("startAccelerometerSensor",
onSuccess: (result) => Debug.Log($"Supported: {result.apiName}"),
onFail: (result) => Debug.Log($"Not supported: {result.status}")
);CheckFeature(apiName, onSuccess, onFail): Check API supportCheckFeatureStatus:supported,unknown_api,version_required,platform_unsupported,device_unsupported,permission_denied
-
LaunchOptions API added: Allows you to retrieve query parameters and referrer information passed when the game launches.
TudadaLaunchOptions options = TudadaSDK.Instance.GetLaunchOptions();
Debug.Log("Query JSON: " + options.query);GetLaunchOptions(): Synchronously retrieve launch optionsqueryis a JSON string (requires parsing with a third-party JSON library)
Required Files:
- Game SDK:
tudadaGameSDK.0.1.4.js - Unity Client:
tudada-unity-client-v0.1.4.unitypackage
v0.1.3 (2026-02-26)
New Features
-
Accelerometer API added:
StartAccelerometerSensor(),StopAccelerometerSensor(), andOnAccelerometerChangeevent have been added.TudadaSDK.Instance.OnAccelerometerChange += (res) => {
Debug.Log($"X: {res.x}, Y: {res.y}, Z: {res.z}");
};
TudadaSDK.Instance.StartAccelerometerSensor(
sensitivity: AccelerometerSensitivity.normal,
onSuccess: (result) => Debug.Log("Sensor started")
);
TudadaSDK.Instance.StopAccelerometerSensor();- XYZ axis-based acceleration data reception
- Sensitivity-based control:
sensitive|normal|insensitive - Flat API pattern:
StartAccelerometerSensor(),StopAccelerometerSensor(),OnAccelerometerChange Input.accelerationsimulation support in Unity Editor
Required Files:
- Game SDK:
tudadaGameSDK.0.1.4.js - Unity Client:
tudada-unity-client-v0.1.4.unitypackage
v0.1.2 (2026-02-26)
New Features
-
environmentfield added toSystemInfoandAppBaseInfoA field indicating the current access environment has been added.
SystemInfo info = TudadaSDK.Instance.GetSystemInfoSync();
Debug.Log(info.environment); // "prod" or "dev"
AppBaseInfo appInfo = TudadaSDK.Instance.GetAppBaseInfo();
Debug.Log(appInfo.environment); // "prod" or "dev"Value Description "prod"Production environment "dev"Development environment
Required Files:
- Game SDK:
tudadaGameSDK.0.1.2.js - Unity Client:
tudada-unity-client-v0.1.2.unitypackage
v0.1.1 (2026-02-20)
- Internal improvements applied (no game code changes required)
v0.1.0 (2026-02-06)
New Features
-
userIdfield added toLoginresultTudadaSDK.Instance.Login(
onSuccess: (result) => {
Debug.Log("Code: " + result.code); // existing
Debug.Log("User ID: " + result.userId); // newly added
}
); -
SystemInfo.wifiEnablednow returns the actual valuePreviously it was a fixed value, but now it returns the actual Wi-Fi enabled status.
Changes (Migration Required)
-
Unity Client package update required
You need to re-import
tudada-unity-client-v0.1.0.unitypackageor later. Remove the existing package and import the new one. -
CheckSessioncallback result type changed// 0.0.1 — onSuccess included login information
TudadaSDK.Instance.CheckSession(
onSuccess: (result) => {
// result included code, userId, etc.
}
);
// 0.1.0 and later — onSuccess contains only general result
TudadaSDK.Instance.CheckSession(
onSuccess: (result) => {
// Only result.errMsg is included
// Call Login() separately if login info is needed
}
);
Update Procedure
- Import the new
.unitypackagefile (overwrite existing files) - Update the SDK script version in
index.html:<script src="tudadaGameSDK.0.1.0.js"></script> - If you were using login information from the
CheckSessioncallback, separate it into aLogincall
v0.0.1 (2026-02-02) — Initial Release
This is the initial release version. The following APIs are included:
- Auth API (Login, CheckSession, GetUserInfo)
- Storage API (Set/Get/Remove/Clear Storage + Sync versions)
- TudadaStore API (cloud storage)
- System API (GetSystemInfoSync, GetWindowInfo, GetDeviceInfo, etc.)
- Device API (vibration, keyboard, clipboard)
- Ad API (rewarded video ads)
- Lifecycle API (OnShow, OnHide, ExitMiniProgram, RestartMiniProgram)
Copyright 2026 Tudada. All rights reserved.