3,223 questions with .NET MAUI tags

Sort by: Updated
1 answer

Dotnet Maui iOS app occasionally crashes on TestFlight on some devices

The MAUI app works fine on Android and most iOS devices, but a few users have reported that it crashes immediately after launch. However, I couldn't reproduce the error in my local environment. It is built with the latest: Xcode: 15.4 .Net 8.0.7 MAUI…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-24T16:32:53.43+00:00
MT 0 Reputation points
edited an answer 2024-07-24T21:41:19.2166667+00:00
Bruce (SqlWork.com) 61,491 Reputation points
1 answer One of the answers was accepted by the question author.

How to switch audio output between bluetooth and speaker? (Both Android and IOS)

Is there a way to choose or switch audio output between bluetooth and speaker before playing and audio file ? (Both IOS and Android) Thx.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,883 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-23T16:31:34.9333333+00:00
Luiz Arruda 20 Reputation points
edited a comment 2024-07-24T19:46:54.0066667+00:00
Luiz Arruda 20 Reputation points
1 answer

Microsoft.Maui version 8.0.70 NuGet packages automatically switch back to 8.0.61

I have updated the NuGet packages Microsoft.Maui.Controls, Microsoft.Maui.Controls.Compatibility and Microsoft.Maui.Essentials from version 8.0.61 to 8.0.70. Then I got the following error when I tried to build my iOS project: Error MSB4019 The imported…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,883 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-23T20:52:20.9+00:00
Kim Strasser 876 Reputation points
answered 2024-07-24T18:04:50.28+00:00
Bruce (SqlWork.com) 61,491 Reputation points
1 answer One of the answers was accepted by the question author.

How to add continuous speech/talk - .NET MAUI Speech

I have the below .Net MAUI code that works great. I want to add continuous speech, I mean when I speak, the recorder must not stop until I press stop button. In the below code, when I stop speaking, or I pause for like 2-3 sec, it stops itself, so I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,642 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-19T12:58:44.29+00:00
Johnson 81 Reputation points
commented 2024-07-24T16:07:19.32+00:00
Johnson 81 Reputation points
0 answers

Will Azure Face Liveness Detection be available on .NET MAUI ?

We want to use Azure Face Liveness Detection on .NET MAUI, however the only available supported methods are Kotlin/Java , IOS, and JavaScript for Web Application. Is there any upcoming SDK for .NET MAUI ,if so, when is the expected date of release. Thank…

Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
158 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,642 questions
asked 2024-07-24T15:18:32.8233333+00:00
Maroun ElKady 0 Reputation points
1 answer

An ImageButton with rounded corners does not display well

I am developing an application in .NET MAUI using Visual Studio 2022. Generally it works fine, but at some point something got corrupted and a particular button on a screen is not displayed correctly. The XAML code would be as follows: <StackLayout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-18T10:58:16.9666667+00:00
Jalza 761 Reputation points
commented 2024-07-24T14:33:24.2566667+00:00
Jalza 761 Reputation points
1 answer

Maui Hybrid Power Bi embeded report ios issue

What is a proper way to configure power bi reports on ios for Maui blazor hybrid app. My current solution works in web, win, android but not in IOS, on IOS it opens power bi report iframe in safary(instead of rendering in app web view) and does not show…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,499 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2023-08-29T11:41:43.5266667+00:00
Sergey 0 Reputation points
commented 2024-07-24T13:44:03.13+00:00
Brendan Daunt 0 Reputation points
1 answer One of the answers was accepted by the question author.

Build Configurations to change MAUI Settings like ApplicationId

We have a MAUI app that I build for iOS and Android. We use this same code base for 5 different apps that talk to different bluetooth hardware we sell. Each time I switch mobile apps I go into the project properties / App Info and change the Application…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,642 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-23T15:33:44.9333333+00:00
Tony Pitman 80 Reputation points
accepted 2024-07-24T13:29:23.39+00:00
Tony Pitman 80 Reputation points
0 answers

ERROR: An error occurred when writing to the output stream.

My iOS game gets always terminated when I try to debug it on my iPad OS version 17.5.1. I use Visual Studio Community 2022 (64-bit) Version 17.10.4 on my Windows 11 laptop. My iPad is connected to my iMac and I paired my iMac with VS. When I click on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-16T11:36:33.8033333+00:00
Kim Strasser 876 Reputation points
commented 2024-07-24T10:32:57.34+00:00
Kim Strasser 876 Reputation points
1 answer

net maui windows platform when maximaze or minimize the page I want to hide and show contents ?

net maui windows platform when maximaze or minimize the page I want to hide and show contents ? when my listing s detailpage opened small size how can i create events for my seconwindow page. maximize show some contents and then minimize back again…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-23T00:58:52.5833333+00:00
Sami 901 Reputation points
commented 2024-07-24T09:46:02.24+00:00
Sami 901 Reputation points
0 answers

