3,962 questions with .NET MAUI tags

Sort by: Updated
2 answers

Root detection on Android device using MAUI .net framework

The Android root detection logic implemented in .NET MAUI is not working as expected. Tried both a custom implementation and a NuGet package as in link below, but both approaches failed. nuget package >…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-27T09:04:09.0833333+00:00
Manjunath Vadigeri 0 Reputation points
answered 2025-02-28T08:57:16.8866667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 48,666 Reputation points Microsoft Vendor
1 answer

Image Resizing issue on MAUI android app

Requirement :The MAUI android app allows users to capture / pick 75 images with any size and orientation. Here the challenge is to resize these 75 images into a standard size such that it fits the screen and the images maintain its aspect ratio. I have…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-28T06:00:33.0166667+00:00
Leon Rodrigues 0 Reputation points
commented 2025-02-28T08:52:06.9433333+00:00
Leon Rodrigues 0 Reputation points
0 answers

Issue with SkiaSharp Native Library Version Mismatch in .NET MAUI (IOS only)

System.TypeInitializationException: The type initializer for 'SkiaSharp.SKObject' threw an exception. ---> System.InvalidOperationException: The version of the native libSkiaSharp library (116.0) is incompatible with this version of SkiaSharp.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-06T08:36:37.7133333+00:00
Thinh NPD 45 Reputation points
commented 2025-02-28T08:13:15.8733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
1 answer

MAUI for iOS Publish in Visual Studio 2022 for Windows in Parallax VM

I have a Mac. I have a Parallels Windows 11 VM with Visual Studio 2022 installed with the dotnet SDK and MAUI workloads. My source code is on the Mac and shared as a drive in the VM so I can open the exact same project on either the Mac using VSCode or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-05T22:07:05.2566667+00:00
Tony Pitman 100 Reputation points
commented 2025-02-28T08:04:53.1766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
1 answer

Apple Developer Account: Enterprise - error 'There was an error while trying to log in: Provide a properly configured and signed bearer token, and make sure that it has not expired learn more about generating tokens for API requests'

I achieved to connect the remote mac from the "Pair to mac" option in Visual studio 2022 from Windows, then when in tools/options/xamarin/apple accounts I tried to pair the apple enterprise account, I get an error saying "There was an…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,447 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-04T15:10:57.61+00:00
MORA MENESES RUBEN 0 Reputation points
commented 2025-02-28T08:04:15.2066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
1 answer

Visual studio 2022 Maui project unable to compile for .net 9.0-ios target

Hi, I am trying to deploy a test app to iPhone from windows visual studio but getting the following error when trying to compile. The specified network password is not correct. I have completed the automatic provisioning : I obviously have no problem…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-02T07:27:26.12+00:00
Ryan Lee 30 Reputation points
commented 2025-02-28T08:03:42.05+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
1 answer

runs only in 'debug' mode

I found lots of issues (google browsing) re 'running only in debug mode'! However, I cannot figure out what to do in my case. myapp https://github.com/edikaufmann/RandoJson PS: I obviously cannot debug without debugging!?! Your help is appreciated, ed

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-27T07:43:14.2266667+00:00
Eduard Kaufmann 251 Reputation points
accepted 2025-02-28T07:49:10.4366667+00:00
Eduard Kaufmann 251 Reputation points
0 answers

MAUI: Blank space on the UI in between the contents and font style issue

I have a label, image and a webview on the UI. My XAML: <ScrollView Grid.Row="0" Orientation="Vertical" VerticalOptions="FillAndExpand"> <VerticalStackLayout Grid.Row="0" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-27T13:54:46.6666667+00:00
Sreejith Sreenivasan 941 Reputation points
edited a comment 2025-02-28T06:52:19.0033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,211 Reputation points Microsoft Vendor
1 answer

I am getting error while building the sample maui application using vs2022

