Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tiennguyen1293 opened this issue Nov 13, 2024 · 4 comments
Open

Comments

@tiennguyen1293
Copy link

I defined a URL to redirect to Chat Tab

https://teams.microsoft.com/l/entity/0/0?context={"chatId":"19:[email protected]","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:[email protected]","contextType":"chat"}`);    
          microsoftTeams.app.openLink("https://teams.microsoft.com/l/entity/0/0?"+"&context="+taskContext);
         
      })
  }

Teams Android Version: 1416/1.0.0.2024193102

image

Android-redirect-issue-1.mp4

Please help me to investigate.

@Meghana-MSFT
Copy link

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

@Meghana-MSFT
Copy link

@tiennguyen1293 - We checked this at our end in Teams web client and Android client. We used the function you shared above by changing the chat id. It's working in web client but is giving "The tab doesn't exist" popup in Android. Do you also see a similar popup or clicking on button does nothing in Android.

@tiennguyen1293
Copy link
Author

Hi @Meghana-MSFT yeah, its same issue with me.

@Meghana-MSFT
Copy link

@tiennguyen1293 - We were able to reproduce the issue in the Android Teams version 14. We have reported this as a bug for further investigation.

We will keep you updated as soon as we receive further information. Thank you for bringing this to our attention!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants