When media picker is opened from a detail page in shell, then after returning from the picker task completion only the on appearing of the parent page is called but not of the detail page.
I have attached Xaminals
Xaminals.zip
sample code in which I have added a gallery picker on button click in CatDetailPage
The OnAppearing should be called for CatDetailPage
The OnAppearing of CatsPage is called
You can also reproduce this by just backgrounding the app while on the CatsDetailsPage and then coming back to it
@PureWeen I found another issue related to this.
If after backgrounding and coming back to the app, I try to call await Shell.Current.Navigation.PopToRootAsync(false); then the OnAppearing does not get called for any page.
I have added a button to call PopToRootAsync in the Xaminals sample which can be found below
Xaminals.zip
Does this issue occur on both iOS & Android for you? I'm only experiencing this issue on Android.
Most helpful comment
@PureWeen I found another issue related to this.
If after backgrounding and coming back to the app, I try to call await Shell.Current.Navigation.PopToRootAsync(false); then the OnAppearing does not get called for any page.
I have added a button to call PopToRootAsync in the Xaminals sample which can be found below
Xaminals.zip