2

I am using the following command to open a new page:

OpenPageCmd = new Command<string>(async (route) => await Shell.Current.GoToAsync(route));

I am using this command to go back to the page:

Shell.Current.Navigation.PopAsync();

OnAppearing is being called in iOS but not in Android with XF 4.1.0.709244

Note that I am not using the latest XF as that's causing other known issues that stop the app from working properly.

Does anyone have any ideas on how to fix this. It's a serious problem for me and holding up release of the app.

pinedax
  • 9,246
  • 2
  • 23
  • 30
Alan2
  • 23,493
  • 79
  • 256
  • 450

2 Answers2

2

I don't think they implemented shell lifecycle until XF 4.2

CSharpMinor
  • 202
  • 1
  • 9
0

Unfortunately, there was a bug in XF 4.1 where the OnAppearing methods was not executing that was resolved in XF 4.2. While I understand not being able to update due to other issues that may occur, this may be a case where a choice needs to be made as to which route will be the easier to work around.

Andrew
  • 1,390
  • 10
  • 21