[F] iOS Google login, client id

This commit is contained in:
2024-08-05 18:20:34 +08:00
parent badf4d6250
commit dd43d9db26
7 changed files with 26 additions and 6 deletions

View File

@@ -103,7 +103,20 @@ extern "C" {
void UnityLoginOut()
{
NSLog(@"TYSdkInterface UnityLoginOut");
[XYApi XYLogoutWithCompletion:^(XYResp * _Nonnull resp) {
if(resp.errCode == XYSuccess)
{
NSLog(@"TYSdkInterface UnityLoginOut Success");
NSLog(@"%@", resp.respObj);
}
else
{
NSLog(@"TYSdkInterface UnityLoginOut Faild");
NSLog(@"Error Code:%ld msg:%@", resp.errCode, resp.errStr);
}
}];
}
//支付