Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove IPlatformNavigationService #2172

Merged
merged 2 commits into from
Aug 22, 2020
Merged

Remove IPlatformNavigationService #2172

merged 2 commits into from
Aug 22, 2020

Conversation

dansiegel
Copy link
Member

Description of Change

The IPlatformNavigationService is a legacy artifact from the initial Prism 7 attempt to update Prism for UWP with a common interface between Xamarin.Forms and UWP. Since this effort was ultimately failed, the INavigationService was moved back to Prism.Forms from Prism.Core. As a result IPlatformNavigationService is no longer needed and ultimately just creates more headaches for people who are using something like Moq for their Unit Tests.

This PR also resolves a secondary issue as the NavigationService was updated during that effort to return a NavigationResult with the Exception. As a result there is no reason for us to use the ILoggerFacade to log any exceptions as the exception is passed back via the NavigationResult and should be handled in the users code.

Bugs Fixed

API Changes

Migrates the IPlatformNavigationService API into the INavigationService

Behavioral Changes

none

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Remove IPlatformNavigation
1 participant