4,084 questions with .NET MAUI tags

Sort by: Updated
0 answers

Webview not working in MAUI

I had created a sample MAUI solution with the .Net 9, and added a webview. and added the following piece of code in the mainpage.xaml <StackLayout Padding="30,0" Spacing="25"> <WebView…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 27, 2025, 3:19 AM
Vaibhav Methuku 160 Reputation points
commented Apr 29, 2025, 5:03 AM
Vaibhav Methuku 160 Reputation points
0 answers

Workaround for WebAuthenticator crash affecting Android on .NET MAUI

When using WebAuthenticator for .NET MAUI and the browser first launches, the app crashes in the background. When the app is relaunched, the browser can be opened again and the WebAuthenticator process succeeds without a problem. This affects Android and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 29, 2025, 4:29 AM
Eric L 20 Reputation points
1 answer

Is it possible to deploy a .net maui application on Android Go Edition

Is it possible to deploy a .net maui application on Android Go Edition?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 28, 2025, 1:48 PM
Daniel Manchester 25 Reputation points
commented Apr 28, 2025, 11:57 PM
Daniel Man 0 Reputation points
0 answers

Create an IPA from Windows MAUI iOS + Extensions

Hi, we have a MAUI project with iOS extensions. We can run them on emulators and create the IPA either in Visual Studio or Visual Code on a Mac. Due to dotfuscator issues, we need to create the IPA, but now from Windows! We can create the IPA using the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Mar 14, 2025, 10:08 PM
DAVIS JIMENEZ PETER ALEXANDER 20 Reputation points
commented Apr 28, 2025, 8:33 PM
DAVIS JIMENEZ PETER ALEXANDER 20 Reputation points
1 answer One of the answers was accepted by the question author.

Detect Scrolled to end of webview to enable a button in maui

I have a custom renderer like this where ScrollWebView is my custom control from webview with IsBottomReached property. I tried registering this Renderer in mauiprogram class, then it started crashing with an exception of "Specified cast is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked May 3, 2024, 3:37 AM
Keerthana Krishna 60 Reputation points
commented Apr 28, 2025, 6:39 PM
Cagri Yucel 0 Reputation points
2 answers

Why does Live Preview not work on my VS 2022 maui project

Hi, I am using VS 2022 and have a .NET MAUI project. The issue is that Live Preview doesn't seem to work. I watched the video here: https://www.youtube.com/watch?v=nEOvX3YKw_E However, I get the error shown below and I don't have the debug…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,071 questions
asked Jan 10, 2023, 12:28 AM
CFos 41 Reputation points
commented Apr 28, 2025, 5:37 PM
Lorenzo 0 Reputation points
0 answers

MAUI: Notification icon is blank in Android 15

I am using below code to show the push notification icon in my MAUI application: private void CreateNotificationChannel() { try { var channelId = $"{PackageName}.general"; var notificationManager =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 28, 2025, 2:53 PM
Sreejith Sreenivasan 1,001 Reputation points
0 answers

FlyoutPage.Flyout Width

Hi, How I set in windows net 9 the width of FlyoutPage.Flyout(menu)? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 27, 2025, 9:21 AM
Dani_S 4,461 Reputation points
commented Apr 28, 2025, 2:40 PM
Dani_S 4,461 Reputation points
2 answers

BINDING DOES NOT RECOGNIZE TYPE

I have a custom component that exposes a property 'Amount64' of type Int64; I would like to bind it to a property 'Amount', also of type Int64, in the host page: <components:MyNumericKeyboard x:Name="keypad" Amount64="{Binding Amount,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Oct 18, 2024, 9:09 PM
Giorgio Sfiligoi 391 Reputation points
answered Apr 28, 2025, 10:31 AM
Louis Sherwood 0 Reputation points
0 answers

Undefined symbols for architecture arm64 Error, while using Native libraries in MAUI iOS

Hi, We are working on MAUI.iOS migration project from Xamarin.iOS. In Xamarin.iOS we have used few iOS Native libraries(.a files). The Xamarion.iOS project was working fine. But we used the native libraries in MAUI.iOS project we are getting below build…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Aug 30, 2024, 10:22 AM
Niladri Padhy (ZEN3 INFOSOLUTIONS AMERICA INC) 0 Reputation points Microsoft External Staff
commented Apr 28, 2025, 4:42 AM
Huzefa Karachiwala 0 Reputation points
0 answers

My app breaks if I add LoginViewModel

For some reason my app breaks, when I add the loginViewModel to the mainPage I am using firebase, so I register the user, and navigate to the Main Page builder.Services.AddTransient<RegisterPopUp>(); …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 27, 2025, 3:46 PM
Eduardo Gomez 3,611 Reputation points
0 answers

ORIENTATION BEHAVIOR

Consider the following simple test program, in NET MAUI 8.0: <?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 26, 2025, 9:55 AM
Giorgio Sfiligoi 391 Reputation points
commented Apr 27, 2025, 7:34 AM
Giorgio Sfiligoi 391 Reputation points
2 answers

AADSTS165000: invalid Request: The request tokens do not match the user context,

MAUI. Android app, use Oauth2D to login. Always get the error: Requestld:50664542-03a0-48dc-b330-acf123cf9f00 Correlationld:27fdf9bd-1dd4-4b3b-a556-34f7c03c17af Timestamp:2025-04-02T02:58:37Z Message:AADSTS165000: invalid Request: The request tokens do…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 2, 2025, 5:47 AM
AlexJK 6 Reputation points
commented Apr 26, 2025, 11:46 AM
Mudasir TheMudasir805 0 Reputation points
0 answers

Images show up on other devices but not windows build

Hi, I am building a .net maui application my .png's show up on android and android emulators But I am unable to get the same image on windows build, or any image for that matter of fact Here is the code that use. var var image = new Image() { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 25, 2025, 6:25 PM
anandarus allen 0 Reputation points
0 answers

.NET MAUI - Camera View - Images Portrait

Hello, I'm using CameraView from CommunityToolkit.Maui.Camera, and I take photos that I display in another view. When I take the image with the iPad in portrait mode, the photo I took displays fine. I even save it to disk and display it later in another…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 25, 2025, 2:19 PM
NickNN 40 Reputation points
0 answers

I am providing the icon still facing issue in .net maui single structured project

Validation failed (409) Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 10.0. To support older versions of iOS, the icon may be required in the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 25, 2025, 11:54 AM
Kavitha Vegulla 0 Reputation points
1 answer

Crashing while opening the webview in maui - Net 9

Recently we had migrated our application from the .net 8 to the .net 9. we are having the web view in our application. in the .Net 8 the webview is working fine. where comes to the .net 9 the application is crashing while opening that page with the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 24, 2025, 3:57 PM
Vaibhav Methuku 160 Reputation points
commented Apr 25, 2025, 1:40 AM
Bruce (SqlWork.com) 74,936 Reputation points
1 answer

the rotation is not work as expected?

I am using .net-android and want to use canvas to draw cube and rotate it.this is the code:`public class XyCube { public float width; public float height; public Color Color; public float center_x; public float center_y; public float…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 24, 2025, 7:21 AM
mc 5,206 Reputation points
answered Apr 24, 2025, 9:14 PM
Bruce (SqlWork.com) 74,936 Reputation points
0 answers

can not add this jar file to .net android?

this is jar file which to search BLE I can use it in android but can not use it in .net-android WCHBLELibrary.log you can rename this file to jar I create in android binding project and add it. and get dll file and add it to .net-android. If I call the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
asked Apr 24, 2025, 7:50 AM
mc 5,206 Reputation points
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,084 questions
asked Apr 19, 2025, 2:16 AM
Marcus Wolfe 20 Reputation points
commented Apr 23, 2025, 8:33 PM
Bruce (SqlWork.com) 74,936 Reputation points