From 0480b64f62aef95e388e2ad64bc4be30e24d38a5 Mon Sep 17 00:00:00 2001 From: Zhichao Link Date: Fri, 3 Feb 2023 16:59:41 +0800 Subject: [PATCH] update ios files --- Assets/Plugins/iOS/.Swift/UnityManager.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Assets/Plugins/iOS/.Swift/UnityManager.swift b/Assets/Plugins/iOS/.Swift/UnityManager.swift index aab762f..42ac427 100644 --- a/Assets/Plugins/iOS/.Swift/UnityManager.swift +++ b/Assets/Plugins/iOS/.Swift/UnityManager.swift @@ -173,7 +173,11 @@ extension UnityManager { supportAuthTypeArray = [.all] } else { array.forEach { - if $0 == "apple" { + if $0 == "email" { + supportAuthTypeArray.append(.email) + } else if $0 == "phone" { + supportAuthTypeArray.append(.phone) + } else if $0 == "apple" { supportAuthTypeArray.append(.apple) } else if $0 == "google" { supportAuthTypeArray.append(.google)