//
//  TYGoogleHandle.h
//  XYSDK
//
//  Created by APPLE on 2020/10/28.
//  Copyright © 2020 刘磊. All rights reserved.
//


NS_ASSUME_NONNULL_BEGIN

@interface TYGoogleHandle : NSObject

+ (TYGoogleHandle *)defaultLoginHandle;

/// 注册Google登录 确保主线程注册
/// @param googleClientId Google分配的clientID
+ (void)registerGoogleLoginWith:(NSString *)googleClientId;

+ (void)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;


+ (void)login:(TYBaseRespBlock)completion;


+ (void)logout;

/// 获取当前版本
+ (NSString *)getCurrentVersion;





@end

NS_ASSUME_NONNULL_END
