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…
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 - 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,…
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…
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 ?
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 - 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…
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?
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…
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…
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)) …
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…
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…
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 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…
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,
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…
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…
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…
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?…