title: Teams token not getting generated on Mobile app but works fine on Web and Desktop
body: <p>My custom app is in Angular and everything was working fine till a few weeks back. I was able to log in and generate tokens on both Web and Mobile app versions for the custom app but surprisingly now, it has stopped working now. I cannot see where the issue is now. I have tested on Android ( Version 11 )</p>
  <p>&quot;@microsoft/teams-js&quot;: &quot;1.10.0&quot;</p>
  <p>Here is my code snippet.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import * as microsoftTeams from '@microsoft/teams-js';
  
  microsoftTeams.initialize(() =&gt; {
        this.microsoftAppAuth();
   });
  
  microsoftAppAuth() {
      microsoftTeams.registerOnThemeChangeHandler((theme) =&gt; {
        setTheme(theme);
      });
  
      function setTheme(theme) {
        if (theme) {
          document.body.className =
            'theme-' + (theme === 'default' ? 'light' : theme);
          localStorage.setItem('theme', document.body.className);
        }
      }
  
      const authTokenRequest = {
        successCallback: (result) =&gt; {
          this.authService.setToken(result);
          microsoftTeams.appInitialization.notifySuccess(); // important in case of "showLoadingIndicator": true in manifest file
          localStorage.setItem('msteam', '1');
        },
  
        failureCallback: (error) =&gt; {
          console.log('Inside Teams Login Failure: ' + error);
        },
      };
      microsoftTeams.getContext((context) =&gt; {
         if (context) {
          if (context.theme) {
            setTheme(context.theme);
          }
          if (context.locale !== undefined &amp;&amp; context.locale !== '') {
            this.translateService.use(context.locale.match(/es|es-ES/) ? 'es' : 'en');
          }
        }
        microsoftTeams.authentication.getAuthToken(authTokenRequest);
      });
    }</code></pre>
  </div>
  </div>
  
  Like I mentioned in the title, the above code works fine in the Teams web version the only issue I am facing is on Mobile App.</p>