如何将 UWP 的 WebAccountManager 和 AccountSettingsPane 用于 Xbox 应用程序?

How to use UWP's WebAccountManager and AccountSettingsPane for an Xbox app?

我构建了一个在 Xbox 和 PC 上运行的应用程序。我按照以下说明成功地将 WebAccountManager 和 AccountSettingsPane 添加到应用程序:https://docs.microsoft.com/en-us/windows/uwp/security/web-account-manager。它在我的 Surface 上运行良好。但是,在 Xbox 上测试后,AccountSettingsPane 并没有弹出。有谁知道 Xbox 是否不支持此 UWP API?

这是我打开 AccountSettingsPane 的代码。它适用于 PC 和平板电脑,但不适用于 Xbox。

来源:https://github.com/jenius-apps/ambie/blob/de2493109a618aa8723df499c469a6741d20216d/src/AmbientSounds.Uwp/Services/MsaAuthClient.cs#L131-L140

有什么想法吗?

. However, after testing on Xbox, the AccountSettingsPane does not pop up. Does anyone know if Xbox doesn't support this UWP API?

请参考UWP features not supported on Xbox document, AccountSettingsPane and WebAccountCommand APIs are not supported on Xbox. For login Xbox from UWP app, you could refer this document