Prism icon indicating copy to clipboard operation
Prism copied to clipboard

[XF] Using absolute navigation that clear navigation stack on Win10 Mobile

Open vulcanlee opened this issue 10 years ago • 2 comments

  • Platform: Android and Windows UWP
  • Prism version: 6.2
  • Xamarin version (if applicable): 4.1.12.18
  • Windows 10 SDK version (if applicable): Windows 10 Anniversary Edition (10.0; Build 14393)

In order to illustrate the problem, I have a testing VS solution:

. MainPage is ContentPage and has a button element, when click this button that will issue a navigate page

. On second ContentPage, it has a button element, when click this button that will issue a absolution navigate to MainPage

When I run this app on Android emulator, it work fine, you can see Emulator execution operation video

Android Emulator execution operation video

When I run this app on Windows 10 Mobile emulator, the navigateion stack is not empty, you can see Emulator execution operation video

Windows 10 Mobile Emulator execution operation video

I also upload my test Visual Studio solution zip file,you can download and build and run on Android or WIndows 10 Mobile that will see my problem.

Visual Studio Solution Zip file

I have referenced the issue 637 and upgrade the Xamarin.Forms of my all projects to version 2.3.2.118-pre and 2.3.1.114, this problem also appear.

vulcanlee avatar Aug 25 '16 06:08 vulcanlee

I am sorry

I find my problem is not using absolute Uri

_navigationService.NavigateAsync(new Uri("http://www.brianlagunas.com/MainPage", UriKind.Absolute);

So, I close this issue.

vulcanlee avatar Aug 25 '16 08:08 vulcanlee

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[bot] avatar Jan 30 '20 22:01 lock[bot]