update: 更新 IAP 获取 UUID 的接口

Signed-off-by: huyufei <yufei.hu@castbox.fm>
deeplink
胡宇飞 2024-05-22 19:04:34 +08:00
parent 42025a081a
commit 94f8e44ea9
1 changed files with 6 additions and 2 deletions

View File

@ -231,9 +231,13 @@ namespace Guru
{
_storeController = controller;
_storeExtensionProvider = extensions;
var uuid = IPMConfig.IPM_DEVICE_ID;
var uuid = IPMConfig.UUID;
if(string.IsNullOrEmpty(_uid)) _uid = IPMConfig.IPM_UID;
if (!string.IsNullOrEmpty(_uid) && string.IsNullOrEmpty(uuid))
{
uuid = IDHelper.GenUUID(_uid);
}
LogI($"--- IAP Initialized Success. With UID: {_uid} and UUID: {uuid}");
#if UNITY_IOS