OfficeDev / microsoft-teams-library-js

JavaScript library for use by Microsoft Teams apps
https://docs.microsoft.com/microsoftteams/platform/
Other
431 stars 199 forks source link

`executeDeepLink` or `app.openLink` not working on Teams Android App #2617

Open tiennguyen1293 opened 1 day ago

tiennguyen1293 commented 1 day ago

I defined a URL to redirect to Chat Tab

https://teams.microsoft.com/l/entity/0/0?context={"chatId":"19:49633b4f30534d81822c455bf70f5bd3@thread.v2","contextType":"chat"}

and use executeDeepLink for Teams SDK v1 and app.openLink Teams SDK v2 but it's just working on Teams Desktop App and Teams IOS App.

// Deeplink to chat tab
  function deeplinkConversation1() {
      microsoftTeams.app.getContext().then((context) => {
          let taskContext = encodeURIComponent(`{"chatId": "19:5f09061bbf1d4fbb887036b5f6e17713@thread.v2","contextType":"chat"}`);    
          microsoftTeams.app.openLink("https://teams.microsoft.com/l/entity/0/0?"+"&context="+taskContext);

      })
  }

Teams Android Version: 1416/1.0.0.2024193102

image

https://github.com/user-attachments/assets/5049a2dd-3839-427a-b7f7-caa74e390704

Please help me to investigate.

microsoft-github-policy-service[bot] commented 1 day ago

Hi tiennguyen1293! 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 23 hours ago

@tiennguyen1293 - Thank you for reporting this issue. We will test this issue in Android and raise bug.