title: MSTeams tab app working on desktop, browser and iOS, but not working on Android
body: <p>I am working on a tab app for MSTeams. I've got everything working as expected on desktop app, on a browser and on iOS. However, when I try to access the tab on an Android device it seems that <code>entityId</code> is overwritten.</p>
  <p>This is what I have in <code>registerOnSaveHandler()</code>:</p>
  <pre><code>    microsoftTeams.settings.registerOnSaveHandler((saveEvent) =&gt; {
          microsoftTeams.settings.setSettings({
              websiteUrl: &quot;https://{{ teams_app_domain }}/&quot;,
              contentUrl: &quot;https://{{ teams_app_domain }}/msteams/content/?name={loginHint}&amp;tenant={tid}&amp;group={groupId}&amp;channelId={channelId}&amp;teamSiteDomain={teamSiteDomain}&amp;entityId={entityId}&quot;,
              entityId: config,
              suggestedDisplayName: &quot;Display Name&quot;
          });
          saveEvent.notifySuccess();
      });
  </code></pre>
  <p>Which is matching what the docs says the handler expects. I've tried updating the <code>websiteUrl</code> and making it exactly the same as <code>contentUrl</code> as this article <a href="https://docs.microsoft.com/en-us/microsoftteams/platform/tabs/design/tabs-mobile" rel="nofollow noreferrer">here</a> suggested, but this didn't work either.</p>
  <p>However, I found these two issues on GitHub (from early last year), which exactly match the behaviour I am seeing</p>
  <p><a href="https://github.com/MicrosoftDocs/msteams-docs/issues/1335" rel="nofollow noreferrer">https://github.com/MicrosoftDocs/msteams-docs/issues/1335</a></p>
  <p><a href="https://github.com/MicrosoftDocs/msteams-docs/issues/1251" rel="nofollow noreferrer">https://github.com/MicrosoftDocs/msteams-docs/issues/1251</a></p>
  <p>Those two are marked as resolved, but I think that the issue is still active.</p>
  <p>If anyone had experienced that or knows a workaround and wants to share it - it will be highly appreciated</p>