MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
289 stars 513 forks source link

Emulate mobile devices (Device Emulation) not work #8920

Open KaratLee opened 1 year ago

KaratLee commented 1 year ago

Enter the mobile emulator mode according to the following document, the result prompts 'Hmm, your browser version is not support'. I've tried both Chrome and Microsoft Teams, same result. Not just me, many colleagues like this.

MacOS version: 13.4 (22F66) Chrome version: 114.0.5735.133 (Official Build) (arm64) Microsoft Edge version: 114.0.1823.41 (Official build) (arm64)

https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/device-mode/

image
ghost commented 1 year ago

Hi KaratLee! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

Meghana-MSFT commented 1 year ago

We are mainly responsible for Teams app development related queries, could you please raise this using the feedback link provided in the document you are referring to?

image

KaratLee commented 1 year ago

Okay, i will do, thanks.

captainbrosset commented 1 year ago

@KaratLee filed this issue on the Edge developer documentation repo about this: https://github.com/MicrosoftDocs/edge-developer/issues/2673

Unfortunately, I don't think this is an Edge issue here. KaratLee wants to use the device emulation mode in Edge to test Teams under a mobile environment. However, when they do this, Teams only loads a "browser not supported" message and suggests the user to download the mobile app instead.

This isn't a problem with the device emulation mode in Edge. This mode only simulates a smaller screen and sends a mobile browser user agent string. It seems like Teams is using this user agent string and returning the "browser not supported" message.

@KaratLee could you explain what you want to do with Teams exactly, and why you need to emulate a mobile device. Based on this, I'm sure @Meghana-MSFT will have suggestions for you to achieve your tasks.

Thanks!

KaratLee commented 1 year ago

@captainbrosset @Meghana-MSFT I want to develop the function of my own app on the Teams mobile terminal, so I need to use the mobile phone emulator on the browser to enter the developer mode in order to observe the request and response. I remember that this function was available before, and we through this function developed the Teams mobile app before.

KaratLee commented 1 year ago

@Meghana-MSFT Can you help follow this question?

Meghana-MSFT commented 1 year ago

@KaratLee - We will check this and get back to you. Thank you.

KaratLee commented 1 year ago

Hi @Meghana-MSFT , how is this going?