简体   繁体   English

如何调试 Android 上的 Microsoft Teams 自定义选项卡

[英]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.我们建议您在高性能和低性能设备以及平板电脑上进行测试。

See Accessing DevTools from Android请参阅从 Android 访问 DevTools

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.

相关问题 Microsoft Teams - 如何从 Android Intent 启动 MS Teams - Microsoft Teams - How to launch MS Teams from Android Intent 如何在银河选项卡上调试Android应用 - How to debug android app on galaxy tab 如何在android中的选项卡布局中设置自定义选项卡 - How to set Custom tab in tab layout in android Android:如何在选项卡上运行/调试/测试Android应用程序? - Android: How to run/debug/test android app on tab? 需要麦克风访问权限的自定义应用程序无法在 Microsoft Teams Moble 应用程序(IOS 和 Android)上运行,但在所有浏览器(手机和台式机)中运行 - Custom app which need microphone access not working on Microsoft Teams Moble apps ( IOS and Android ) but working in all browsers (phones & desktops) 有没有办法将 Microsoft Teams 应用程序集成到我们的自定义应用程序中? - Is there any way to Integrate Microsoft Teams App in our custom app? 适用于Android的Eclipse调试配置选项卡 - Eclipse Debug Configuration Tab for Android Android Studio中缺少调试选项卡 - Missing debug tab in Android Studio Android:如何将自定义标签添加到TabbedActivity? - Android: How to add custom tab to TabbedActivity? 如何在Android中实现自定义标签托管 - How to implement custom Tab Host in Android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM