App works on desktop but not on mobile

%3CLINGO-SUB%20id%3D%22lingo-sub-2947298%22%20slang%3D%22en-US%22%3EApp%20works%20on%20desktop%20but%20not%20on%20mobile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2947298%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22%22%3E%3CP%3EWe%20added%20an%20app%20to%20our%20own%20organization.%20It%20works%20on%20the%20desktop%20client%20but%20not%20on%20the%20mobile%20client.%3CBR%20%2F%3EI%20see%20the%20app%20but%20when%20I%20open%20it%2C%20it%20just%20stays%20black.%3CBR%20%2F%3EWe%20use%20the%20loginHint%20in%20the%20contentUrl.%3C%2FP%3E%3CP%3EWe%20use%20the%20following%20config%20for%20the%20staticTabs%3A%3CBR%20%2F%3E%22staticTabs%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22entityId%22%3A%20%22de.someid.startTab%22%2C%3CBR%20%2F%3E%22name%22%3A%20%22App%20Name%22%2C%3CBR%20%2F%3E%22contentUrl%22%3A%20%22%3CA%20href%3D%22https%3A%2F%2Fserver%2Fappname%2Fapp%2Fteams%3Fuid%3D%7BloginHint%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fserver%2Fappname%2Fapp%2Fteams%3Fuid%3D%7BloginHint%3C%2FA%3E%7D%22%2C%3CBR%20%2F%3E%22scopes%22%3A%20%5B%3CBR%20%2F%3E%22personal%22%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2947298%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECustom%20Tab%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2952735%22%20slang%3D%22en-US%22%3ERe%3A%20App%20works%20on%20desktop%20but%20not%20on%20mobile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2952735%22%20slang%3D%22en-US%22%3EI%20am%20trying%20to%20repro%20this%20issue%20with%20the%20custom%20app.%20Will%20update%20you%20soon%20with%20the%20findings.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2959721%22%20slang%3D%22en-US%22%3ERe%3A%20App%20works%20on%20desktop%20but%20not%20on%20mobile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2959721%22%20slang%3D%22en-US%22%3EI%20tried%20this%20and%20it%20was%20working%20fine%20on%20mobile%20as%20well.%20Which%20mobile%20OS%20you%20are%20facing%20this%20issue%20on%3F%20Could%20you%20please%20share%20version%20of%20OS%20as%20well%20Teams%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2964790%22%20slang%3D%22en-US%22%3ERe%3A%20App%20works%20on%20desktop%20but%20not%20on%20mobile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2964790%22%20slang%3D%22en-US%22%3EAny%20updates%20on%20this%20issue%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2964792%22%20slang%3D%22en-US%22%3ERe%3A%20App%20works%20on%20desktop%20but%20not%20on%20mobile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2964792%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1092873%22%20target%3D%22_blank%22%3E%40HunaidHanfee-MSFT%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20Android%2011%20with%20MS%20Teams%20Version%201416%2F1.0.0.2021173701%2F1103%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2965290%22%20slang%3D%22en-US%22%3ERe%3A%20App%20works%20on%20desktop%20but%20not%20on%20mobile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2965290%22%20slang%3D%22en-US%22%3ECould%20you%20please%20check%20if%20you%20are%20getting%20any%20error%20with%20DevTools%20for%20Android%20-%20%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Ftabs%2Fhow-to%2Fdeveloper-tools%23access-devtools-from-an-android-device%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Ftabs%2Fhow-to%2Fdeveloper-tools%23access-devtools-from-an-android-device%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2965451%22%20slang%3D%22en-US%22%3ERe%3A%20App%20works%20on%20desktop%20but%20not%20on%20mobile%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2965451%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1092873%22%20target%3D%22_blank%22%3E%40HunaidHanfee-MSFT%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20activated%20the%20Developer%20Preview%20of%20my%20Teams%20Client%20on%20the%20Android%20device%20but%20I%20could%20not%20see%20the%20Teams%20App%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22relkniw_0-1636981434753.png%22%20style%3D%22width%3A%20616px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327048iBFE644B5F64DC200%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22relkniw_0-1636981434753.png%22%20alt%3D%22relkniw_0-1636981434753.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

We added an app to our own organization. It works on the desktop client but not on the mobile client.
I see the app but when I open it, it just stays black.
We use the loginHint in the contentUrl.

We use the following config for the staticTabs:
"staticTabs": [
{
"entityId": "de.someid.startTab",
"name": "App Name",
"contentUrl": "https://server/appname/app/teams?uid={loginHint}",
"scopes": [
"personal"
]
}

15 Replies
I am trying to repro this issue with the custom app. Will update you soon with the findings.

Thanks
I tried this and it was working fine on mobile as well. Which mobile OS you are facing this issue on? Could you please share version of OS as well Teams?

Thanks
Any updates on this issue?

@HunaidHanfee-MSFT 

It's Android 11 with MS Teams Version 1416/1.0.0.2021173701/1103

Could you please check if you are getting any error with DevTools for Android -
https://docs.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/developer-tools#access-devtools...

@HunaidHanfee-MSFT 

I have activated the Developer Preview of my Teams Client on the Android device but I could not see the Teams App:

relkniw_0-1636981434753.png

 

@relkniw - That's weird, can you please try signing out and login back into the Teams mobile client. Can you check if you can access Teams on browser?

@HunaidHanfee-MSFT 

 

 Now I see my application, but if I inspect it nothing is displayed: no Elements and no Console output.

 

relkniw_4-1637147084232.png

 

relkniw_5-1637147091960.png

 

 

relkniw_6-1637147100032.png

 

 

Can you check if app is working when accessing Teams on web browser - https://teams.microsoft.com?

@HunaidHanfee-MSFT 

I tried with a Samsung S20 5G and Android 11:

- Chrome 95.0.4638.74

- Firefox 94.1.2

- Samsung Internet 15.0.6.3

- Edge 95.0.120.55

 

and a Apple iPhone 11 integrated Browser.

 

I always get the message that the browser version is not supported and to download the app.

 

 

Thanks for sharing the information.
We have tested this scenario with the HelloWorld application and faced no issue on Desktop as well as on mobile both Android and iOS. Could you please share the manifest with the actual URL that you are using(if possible). So that we can test this out at our end and check what is going wrong.
About testing on browser, I meant to check it on Desktop Browser not mobile. Can you check it once and see if it is working?

I have send you a private message with the manifest.json file.

Yes it works on Desktop Browser.

We can see it's not working on mobile even after adding the domain in valid domains. Can you please share how you are authenticating the app? When tried to access it was asking for some PIN.

Need your input to understand it accurately.
Thanks

@HunaidHanfee-MSFT 

We are using adfs for the authentication.

Did you get the PIN query on the mobile or on the desktop?

 

On desktop only. I will confirm internally if that is the reason why it's not working.