Crash when showing iOS permission to access location #117
Open
Description
Occurs when the app is showing a popup from Mopups (1.3.1) and has to display a Map (Microsoft.Maui.Controls.Maps). Permission to access location is requested and when accepted, the app crashes.
Note: the workaround used in this issue (#95) prevents the crash.
public override void OnActivated(UIApplication application)
{
(application.ConnectedScenes.AnyObject as UIWindowScene)?.Windows.FirstOrDefault()?.MakeKeyWindow();
base.OnActivated(application);
}
public override void OnResignActivation(UIApplication application)
{
(application.ConnectedScenes.AnyObject as UIWindowScene)?.Windows.FirstOrDefault()?.MakeKeyWindow();
base.OnResignActivation(application);
}
Metadata
Assignees
Labels
No labels