[UWP] [HTML] xbox UWP暂停的应用程序无法恢复 [英] [UWP][HTML]xbox UWP suspended app does not resume

查看:89
本文介绍了[UWP] [HTML] xbox UWP暂停的应用程序无法恢复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用html / javascript开发托管的webapp,针对xbox one。

I am developing a hosted webapp with html/javascript, targeted for xbox one.

重复该错误(在实际设备上):

To repeat the bug (on actual device):

*启动应用程序,随意使用

* start the app, use at will

*点击"xbox"按钮返回操作系统菜单

* hit the 'xbox' button to go back to OS menu

*启动另一个,即边缘

* start another, i.e. Edge

*再次进入菜单,然后选择应用程序(重新?)启动它

* go to the menu again, then select the app to (re?)start it

*预期行为:应用程序恢复工作,可以在离开之前用作菜单

* EXPECTED BEHAVIOR: the app resumes working, can be used as before leaving for the menu

*实际行为:屏幕保持黑色,没有任何反应。

* ACTUAL BEHAVIOR: the screen stays black, nothing happens.

----

我使用console.log为`focusedappchanged`添加了一个监听器,在尝试恢复应用程序时调用它。

I added a listener for `focusedappchanged` with a console.log, it is called upon trying to resume the app.

我错过了什么?遗憾的是我的应用程序已经非常大了所以我无法实际重写并逐步测试以准确捕获代码的哪一部分破坏了恢复机制。另外值得注意的是,我的应用程序是使用ReactJS构建的。

Am I missing something? Sadly my app is already pretty big so I cannot realistically rewrite and test step by step to catch exactly what part of the code breaks the resume mechanism. Also noteworthy, my app is build with ReactJS.

任何帮助都非常感谢,谢谢!!

Any help greatly appreciated, thank you!!

推荐答案

嗨  vgrafe,

Hi vgrafe,

你能不能给我一个简单的重现样本和您的操作系统版本?此外,你的应用程序在PC上运行良好吗?

Could your give me a simple reproduce sample and your OS Version? Besides, does your app work well in the PC?

祝你好运,

Breeze Liu

Breeze Liu


这篇关于[UWP] [HTML] xbox UWP暂停的应用程序无法恢复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