title: Xamarin Forms (DisplayAlert): Not displaying and blocking physical phone
body: <p>Weird situation. DisplayAlert, in a XF app, is working in the emulator, in a Huawei Y9 (Android 9), but not in a Huawei Y9 Prime (Android 10). Is not poping and freezes the app.</p>
  <p>The code to show it:</p>
  <pre><code>if (LocalSession.Device.IDDevice == 0) // Does not exist as registered device
  {
     Device.BeginInvokeOnMainThread(() =&gt;
     {
        DisplayAlert(&quot;Atención&quot;, &quot;No existe el dispositivo en el sistema. Consulte al administrador. IMEI:&quot; + LocalSession.IMEI, &quot;Aceptar&quot;).Wait();
     });
  }
  </code></pre>
  <p>Also tested without the <code>Device.BeginInvokeOnMainThread</code> and still not working.</p>
  <p>Any direction will be appreciated.</p>
  <p><strong>HUAWEI Y9 Prime - EMUI -10.0.0.427</strong></p>