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

[BUG] App crashes on iOS using the attached project sample #3297

Open
AhmedAdelGadElkareeem opened this issue Jan 6, 2025 · 1 comment
Open

Comments

@AhmedAdelGadElkareeem
Copy link

Description

This sample project works fine on android palatform the issue in iOS only.

1- when i used prism in navigation the app crashes if i started with home page using navigation page

2- the navigation not working if i navigate to home page from language page when click on button

if i navigated to home page without using NavigationPage/MainPage/HomePage >> the app works fine

Screenshot 2025-01-06 at 8 51 02 AM

project sample
PrismDemo.zip

Steps to Reproduce

1- create NET MAUI app
2- add prism nuget
3- try to navigate to home page using NavigationPage but app crashed
4- if i navigate without Navigation page app works fine

5- this sample project working fine on android palatform

Platform with bug

.NET MAUI

Affected platforms

iOS

Did you find any workaround?

no

Relevant log output

No response

@AhmedAdelGadElkareeem
Copy link
Author

AhmedAdelGadElkareeem commented Jan 7, 2025

@haacked @SunboX @augustoproiete

also when i used these solutions

var result = await navigation.NavigateAsync("NavigationPage/HomePage");
var result1 = await navigation.NavigateAsync("NavigationPage/MainPage/HomePage");
var result2 = await navigation.NavigateAsync("MainPage/NavigationPage/HomePage");
var result3 = await navigation.NavigateAsync("HomePage");

only the last one (result3) is working fine

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

No branches or pull requests

1 participant