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
AddGlobalNavigationObservermethod on thePrismAppBuilderto capture any errors that occur when navigating between pages using theINavigationService.I currently have a problem where I am trying to use
IDialogService.ShowDialogAsyncto 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.ShowDialogAsyncnever returns I cannot use theExceptionproperty of theIDialogResult, so I am hoping there may be something similar to theAddGlobalNavigationObserverthat I can use to intercept any errors.Note: There appears to be no output to any of the
ILoggingreceivers configured either!Beta Was this translation helpful? Give feedback.
All reactions