Teams tab app does not load sharepoint site properly in mobile

DevAsith 51 Reputation points
2021-07-23T09:35:27.013+00:00

I have teams tab app and user is redirected to their SharePoint site using teamslogon.aspx path as following coding . but fresh installers get loading screen . is there any reason that?

var url= https://${DOMAIN_URL}/_layouts/15/teamslogon.aspx?spfx=true&dest=/${SITE_URL};
window.location.replace( url );

manifest .json file

 {  
...  
...  
  
  "staticTabs": [  
        {  
            "entityId": "16f1325347cb",  
            "name": "Portals7",  
            "contentUrl": "https://my-site-url.io/Tab?loginHint={loginHint}&userObjectId={userObjectId}&userPrincipalName={userPrincipalName}&tenantId={tid}&locale={locale}&theme={theme}&userPrincipalName={userPrincipalName}",  
  
            "websiteUrl": "https://my-site-url.io/Tab",  
           
            "scopes": ["personal"],  
            "supportedPlatform" : ["desktop"]  
        }  
    ],  
  "permissions": [  
    "identity",  
    "messageTeamMembers"  
  ],  
  "validDomains": [  
  "my-site-url.io",  
    
    "*.login.microsoftonline.com",  
    "*.sharepoint.com",  
    "*.sharepoint-df.com",  
    "spoppe-a.akamaihd.net",  
    "spoprod-a.akamaihd.net",  
    "resourceseng.blob.core.windows.net",  
    "msft.spoppe.com"  
  ],  
  "webApplicationInfo": {  
    "id": "00000003-0000-0ff1-ce00-000000000000",  
    "resource": "https://{teamSiteDomain}"  
  }  
}   

117329-89002423-60958200-d340-11ea-9f1b-978e12b16c6b.png

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,546 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.