We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2370080 commit ada43eeCopy full SHA for ada43ee
2 files changed
integration-test/net9-maui/App.xaml.cs
@@ -102,8 +102,6 @@ public static void Kill()
102
SentrySdk.Close();
103
104
#if ANDROID
105
- // prevent auto-restart
106
- Platform.CurrentActivity?.FinishAffinity();
107
Process.KillProcess(Process.MyPid());
108
#elif IOS
109
System.Environment.Exit(0);
integration-test/net9-maui/MainPage.xaml.cs
@@ -5,12 +5,10 @@ public partial class MainPage : ContentPage
5
public MainPage()
6
{
7
InitializeComponent();
8
- }
9
-
10
- protected override void OnAppearing()
11
- {
12
- base.OnAppearing();
13
14
- App.OnAppearing();
+ this.Loaded += (s, e) =>
+ {
+ App.OnAppearing();
+ };
15
}
16
0 commit comments