Feb 12 2024 05:49 AM - edited Feb 12 2024 06:04 AM
I have a sideloaded app that load pretty quick (less than 2 seconds) in new Teams.
But when i chose to pop out, open in new window, it takes 20-30 seconds to load the same app.
This works very quick in classic Teams.
If i switch to the about tab and then pop it out and then back to my app tab it loads quickly.
What happens when you pop out the app?
What is taking such a long time?
Feb 12 2024 06:32 AM
@ChristopherEdling - When the app is popped out, it goes through the initialization process again. This process involves loading dependencies, fetching data, and setting up the app's UI. If the app's initialization process is complex or time-consuming, it can contribute to the delay.
We are mainly responsible for Microsoft Teams app development related issues.
For Microsoft Teams product issues/failures your tenant Admin can reach out to Microsoft 365 Product Support.
For general questions about Microsoft Teams please post your question on Microsoft Teams Community.
Thanks,
Prasad Das
Feb 12 2024 11:32 PM
Feb 13 2024 10:07 PM
May 29 2024 03:19 AM
Aug 06 2024 10:05 PM
@ChristopherEdling - As we are unable to repro this issue at our end, could you please share any deployed app, so that we can test at our end and raise bug for this?
Aug 06 2024 11:34 PM
I have a small test manifest you can use. All it does is loading a Swedish newspaper (dn.se) in the app.
It loads quick in Teams but if you click the "..." and then "Open app in new window" it opens a new window and it takes long time to load.
Aug 07 2024 01:47 AM
@ChristopherEdling - Thanks for sharing the manifest. It was super helpful. We are able to repro this issue. We have raised a bug for the same. We will inform you once we get any further update from engineering team.
Thanks!
Aug 08 2024 01:36 AM
Solution@ChristopherEdling , we got update from engineering team stating that, this is happening because the app never initializes the App SDK (i.e. teams-js). While Teams apps are built on the same web technologies as standard web sites, there are some requirements that they need to meet as documented here:
https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/tab-requirements
app.initialize()
, or else your page isn't displayed.Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
Aug 11 2024 10:59 PM
Aug 23 2024 01:53 AM
Aug 08 2024 01:36 AM
Solution@ChristopherEdling , we got update from engineering team stating that, this is happening because the app never initializes the App SDK (i.e. teams-js). While Teams apps are built on the same web technologies as standard web sites, there are some requirements that they need to meet as documented here:
https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/tab-requirements
app.initialize()
, or else your page isn't displayed.Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.