How long has the player tapped on the iOS/Android display screen? How can I measure the time?

In my game the player needs to tap on the iOS/Android display screen to make a gameplay action. I want to find out how long the player pressed his finger against the display screen. For example, if the player pressed his finger 1 second on the screen…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,883 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-22T14:08:15.7066667+00:00
Kim Strasser 876 Reputation points
edited a comment 2024-07-24T09:44:36.1233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,306 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

flayout navigation - how to deal with rasing memory?

Hi, I used flayout navigation. when navigate beween pages it consume alot of memory. In net 8. Not relase the previous page. Does to use GC.Collect()? Is allowed ? Thanks, public void Navigate(string navigateTo) { if (navigateTo ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-14T14:42:45.7166667+00:00
Dani_S 3,316 Reputation points
commented 2024-07-24T09:23:16.49+00:00
Dani_S 3,316 Reputation points
1 answer

MAUI MediaElement: How to Include Access Token in Subsequent Video Requests?

I'm using MAUI's MediaElement to stream a video from a server. The video is being served as a static resource, and it's protected, so I need to send an access token when requesting the video. I have the initial URL to fetch the .m3u8 file as…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,642 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-18T01:59:48.6966667+00:00
Manjunath Vadigeri 0 Reputation points
commented 2024-07-24T09:19:34.2933333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,141 Reputation points Microsoft Vendor
1 answer

How to convert memory stream to FileResult

I had asked to compress the image file in the following link:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-22T11:35:58.1533333+00:00
Chinmay Dole 140 Reputation points
commented 2024-07-24T09:16:51.31+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,141 Reputation points Microsoft Vendor
1 answer

Cannot switch from one tabbed page to other tabbed page, NotSupportedExceptionUnable to find the default constructor on type Microsoft.Maui.Controls.Platform.FragmentContainer.Please provide the missing constructor.

Hi In my project the Main page is a tabbedpage and when we switch from the main page to another page which is also a tabbed page we are seeing System.NotSupportedException: 'Unable to find the default constructor on type…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-19T13:57:05.1266667+00:00
dedeepya yarlagadda 40 Reputation points
edited a comment 2024-07-24T07:32:08.88+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,306 Reputation points Microsoft Vendor
1 answer

MAUI .NET 8 iOS - Span TapGestureRecognizer not working

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. In iOS, the span text TapGestureRecognizer is not working. gesture_Tapped event is not triggered. var sp2 = new Span { Text = "Click here"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-19T05:10:43.3166667+00:00
Aneetha 45 Reputation points
commented 2024-07-24T06:55:08.55+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,306 Reputation points Microsoft Vendor
0 answers

Navigation.PopAsync() is giving Java.Lang.IllegalArgumentException: 'No destination with ID 57 is on the NavController's back stack. The current destination is Destination(0x6) class=crc6452ffdc5b34af3a0f.NavigationViewFragment'

Hi, I have pushed a page into navigation stack using private async void OnAddDeviceTapped(object sender, EventArgs e) { Devices = new ObservableCollection<Test.Model.DeviceInfo>(_dbContext.GetAllDevices()); var addDevicePage = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-22T10:11:21.8366667+00:00
dedeepya yarlagadda 40 Reputation points
commented 2024-07-24T06:50:43.1466667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,141 Reputation points Microsoft Vendor
0 answers

How to fix the code sign key not found issue in Azure pipeline in MAUI .net 8.0-iOS?

I have enterted the code provision profile and code sign key in my cs proj like below <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone'…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,642 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-23T12:40:55.7433333+00:00
Kumar.S, Ajith (Cognizant) 1 Reputation point
commented 2024-07-24T06:30:37.67+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,306 Reputation points Microsoft Vendor
0 answers

Remote connection to Mac installs CorePackage.pkg and MobileDevices.pkg every time.

Every time I launch Visual Studio (17.10.4) and try to connect to my Mac machine remotely to deploy and debug iOS applications using MAUI, it re-installs CorePackages.pkg and MobileDevices.pkg files, which take around 8-9 minutes to finish. It's pretty…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-18T09:17:36.1966667+00:00
Burak Kose 0 Reputation points
commented 2024-07-24T05:36:59.06+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,306 Reputation points Microsoft Vendor
0 answers

Which nuget package to use for Android billing Library

I got this email from Google: From Aug 31, 2024, all apps must use version 6.0.1 or later. I am migrating my Xamarin app to Maui. Which nuget package should I use to qualify the above requirement while using Maui. Is this the correct one:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2024-07-24T04:50:16.03+00:00
khatauli 1 Reputation point
commented 2024-07-24T05:05:02.64+00:00
Olaf Helper 43,246 Reputation points