在 Android 上在 Unity 中使用 Apple 进行 Firebase 身份验证,而无需每次都提供登录详细信息

Firebase Authenticate Using Apple in Unity on Android without requiring login details each time

我已按照以下指南使用 Firebase 使用 Apple 登录 Android:https://firebase.google.com/docs/auth/android/apple

当用户首次使用 Sign in with Apple 登录我的应用程序时,他们将需要输入他们的登录详细信息并授权我的应用程序。但是,似乎如果应用程序关闭并重新打开,他们每次也将被要求重新输入这些详细信息。

我集成的其他 Auth 提供程序支持静默授权方法,检查用户是否已在此设备上授权该应用程序或是否已授予对可以存储并在以后使用的刷新令牌的访问权限。我如何通过 Firebase 的实现访问其中任何一个?

Firebase Auth 允许授权会话在事物的 Firebase 端持续存在,而无需保留或与其他第三方 Auth 提供商重新进行身份验证。 Google 的关键词是 "auth state persistence"。这是 link:https://firebase.google.com/docs/auth/unity/start