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

DeviceGestureServiceOnGoBackRequested fires two times on Win10 UWP #1070

Closed
SunboX opened this issue May 30, 2017 · 1 comment
Closed

DeviceGestureServiceOnGoBackRequested fires two times on Win10 UWP #1070

SunboX opened this issue May 30, 2017 · 1 comment
Labels

Comments

@SunboX
Copy link
Contributor

SunboX commented May 30, 2017

The DeviceGestureServiceOnGoBackRequested fires two times on Windows 10 Mobile. That leads to the app exiting instead of just navigation back to the main view. This is because of the Prism library listening for two events:

Regarding to the Microsoft docs:

In Windows 10, the back button event is a universal concept. Back buttons implemented in hardware or in software will all raise the BackRequested event, so that's the one to handle.

Source: https://docs.microsoft.com/en-us/windows/uwp/porting/w8x-to-uwp-porting-to-a-uwp-project#conditional-compilation-and-adaptive-code

..the hardware back button should only be handled on Windows Phone (...<=8.1 ... not Windows 10 Mobile)

@SunboX SunboX changed the title DeviceGestureServiceOnGoBackRequested firest two times on Win10 UWP DeviceGestureServiceOnGoBackRequested fires two times on Win10 UWP May 30, 2017
@lock
Copy link

lock bot commented Jan 30, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants