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.
The code to show it:
if (LocalSession.Device.IDDevice == 0) // Does not exist as registered device
{
Device.BeginInvokeOnMainThread(() =>
{
DisplayAlert("Atención", "No existe el dispositivo en el sistema. Consulte al administrador. IMEI:" + LocalSession.IMEI, "Aceptar").Wait();
});
}
Also tested without the Device.BeginInvokeOnMainThread
and still not working.
Any direction will be appreciated.
HUAWEI Y9 Prime - EMUI -10.0.0.427