update: 替换支付接口的 UID -> UUID
parent
7fe982f5bc
commit
5494e6c3f9
|
|
@ -23,7 +23,7 @@ namespace Guru
|
|||
/// <summary>
|
||||
/// 初始化IAP 功能
|
||||
/// </summary>
|
||||
public static void InitIAP(string userId, byte[] googleKey, byte[] appleRootCerts)
|
||||
public static void InitIAP(string uuid, byte[] googleKey, byte[] appleRootCerts)
|
||||
{
|
||||
GuruIAP.Instance.OnInitResult += OnIAPInitResult;
|
||||
GuruIAP.Instance.OnRestored += OnRestored;
|
||||
|
|
@ -34,7 +34,7 @@ namespace Guru
|
|||
|
||||
Callbacks.IAP._onIAPInitStart?.Invoke(); // 初始化之前进行调用
|
||||
|
||||
GuruIAP.Instance.InitWithKeys(userId, googleKey, appleRootCerts, IsDebugMode);
|
||||
GuruIAP.Instance.InitWithKeys(uuid, googleKey, appleRootCerts, IsDebugMode);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -355,7 +355,7 @@ namespace Guru
|
|||
}
|
||||
|
||||
|
||||
InitIAP(UID, _initConfig.GoogleKeys, _initConfig.AppleRootCerts); // 初始化IAP
|
||||
InitIAP(DeviceId, _initConfig.GoogleKeys, _initConfig.AppleRootCerts); // 初始化IAP
|
||||
}, ex =>
|
||||
{
|
||||
UnityEngine.Debug.LogError($"--- ERROR on useIAP: {ex.Message}");
|
||||
|
|
|
|||
Loading…
Reference in New Issue