3,805 questions with .NET MAUI tags

Sort by: Updated
0 answers

test return value after executing NavigateToAsync command

The following code works perfectly. but now I want to test the value returned in a global variable. OnEditCommand = new Command(OnEditCommandAction); public async void OnEditCommandAction(object SelectedObj) { FilterList…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,338 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,184 questions
asked 2025-01-11T21:01:01.0633333+00:00
tim 200 Reputation points
1 answer

Firebase Analytics not logging events in MAUI .net9 for both iOS and Android ?

Hi, Firebase dashboard is not registering any logs for my MAUI app. I am using Xamarin.firebase.Analytics for Android and AdamE.Firebase.iOS.Analytics for iOS. .csproj <ItemGroup Condition="'$(TargetFramework)' == 'net9.0-ios'"> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2024-12-02T14:09:37.8866667+00:00
Jermin Contractor 0 Reputation points
commented 2025-01-11T16:55:57.15+00:00
Christopher Meehan 0 Reputation points
0 answers

How set Custom Info Window in .net maui Android?

I have Implement customization in map. In which I have created cluster of pin and when click on pin a custom Info Window need to be open. After spending couple of hours I found that the issue is that need to set InfoWindowAdapter in clustermanager. But…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-11T15:27:12.7233333+00:00
Pratham 0 Reputation points
edited the question 2025-01-11T15:39:22.1633333+00:00
Pratham 0 Reputation points
0 answers

I get the error Could not find a part of the path C:\... when I install a NuGet package

I get this error when I try to install the NuGet package Xamarin.Firebase.iOS.Crashlytics version 8.10.0.3 in Visual Studio on Windows: Could not find a part of the path…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,370 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-11T13:05:12.83+00:00
Kim Strasser 1,201 Reputation points
0 answers

WebView Navigated Event Not Triggered in .NET MAUI

I am experiencing an issue with the WebView control in my .NET MAUI app where the Navigated event does not fire after navigation. Here’s the scenario: The Source property of the WebView is set to a valid URL. I have subscribed to the Navigated event…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2024-12-04T09:00:00.18+00:00
Manjunath Vadigeri 0 Reputation points
edited a comment 2025-01-10T20:38:09.34+00:00
LMiles 6 Reputation points
0 answers

Is it possible in .net Maui to get access to the current binding for a bindableproperty?

I want to be able to access the binding for a bindable property not the bound value the BindingBase that was created that controls the binding process. Specifically I want to get the path that was specified when the binding was created (usually in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-10T19:50:11.6+00:00
Jeff Pfahl 91 Reputation points
1 answer

.NET MAUI and flutter

I’m still new to .NET but have a basic understanding of C#. I’ve also worked with Flutter, but I find its extensive widgets overwhelming and hard to read. This has made me consider focusing on .NET instead. For someone relatively new to .NET but familiar…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-10T12:33:37.87+00:00
Rendy Putrayana 0 Reputation points
edited an answer 2025-01-10T18:12:57.7533333+00:00
Bruce (SqlWork.com) 69,121 Reputation points
0 answers

.NET MAUI Migration from Xamarin.forms

Hi, as a result of migrating from xamarin to .NET MAUI, using the migration tool “Upgrade Assistant” provided by microsoft, I have resolved the various errors related to solution compilation. The code compiles correctly and even manages to emulate on…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,370 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-09T16:13:59.0733333+00:00
Mattia Pisilli 0 Reputation points
commented 2025-01-10T17:07:28.9933333+00:00
Mattia Pisilli 0 Reputation points
0 answers

unexpected behavior when navigating between pages in my Maui App using AppShell .

I'm using AppShell for navigation in my .NET MAUI application. However, sometimes when I click on a menu item, an unexpected new line appears at the top of my app. This line remains visible until I completely exit the application. What could be causing…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
826 questions
asked 2025-01-10T10:02:56.25+00:00
Graja Kaouthar 20 Reputation points
0 answers

In MAUI it will re-open my APP when I quit and open another app

in MAUI Platform IOS: I open my app and open Page1 and then tab the screen to open another APP and then quit that APP then return to my APP the Page1 is disappeared and it is the home page. does it closed and re-open? how to keep the Page1(or other…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-09T10:00:45.93+00:00
mc 5,041 Reputation points
commented 2025-01-10T08:08:03.57+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,226 Reputation points Microsoft Vendor
1 answer

Burn Selected Folders/Files in CD-Rom

Hi, I have treeview of drive/folders + files as you see . While pressing on copy command I copied the selected files to temp folder. I want code that will burn this files with all folder structure not only the files to CD-ROM. Can you please supply all…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-05T12:14:51.6766667+00:00
Dani_S 3,911 Reputation points
commented 2025-01-10T07:51:46.1933333+00:00
Dani_S 3,911 Reputation points
1 answer

Unable to display alert after modal popup

I have an issue I am unable to solve. In this code: var popupPage = new myPopup(); var taskCompletionSource = new TaskCompletionSource<bool>(); // Set up an event to resolve the task when the modal is dismissed popupPage.Disappearing += (s, args)…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,184 questions
asked 2025-01-08T17:19:31.36+00:00
Phunction 261 Reputation points
answered 2025-01-10T07:41:29.35+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,226 Reputation points Microsoft Vendor
0 answers

iOS app crash in release mode

My iOS app crashes after installation on a device through distribution, but it works fine in debug mode. How can I check why my app crashes after installation on an iPhone? I am using the latest .NET 9.0.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-06T12:49:26.2766667+00:00
Bhuwan 736 Reputation points
commented 2025-01-10T07:07:54.26+00:00
Bhuwan 736 Reputation points
2 answers

The Webview does not display PDF

iOS is displaying pdf but android WebView does nothing. I want to open a pdf from a web resource on WebView. But the WebView does not render the pdf. On the other hand the webpages are displayed on WebView without any problem.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2024-12-16T13:31:29.8466667+00:00
Umakant Sharma 0 Reputation points
commented 2025-01-10T06:04:45.5466667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor
1 answer

NET MAUI Splash Screen Not Displaying logo.png on Android 14 and 15

I am developing a .NET MAUI application and facing an issue with the splash screen when installing the app on physical devices running Android 14 and 15. The splash screen only displays the purple background, but the logo.png image (with a white…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-08T10:00:35.2966667+00:00
Omkar Pawar 40 Reputation points
commented 2025-01-10T05:36:06.9266667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,276 Reputation points Microsoft Vendor
1 answer

Which tool we should we for Windows application automation? WinAppDriver or Selenium or Appium?

I try to use WinAppDriver but It is not working properly. It has many issues in setup only. I did all installation correctly, but it is still showing bad capabilities error. https://github.com/microsoft/WinAppDriver/issues/1848 Is there any alternative…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-06T21:28:50.7966667+00:00
Shingala A 25 Reputation points
commented 2025-01-10T05:28:40.8933333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor
0 answers

MAUI CollectionView selected item error

Hello. I starts to learn MAUI Enterprise apps patterns and I found en error (or unexpected behavior) in CollectionView. In my example, I have TrainingsViewModel whitch have ObservableCollection of TrainingViewModel property named as AllTrainings. This…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-03T23:01:00.3966667+00:00
Lukas Hubacek 0 Reputation points
commented 2025-01-10T03:06:18.23+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor
1 answer

increase the bindings performance

Hello happy new year to everyone I am trying to increase performance on my xaml Since I updated to .Net 9, I got this warning Binding was not compiled because it has an explicitly set Source property and compilation of bindings with Source is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-04T14:38:08.8266667+00:00
Eduardo Gomez Romero 1,175 Reputation points
commented 2025-01-10T03:03:22.0666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor
0 answers

how to resolve The Android SDK licenses acceptance failed. These must be accepted to continue using Android. For more details, check the Xamarin Output. Double-click on this message to try this again.

Good morning, everyone. I'm trying to create a mobile application using .NET MAUI with .NET 9. When I attempt to debug the application by selecting Android Emulators, it asks me to accept the android-sdk-license. I click "Accept," and after…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-09T11:02:10.56+00:00
Sandro Falomi 0 Reputation points
commented 2025-01-10T03:00:07.84+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,276 Reputation points Microsoft Vendor
1 answer

Refresh the map

I need some help in refreshing the map, when the internet is back on Since the map doesn't have any refresh, I am using the pages stack to reload the page interface public interface IAppService { Task NavigateToPage(string pageName); …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,805 questions
asked 2025-01-06T15:44:50.4466667+00:00
Eduardo Gomez Romero 1,175 Reputation points
commented 2025-01-10T02:56:47.7833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor