Xamarin 中的 Firebase SendEmailVerification:如何在 App 中处理这个问题?

Firebase SendEmailVerification in Xamarin : how to handle this in App?

我正在尝试在我的 Xamarin/Firebase 应用程序中使用电子邮件验证。 我目前有:

using (var actionCode = ActionCodeSettings.NewBuilder()
                       .SetHandleCodeInApp(true).Build()) {
      await user.SendEmailVerification(actionCode);
}

这会正确发送一封验证邮件。

我不知道的是如何在应用程序中指定回调以捕获用户点击验证 link。

任何 advice/guidance 将不胜感激。

It's still unclear to me what's the point of the SetHandleCodeInnApp option. It seems to indicate that there is a way of handling the verification event in the app

电子邮件操作 link 将首先在移动应用程序还是 Web link 中打开。默认为假。设置为 true 时,操作代码 link 将作为通用 Link 或 Android 应用程序 Link 发送,如果已安装,将由应用程序打开。在错误的情况下,代码将首先发送到网络小部件,然后继续将重定向到应用程序(如果已安装)。

更多详细信息,您可以查看文档。 https://firebase.google.com/docs/auth/android/passing-state-in-email-actions