AddGlobalNavigationObserver equivelent for IDialogService? #3263
Unanswered
MartinRobins
asked this question in
.NET MAUI
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Within the later versions of Prism, you can add a reference to the Prism.Maui.Rx package and then use the
AddGlobalNavigationObserver
method on thePrismAppBuilder
to capture any errors that occur when navigating between pages using theINavigationService
.I currently have a problem where I am trying to use
IDialogService.ShowDialogAsync
to show a dialog. The dialog shows correctly on Android, but does not show at all on iOS and I am trying to see if I can find the reason. Since the call toIDialogService.ShowDialogAsync
never returns I cannot use theException
property of theIDialogResult
, so I am hoping there may be something similar to theAddGlobalNavigationObserver
that I can use to intercept any errors.Note: There appears to be no output to any of the
ILogging
receivers configured either!Beta Was this translation helpful? Give feedback.
All reactions