update: 更新回调接口, 新增广告初始化默认配置接口
							parent
							
								
									b2fa553fb7
								
							
						
					
					
						commit
						fec486e8a6
					
				|  | @ -228,7 +228,12 @@ namespace Guru | |||
| 
 | ||||
|         private static bool _initAdsCompleted = false; | ||||
|          | ||||
|          | ||||
|         public static AdsInitSpec GetDefaultAdsSpec() | ||||
|         { | ||||
|             return AdsInitSpec.BuildDefault(InitConfig.AutoLoadWhenAdsReady, IsDebugMode); | ||||
|         } | ||||
| 
 | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// 启动广告服务 | ||||
|         /// </summary> | ||||
|  |  | |||
|  | @ -196,11 +196,11 @@ namespace Guru | |||
|                     remove => _onDebuggerDisplayed -= value; | ||||
|                 } | ||||
| 
 | ||||
|                 internal static Action<bool> _onAuthUserResult; | ||||
|                 public static event Action<bool> OnAuthUserResult | ||||
|                 internal static Action<bool> _onUserAuthResult; | ||||
|                 public static event Action<bool> OnUserAuthResult | ||||
|                 { | ||||
|                     add => _onAuthUserResult += value; | ||||
|                     remove => _onAuthUserResult -= value; | ||||
|                     add => _onUserAuthResult += value; | ||||
|                     remove => _onUserAuthResult -= value; | ||||
|                 } | ||||
|                  | ||||
|                 internal static Action<bool> _onFirebaseAuthResult; | ||||
|  |  | |||
|  | @ -155,7 +155,7 @@ namespace Guru | |||
|             { | ||||
|                 success = false; | ||||
|             } | ||||
|             Callbacks.SDK._onAuthUserResult?.Invoke(success); | ||||
|             Callbacks.SDK._onUserAuthResult?.Invoke(success); | ||||
|         } | ||||
|          | ||||
|         private void OnFirebaseAuthResult(bool success) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue