4,251 questions with Developer technologies | .NET | .NET MAUI tags

Sort by: Updated
2 answers

downnload process aborted when Maui Andriod is not visible or screen id turned off

I have Maui Andriod app, in which a file id dowloaded from an url. When the app is running and visible download process goes well. but screen is turned off or app is not visible, the download process is aborted. Is is greatly appreciated if somene can…

Developer technologies | .NET | .NET MAUI
asked 2026-03-07T02:06:24.94+00:00
Qun Shen 60 Reputation points
answered 2026-03-07T16:33:20.5833333+00:00
Bruce (SqlWork.com) 83,421 Reputation points Volunteer Moderator
2 answers One of the answers was accepted by the question author.

ANDROID EMULATOR

Consider the following simple code snippet: [RelayCommand] public async Task Test() { for (int i = 0; i < 200; i++) { Debug.WriteLine($"i = {i.ToString()}"); } } It runs as expected in…

Developer technologies | .NET | .NET MAUI
asked 2026-03-05T09:33:34.81+00:00
Giorgio Sfiligoi 616 Reputation points
commented 2026-03-07T14:48:01.02+00:00
John Khan 0 Reputation points
2 answers

MAUI iOS Broadcast extension, writeback pool capacity exceed

I am developing an iOS broadcast extension with MAUI .net 10. My problem is the ProcessSampleBuffer() only get called every 6 seconds+, although I can get the image from the CMSampleBuffer object. I tried to monitor the extension with Console and see a…

Developer technologies | .NET | .NET MAUI
asked 2026-03-04T17:37:26.42+00:00
Siu Pang 0 Reputation points
commented 2026-03-06T11:07:22.9233333+00:00
Siu Pang 0 Reputation points
2 answers

How do I handle platform-specific UI customization in MAUI without bloating my shared code?

I have been learning MAUI for a couple months now. I need to apply different styles or behaviors on Android vs. iOS (e.g., font sizes, padding, or custom renderers). I know about OnPlatform in XAML and the Platforms/ folder. What is the correct…

Developer technologies | .NET | .NET MAUI
asked 2026-03-06T07:03:31.1033333+00:00
Trung Huynh 0 Reputation points
answered 2026-03-06T09:11:58.3333333+00:00
Nancy Vo (WICLOUD CORPORATION) 880 Reputation points Microsoft External Staff Moderator
2 answers

How can I migrate OpenTokStreamingService in my MAUI iOS platform from Xamarin Forms

I am trying to migrate OpenTokStreamingService in my MAUI iOS platform from Xamarin Forms. I have used Xamarin.OpenTok.iOS package on XF but the same package is not able to use in MAUI due to the below issue. Package Xamarin.OpenTok.iOS 2.18.1 is not…

Developer technologies | .NET | .NET MAUI
asked 2026-03-04T11:37:30.01+00:00
Sreenivasan, Sreejith 680 Reputation points
commented 2026-03-06T07:53:30.74+00:00
Nancy Vo (WICLOUD CORPORATION) 880 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Show popup from a working thread Task

