4,068 questions with .NET MAUI tags

Sort by: Updated
0 answers

How to cancel navigation to a page in .NET MAUI

Please tell me how I can stop navigation to a page in a .NET MAUI Shell app if, for example, the user is not authorized to access the page. I have a nice authentication system and I have access and refresh tokens for communicating with the server, but…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-04-19T02:16:59.61+00:00
Marcus Wolfe 20 Reputation points
commented 2025-04-20T00:59:29.8833333+00:00
Marcus Wolfe 20 Reputation points
0 answers

Splash Screen not showing up for windows build on .net maui

Hello all, So I created a simple custom splash screen, it works for android but not on a windows desktop. Here is the code public partial class SplashScreen : ContentPage { private ContinousAudio continousAudio; public…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-04-19T20:11:17.8933333+00:00
anandarus allen 0 Reputation points
1 answer

>Net Maui - Passing object between pages

I'm having trouble getting my DetailsPage to show the Observation obs object passed from my ResultsPage. I have a TapGestureRecognizer_Tapped method in the code behind the ResultsPage private async void TapGestureRecognizer_Tapped(object sender,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-04-18T06:06:56.33+00:00
John Rutherford 21 Reputation points
answered 2025-04-19T03:05:52.2066667+00:00
John Rutherford 21 Reputation points
1 answer One of the answers was accepted by the question author.

dotnet workload restore issue

came back to an old brooding .net maui project from last year. at the time, it was compiling and running fine. after starting it up again, ive run into compile issues. Error (active) NETSDK1147 To build this project, the following workloads must be…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-04-15T20:30:59.2233333+00:00
Min T 81 Reputation points
commented 2025-04-17T17:08:09.8+00:00
Min T 81 Reputation points
1 answer

how to write and read file in usb storage in .net -android?

I have android pad and there is usb disk and how to read file and write file ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-04-13T12:30:53.65+00:00
mc 5,186 Reputation points
answered 2025-04-17T15:35:09.89+00:00
Bruce (SqlWork.com) 74,451 Reputation points
1 answer One of the answers was accepted by the question author.

Entry Focus issue in scroll view Maui

I had created a view with 30 entries in a scroll view, for suppose I focus on the 16 entry and click in the background Entry 1 is being focused automatically. Here is the code for reference. <ScrollView BackgroundColor="Green" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-03-24T16:37:02.26+00:00
Vaibhav Methuku 160 Reputation points
commented 2025-04-17T05:54:08.82+00:00
Vaibhav Methuku 160 Reputation points
0 answers

.Net MAUI - Microsoft.Identity.Client with latest Version="4.66.2" is giving the exception as "To enable the embedded webview on Windows, reference Microsoft.Identity.Client.Desktop and call the extension method .WithWindowsEmbeddedBrowserSupport()."

Hello, I was using the Microsoft.Identity.Client with version 4.60.3 is giving the vulnerable error. Hence I recently upgraded my Microsoft.Identity.Client version from "4.60.3" to 4.66.2. Previous versions <PackageReference…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,188 questions
asked 2024-11-22T10:48:25.94+00:00
Thanniru, Anitha 5 Reputation points
commented 2025-04-17T04:14:25.07+00:00
Vaibhav Methuku 160 Reputation points
0 answers

how to change the icon in properties of the APP in .net - android?

I am using .net android and I have changed the appicon of the APP in desktop but when I open the properties the appicon is still the original ('.NET') icon how to change it?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-04-13T12:39:16.5333333+00:00
mc 5,186 Reputation points
edited the question 2025-04-17T02:09:29.8433333+00:00
mc 5,186 Reputation points
0 answers

How do I get FilePicker to return a non-null result on MacCatalyst?

Maui Workload 9.0.14/9.0.100 SDK 9.0.200 XCode 16.3 (16e140) Mac OS Sequoia 15.3.2 Visual Studio Code 1.98.2 (Universal) I am developing a MAUI App that needs to run on Windows, MacOS and iOS (iPad only). I am trying to get…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-04-02T17:27:15.5566667+00:00
Alex Phillips 0 Reputation points
commented 2025-04-16T15:23:19.94+00:00
Alex Phillips 0 Reputation points
1 answer

MAUI: Firebase Analytics iOS.

I'm trying to configure the Firebase in my library project, but when the sample project references the library project, I get an error when compiling. (Not when compiling the library, but the project.) I'm using Xamarin.Firebase.iOS.Analytic and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-03-19T09:33:15.8866667+00:00
NickNN 40 Reputation points
commented 2025-04-16T13:58:03.7733333+00:00
NickNN 40 Reputation points
2 answers

Report on progress bar of download file

Hi, I have progress bar control, i got from API the content stream response. How i can report on progress of download process of file in the UI page? Thanks, try { using (var fileStream = File.Create(zipPathForFolderOrPathForFile)) …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-03-31T16:59:49.5233333+00:00
Dani_S 4,441 Reputation points
edited a comment 2025-04-15T03:42:15.4166667+00:00
Dani_S 4,441 Reputation points
1 answer

how to enable debug in release mode in MAUI mobile application

How can I enable debugging in release mode? Some functionalities are not working when I release the app, but they work in debug mode. I've tried multiple methods but haven't found a proper solution. Inside .csproj file <PropertyGroup…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2024-10-27T14:49:38.69+00:00
Bhuwan 821 Reputation points
commented 2025-04-14T18:53:19.8833333+00:00
James Pridgen 0 Reputation points
1 answer

how to draw this in .net.android

there is two points to one circle how to draw it? I am using canvas in OnDraw points:(p0x,p0y)and (p1x,p1y) and the center of the circle is (x,y) how to draw the line and the circle? I know how to draw circle but I do not want to draw the rest of the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-03-12T14:29:45.3+00:00
mc 5,186 Reputation points
answered 2025-04-13T16:22:13.0133333+00:00
Bruce (SqlWork.com) 74,451 Reputation points
0 answers

Why does my .NET MAUI 8.0.100 iOS TestFlight app using Microsoft.Data.SqlClient crash immediately

I submitted my app for Apple's TestFlight. After deploying using TestFlight to my iPhone, it crashes immediately, not getting to any of my application code. This also an iOS device I've provisioned for development testing, so on my Mac build machine, I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-04-07T01:01:17.5833333+00:00
Kurt K 176 Reputation points
commented 2025-04-12T18:21:29.1066667+00:00
Kurt K 176 Reputation points
2 answers One of the answers was accepted by the question author.

.net maui fully custom splash screen

I am working on . net maui splash screen but there are android 12 and later issues. So I can not set splash screen like make image like previous android versions. But I want and set it image that has contents on all screen. I have seen many splash…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2023-09-22T18:15:18.9866667+00:00
Haider Ali Faizi 100 Reputation points
commented 2025-04-11T04:37:57.9966667+00:00
Leo Wagner de Souza 696 Reputation points
0 answers

Move to maui 9.0.40 in MAC

Hi, When moving from .Net Maui 9.0.30. To 40 in MAC, do i nèed to updaue MAUI workload,if yes how? I'm using vs code Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-04-04T16:12:54.95+00:00
Dani_S 4,441 Reputation points
commented 2025-04-09T17:43:49.9533333+00:00
Dani_S 4,441 Reputation points
0 answers

How to create two different style Switch in maui?

I have a requirement to utilize switch control in MAUI but in two different styles. I am able to create one in the green color by modifying the toggle switch code from source styles file and adding it into windows/app.xaml file. Now I want to create one…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-04-09T06:23:05.64+00:00
Lohith K K 110 Reputation points
1 answer One of the answers was accepted by the question author.

Unable to Publish .NET MAUI iOS App for Ad-Hoc Distribution

Hi, I have been following the steps outlined in this guide to publish my .NET MAUI iOS app for ad-hoc distribution. However, I am encountering an issue in the "Publish the app" section, specifically at Step 5. When I attempt to archive the app…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-04-01T23:13:39.43+00:00
Ha Hoang Nong 20 Reputation points
accepted 2025-04-08T10:01:47.3633333+00:00
Ha Hoang Nong 20 Reputation points
0 answers

Which control needs to be used to show loading image for Images.

I'm working with large size images, that will take good amount of time to load the image, So for that thing i want show a dummy image like FFimage loading until the actual image loads, So which control will you suggest for this requirement, I tried with…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-04-08T09:52:49.4866667+00:00
Vaibhav Methuku 160 Reputation points
2 answers

App crashes on android after about 1 hr usage with Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 6664 (SGen worker)

App crashes on android after continuous use for about 1 hour. Please refer below adb logs when app crashed - 2025-03-21 14:29:09.249 6649-6664 com.name.myname com.name.myname E How can an object and a reference inside it not be in the same block?…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,068 questions
asked 2025-03-21T23:34:01.0466667+00:00
Vinayak Nikam 71 Reputation points
commented 2025-04-08T06:50:35.9766667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,106 Reputation points Microsoft External Staff