I am facing below errors resource style/Animation.AppCompat.Dialog (aka com.companyname.mauiapp1:style/Animation.AppCompat.Dialog) not found. f resource style/RtlOverlay.DialogWindowTitle.AppCompat (aka…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-26T15:39:09.22+00:00
Seema CHAUDHARY 0 Reputation points
commented 2025-02-28T06:26:19.4433333+00:00
Seema CHAUDHARY 0 Reputation points
0 answers

How to fix binding TimeSpan TotalSeconds to Slider.Value Double 'TotalSeconds' property not found on '00:00:00.1117292', target property: 'Microsoft.Maui.Controls.Slider.Value'

Hey, Im having an issue to bind a sliders value and maximum value to a mediaplayers duration and position. As of now the app works fine but in the background it generates 100+ of binding failures. with the text Binding: 'TotalSeconds' property not found…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-24T15:43:33.33+00:00
Naser AL-Asbahi 10 Reputation points
commented 2025-02-28T06:16:53.1466667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
1 answer

MAUI: Keep audio playing when navigating to a new page

I am using Webview for playing audio and when I navigate to a new page the audio stops playing. I want to play the audio in background when navigating to new pages, or switching app or locking device. My Code: <WebView …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-24T16:33:00.5866667+00:00
Sreejith Sreenivasan 941 Reputation points
answered 2025-02-28T05:27:41.2533333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,211 Reputation points Microsoft Vendor
0 answers

WebView is not working correctly in IOS MAUI

I have added a webview in my MAUI crossplateform app but I am not able to type in textbox or click on image buttons even pop up shows up but not able to even ok/cancel. While working fine with Android, Another issue with voice and video that is happening…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-27T23:09:07.56+00:00
Shraddha Chauhan 0 Reputation points
commented 2025-02-28T05:26:42.0366667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
1 answer

Using VS 17.14.0 Preview 1.1 and XCode 16.2 I can not compile a Maui application to a remote iPhone device

Using Visual Studio version 17.12 Preview 1 and XCode 16.0 Beta I was able to connect to a remote iPhone and deploy my Maui app to the physical device. I however can not debug the app. So my development environment/MAC is set up properly. Updating Visual…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-27T22:13:06.61+00:00
David Richards 1 Reputation point
answered 2025-02-28T05:20:51.14+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,916 Reputation points Microsoft Vendor
0 answers

How to Stop Previous Audio When Playing a New One in .NET MAUI

In my .NET MAUI application, I am using MediaElement from the .NET MAUI Community Toolkit and WebView to play audio files. However, I am facing an issue where if I play audio on one page, it continues playing even when I navigate to another page and play…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-25T18:00:48.0266667+00:00
Sreejith Sreenivasan 941 Reputation points
edited the question 2025-02-28T00:34:53.2166667+00:00
Alison A 650 Reputation points Microsoft Vendor
1 answer

Dynamically Setting WebView Height in .NET MAUI for Varying HTML Content on iOS Platform

I am using a custom WebView in my .NET MAUI application to display dynamic HTML content on iOS. The HTML content changes daily, and I need to adjust the height of the WebView accordingly. Custom WebView Renderer (iOS) Here’s my custom WebViewRenderer…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-19T06:38:28.09+00:00
Sreejith Sreenivasan 941 Reputation points
edited the question 2025-02-28T00:33:57.93+00:00
Alison A 650 Reputation points Microsoft Vendor
2 answers

Ram consuption above Threshold

Hi, In maui version 8 there is a problem when moving pages the memory not release. I would like to ask how to observe the RAM and if it pass threshold x it will be presanted in UI label in red color, otherwise in green color. Use MVVM…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-12T10:20:18.47+00:00
Dani_S 4,131 Reputation points
edited a comment 2025-02-27T22:58:48.3433333+00:00
Bruce (SqlWork.com) 71,696 Reputation points
3 answers

A connection was successfully established with the server, but then an error occurred during the pre-login handshake.

I am getting below exception for database connection with MAUI android emulator. Can you please help us to resolve issue. Microsoft.Data.SqlClient.SqlException: 'A connection was successfully established with the server, but then an error occurred during…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,490 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 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,317 questions
asked 2023-08-10T06:08:11.2633333+00:00
suresh tanukula 15 Reputation points
commented 2025-02-27T19:40:00.24+00:00
Georyitt Gorayeb 0 Reputation points
2 answers

Android app nowgetting "requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified" crash

I have a Visual Studio 2022 Xamarin Android app (I know it's now unsupported) that has worked fine for many years. It uses NuGet packages for Firebase, etc. After November 4 (probably the Firebase November 15 release), when the app is in the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-25T19:51:44.0133333+00:00
fbs419 46 Reputation points
commented 2025-02-27T16:47:11.0033333+00:00
fbs419 1 Reputation point
1 answer

Tabbar and Flyout working together

Here is my use case, Global Tabbar and Flyout Items. Currently have I can have a tabbar and a flyout but as soon as one of the items from the flyout is tapped I navigate to the correct page however the tabbar disappears. I have tried enabling it on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-24T17:17:48.0333333+00:00
Tommy Reynolds 0 Reputation points
commented 2025-02-27T09:05:03.7833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 48,666 Reputation points Microsoft Vendor
0 answers

Crash on .NET MAUI Android - Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 20551 (.NET TP Worker)

We are encountering a crash issue on one of our Android devices. Here is the crash log—please suggest a solution to fix it. Note: This app is suppoose to run on the device 24/7 10-15 20:33:11.755 10174 3657 20551 F libc : Fatal signal 6 (SIGABRT),…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,962 questions
asked 2025-02-05T08:35:45.9866667+00:00
Balakrishna Gogineni 0 Reputation points
commented 2025-02-27T06:51:04.42+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,211 Reputation points Microsoft Vendor