In my Android application (NET MAUI 10) I have code similar to the following: [RelayCommand] public async Task TaskPopup() { Debug.WriteLine("TaskPopup"); Task task = Task.Run(async () => { …

Developer technologies | .NET | .NET MAUI
asked 2026-03-01T12:12:39.3433333+00:00
Giorgio Sfiligoi 616 Reputation points
answered 2026-03-06T06:56:47.3266667+00:00
Nancy Vo (WICLOUD CORPORATION) 880 Reputation points Microsoft External Staff Moderator
0 answers

Where is my .NET 10 after VS 18.3.2 update ?

Hi, The below image explains everything... after installing VS 18.3.2 update my existing .net10 projects are not compiling and even i am not able to create new project with .NET 10. What is happening? can someone please…

Developer technologies | .NET | .NET MAUI
asked 2026-02-27T11:53:03.0466667+00:00
Jignesh Desai 151 Reputation points
commented 2026-03-05T12:20:42.29+00:00
Varsha Dundigalla(INFOSYS LIMITED) 4,610 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Deep linking windows confussion

I need to be able to open my app, when I receive a link in the mail (like Microsoft team) I already searched everywhere how to do this, and I was able to do somethig In the pakage.manifest, I registered <Extensions> <uap:Extension…

Developer technologies | .NET | .NET MAUI
asked 2024-01-19T21:14:31.89+00:00
Eduardo Gomez 4,316 Reputation points
answered 2026-03-05T04:16:02.2333333+00:00
Jesper 0 Reputation points
2 answers One of the answers was accepted by the question author.

what is the Name of CurrentCulture?

I am using .net maui and I want to get the language of the environment. I use CultureInfo.CurrentCulture.Name and I can get the current language. and I want to get more '//Chinese Simplified //English //Traditional…

Developer technologies | .NET | .NET MAUI
asked 2026-02-26T04:25:30.7066667+00:00
mc 6,801 Reputation points
commented 2026-03-05T03:46:25.23+00:00
Gade Harika (INFOSYS LIMITED) 2,590 Reputation points Microsoft External Staff
0 answers

mauig1001 error

I recently uploaded this to google play and everything compiled correctly. I am suddenly getting a number of errors, the primary being the following: MAUIG1001 An error occured while parsing Xaml: Name cannot begin with the '<' character,…

Developer technologies | .NET | .NET MAUI
asked 2024-02-21T20:45:30.6266667+00:00
bryan rohlfsen 0 Reputation points
commented 2026-03-04T19:47:30.1933333+00:00
John Ureke 6 Reputation points
2 answers One of the answers was accepted by the question author.

FileNotFoundException when I read file?

I am using .net maui and I want to read file but get FileNotFoundException when I use FileSystem.OpenAppPackageFileAsync the file is set to MauiAsset and place in Resources\Raw.

Developer technologies | .NET | .NET MAUI
asked 2026-02-26T14:04:00.6266667+00:00
mc 6,801 Reputation points
accepted 2026-03-04T10:28:14.8666667+00:00
mc 6,801 Reputation points
1 answer One of the answers was accepted by the question author.

Android.Runtime.JavaProxyThrowable when run the android ?

I am using .net Maui 10.0 and when I start android there will be error :Android.Runtime.JavaProxyThrowable and I searched the google and get: 1.add XamlCompileOptions.Skip in MainPage and App.xamls.cs and APpshell.Xamls.cs. do not use native aot. but…

Developer technologies | .NET | .NET MAUI
asked 2026-03-03T12:22:49.16+00:00
mc 6,801 Reputation points
accepted 2026-03-04T10:28:02.8633333+00:00
mc 6,801 Reputation points
2 answers

MAUI .Net10 app crashing on startup only when installed from Google Play

Hi all, I've just upgraded VS to 2026, which I use to develop mobile MAUI project. That involved targeting .Net 10 (.NET MAUI Tools 18.0.345 (fbde6c01f0)) instead of .Net 9. in the MAUI project. The Android app works perfectly in debug or release mode…

Developer technologies | .NET | .NET MAUI
asked 2026-02-03T06:14:45.9766667+00:00
ByteDigger 5 Reputation points
commented 2026-03-03T22:54:30.2433333+00:00
UBMike 5 Reputation points
2 answers

Flyout is overlapping with Status bar

Flyout is overlapping with the status bar on the top, after upgrading that to MAUI 10. Please find the attachment for reference Regards, Vaibhav Methuku.

Developer technologies | .NET | .NET MAUI
asked 2026-02-05T08:05:07.19+00:00
Vaibhav Methuku (ext) 0 Reputation points
commented 2026-03-03T09:36:42.6566667+00:00
Michael Le (WICLOUD CORPORATION) 11,080 Reputation points Microsoft External Staff Moderator
3 answers

Splash screen hangs on iPhone iOS 26

Is this a common issue for anyone? I have a published app that has worked across many iPhones in testing. As of 2/4/26 for some reason, users have reported that the splash screen hangs and is not dismissed. I have tested it on my simulators and…

Developer technologies | .NET | .NET MAUI
asked 2026-02-06T18:09:46.63+00:00
Samuel Riesterer 5 Reputation points
commented 2026-03-03T09:33:06.0866667+00:00
Michael Le (WICLOUD CORPORATION) 11,080 Reputation points Microsoft External Staff Moderator
2 answers

.NET MAUI App: Stack canary protection not enabled

We developed a .NET MAUI application, and our security team reported issue: “Stack canary not enabled.” We attempted to enable stack protection by adding flags such as -fstack-protector-strong, but the scanner result did not change. What is the…

Developer technologies | .NET | .NET MAUI
asked 2026-02-13T07:47:09.4733333+00:00
Srikanth 0 Reputation points
commented 2026-03-03T09:18:45.2433333+00:00
Michael Le (WICLOUD CORPORATION) 11,080 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Issue with API calls; initially the API is called with blank push id and later it will call with exact push id

I have implemented push notification in my project using Plugin.Firebase package. My problem is on saving the FCM id to database API. I am generating the FCM token on login page constructor and saving it to preferences like below: public…

Developer technologies | .NET | .NET MAUI
asked 2026-01-27T10:54:52.25+00:00
Sreenivasan, Sreejith 680 Reputation points
accepted 2026-03-02T11:25:37.72+00:00
Sreenivasan, Sreejith 680 Reputation points
2 answers One of the answers was accepted by the question author.

How to disable SSL pinning in MAUI application?

I want to disable the SSL pinning in UAT mode and I tried like below: On ClientSingleton.cs I have added a method ConfigureHttpClientForEnvironment(): public void ConfigureHttpClientForEnvironment() { var handler = new HttpClientHandler(); if…

Developer technologies | .NET | .NET MAUI
asked 2026-03-02T07:04:24.3533333+00:00
Sreenivasan, Sreejith 680 Reputation points
accepted 2026-03-02T11:23:55.1+00:00
Sreenivasan, Sreejith 680 Reputation points
2 answers One of the answers was accepted by the question author.

How we can implement the certificate pinning in MAUI applications?

I want to implement the certificate pinning enable on the APK. I am hearing a feature like this for the very first time and on my research I understood what it is. But still having a few clarifications on this, please help me to resolve it. I referred…

Developer technologies | .NET | .NET MAUI
asked 2026-02-27T12:23:22.55+00:00
Sreenivasan, Sreejith 680 Reputation points
commented 2026-03-02T07:14:37.9+00:00
Nancy Vo (WICLOUD CORPORATION) 880 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

[.NET MAUI] RenderTargetBitmap does not capture Label BackgroundColor on Windows

Hi Team, I am facing an issue on Windows where RenderTargetBitmap does not capture the BackgroundColor of a .NET MAUI Label. The text appears correctly, but the background is missing in the output image. Reproduction steps Create a .NET MAUI project…

Developer technologies | .NET | .NET MAUI
asked 2026-02-23T17:51:06.65+00:00
Thilagaraj Balaji 20 Reputation points
accepted 2026-03-02T04:57:43.8066667+00:00
Thilagaraj Balaji 20 Reputation points