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

PushModelAsync and Shell GoToAsync is not working in .NET MAUI android while we are navigating to Tabbed page from content page #12541

Closed
MandeepSaini27 opened this issue Jan 10, 2023 · 1 comment
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/android 🤖 t/bug Something isn't working

Comments

@MandeepSaini27
Copy link

MandeepSaini27 commented Jan 10, 2023

Description

PushModelAsync and Shell GoToAsync is not working in .NET MAUI android while we are navigating to Tabbed page from content page. Please have below points to reproduce the same.
Project type = .NET MAUI
Target .NET Runtime = net6.0 also tested on .net7.0 as well
Microsoft MAUI Dependency = 6.0.547
Issue - While we are navigating to TabbedPage from content page its showing error Object reference not set as instance of object

Steps to Reproduce

  1. Create .NET MAUI project with AppShell and main Page.
  2. Add Tabbed page and register it on App Shell RegisterRoute(Routing.RegisterRoute("TabbedPage1", typeof(TabbedPage1));)
  3. Create button on Main page and its click event to navigate to tabbed page=
  4. private async void GoToTabbedPageButtonClicked(object sender, EventArgs e)
    {
    await Shell.Current.GoToAsync("TabbedPage1");
    }
  5. While tapping on button its giving error object reference not set instance of object

Link to public reproduction project repository

NA

Version with bug

6.0.312

Last version that worked well

6.0.312

Affected platforms

Android

Affected platform versions

Android 11

Did you find any workaround?

No response

Relevant log output

No response

@MandeepSaini27 MandeepSaini27 added the t/bug Something isn't working label Jan 10, 2023
@MandeepSaini27 MandeepSaini27 changed the title PushModelAsync is not working with .NET MAUI Tabbed Page in Android Platfrom PushModelAsync and Shell GoToAsync is not working in .NET MAUI android while we are navigating to Tabbed page from content page Jan 10, 2023
@PureWeen
Copy link
Member

Duplicate of #6389
Duplicate of #7615

@PureWeen PureWeen closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Feb 9, 2023
@samhouts samhouts added the area-controls-shell Shell Navigation, Routes, Tabs, Flyout label Aug 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/android 🤖 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants