[英]How to debug Microsoft Teams custom tab on Android
We have build a teams tab it works fine on Teams Desktop, but it fails on mobile without any error.我们已经构建了一个团队选项卡,它在 Teams 桌面版上运行良好,但在移动设备上失败,没有任何错误。 The page is blank.
页面是空白的。 If we open using Open in browser option the page works fine.
如果我们使用“在浏览器中打开”选项打开,则页面可以正常工作。
I tried using chrome F12, after enabling the developer mode, the chrome tab is not listed there.我尝试使用 chrome F12,启用开发人员模式后,chrome 选项卡未在此处列出。 Is there a way to debug the Android teams custom tab using chrome F12 or some other way.
有没有办法使用 chrome F12 或其他方式调试 Android 团队自定义选项卡。
Testing on mobile clients 在移动客户端上测试
You need to validate that your tab functions properly on mobile devices of various sizes and qualities.您需要验证您的标签在各种尺寸和质量的移动设备上是否正常运行。 For Android devices you can use the DevTools to debug your tab while it is running.
对于 Android 设备,您可以在选项卡运行时使用DevTools 对其进行调试。 We recommend that you test on both high and low performing devices, as well as on a tablet.
我们建议您在高性能和低性能设备以及平板电脑上进行测试。
Some time ago I wrote an article on how to setup a live debug session.前段时间我写了一篇关于如何设置实时调试 session 的文章。 I focused there on SPFx tabs but the same principal applies to other apps You serve from localhost
我在那里专注于 SPFx 选项卡,但相同的原则适用于您从 localhost 提供的其他应用程序
https://mgwdevcom.wordpress.com/2022/03/28/live-spfx-debug-session-in-ms-teams-mobile-client/ https://mgwdevcom.wordpress.com/2022/03/28/live-spfx-debug-session-in-ms-teams-mobile-client/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.