Bug 43576 - PushAsync is not supported globally on...
Summary: PushAsync is not supported globally on...
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.1
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-08-21 18:42 UTC by Alessandro
Modified: 2016-09-26 14:59 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Alessandro 2016-08-21 18:42:29 UTC
I have this problem when, during a Navigation, I push a Modal page and then I push a Non Modal page.
If I execute PushModalAsync, my Page appears. In this (modal) page I execute a PushAsync, I have the error "PushAsync is not supported globally on Android (iOS), please use a NavigationPage.
I (think to) use a NavigationPage.

Here a repo

https://github.com/acaliaro/TestNavigationPage
Comment 1 adrianknight89 2016-09-07 18:42:51 UTC
I'm not an expert, but why are you pushing a non-modal page from a modal page? You should push another modal page instead. Continue with non-modal pages when you clear out the modal stack.