3,844 questions with .NET MAUI tags

Sort by: Updated
4 answers

Custom fonts not working when uploading Maui Android project to Play Store

I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 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,221 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 25 Reputation points
commented 2025-01-17T20:08:47.53+00:00
JamesInSC 0 Reputation points
2 answers

Can't deploy Visual Studio Net 9.0 project with Android

While deploying a Visual Studio Net 9.0 project, it occasionally gives a warning: This project is not suitable for Android, check for errors. After deploying the project with Windows, it can be deployed on Android. This situation is repeated from time to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,370 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2024-11-21T08:43:20.9+00:00
Huseyin Unsal 15 Reputation points
commented 2025-01-17T17:16:45.79+00:00
Giuseppe Guerra 0 Reputation points
1 answer One of the answers was accepted by the question author.

Splash Screen is not showing on Android 12 and Below but Splash Screen Working on Android 13 and Above

Hello, I am facing an issue where my splash screen works correctly on Android 13 and above, but when I try to run my app on Android 12 and below, I just see a blank screen. Previously, I encountered issues after installing the APK where the splash screen…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-16T04:57:21.1433333+00:00
Omkar Pawar 100 Reputation points
accepted 2025-01-17T11:52:20.44+00:00
Omkar Pawar 100 Reputation points
2 answers One of the answers was accepted by the question author.

Cannot install maui workload version 8.0.100

Hi everyone, I am trying to install maui workload in version 8.0.100 - I have .NET SDK 8.0.401 installed. When executing "dotnet workload install maui --version 8.0.100" I get an error saying that Version 8.0.100 of package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-06T16:40:37.1+00:00
Thomas Hoefkens 20 Reputation points
accepted 2025-01-17T09:45:55.4666667+00:00
Thomas Hoefkens 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to determine what triggered MAUI iOS OnActivated?

Since OnActivated() in App.Delegate is initialized under a number of circumstances other than the return from an app being in the background to the desktop, i.e. a phone call, is there any way to determine who the initiator was?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-15T16:18:27.7433333+00:00
Marc George 191 Reputation points
accepted 2025-01-17T02:01:33.9833333+00:00
Marc George 191 Reputation points
1 answer One of the answers was accepted by the question author.

Unable to display alert after modal popup

I have an issue I am unable to solve. In this code: var popupPage = new myPopup(); var taskCompletionSource = new TaskCompletionSource<bool>(); // Set up an event to resolve the task when the modal is dismissed popupPage.Disappearing += (s, args)…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 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,221 questions
asked 2025-01-08T17:19:31.36+00:00
Phunction 281 Reputation points
accepted 2025-01-16T16:49:52.97+00:00
Phunction 281 Reputation points
1 answer One of the answers was accepted by the question author.

Button appearing above page content for all pages on iOS tablet - .NET MAUI

Hi, I have a .NET 8 MAUI app that I'm developing for Android and iOS. I have an issue where all of my pages are showing a blank space at the top with a button, but it's only doing that on iOS when on a tablet. My iPhone doesn't show it and neither does…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 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,221 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
830 questions
asked 2025-01-15T09:13:50.77+00:00
Ben 25 Reputation points
commented 2025-01-16T15:47:34.4166667+00:00
Ben 25 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI: Issue with subscription page in play store, plans are not listing and no cancel option

I purchased a subscription for my own app from play store using real card and I successfully completed the payment. I am redirecting the users to play store subscription page for upgrade, downgrade and cancel subscription. My problem is when I visit the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-15T14:22:59.7166667+00:00
Sreejith Sreenivasan 941 Reputation points
edited a comment 2025-01-16T10:59:55.6266667+00:00
Sreejith Sreenivasan 941 Reputation points
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,844 questions
asked 2024-07-14T14:42:45.7166667+00:00
Dani_S 3,911 Reputation points
commented 2025-01-16T07:04:53.19+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,761 Reputation points Microsoft Vendor
1 answer

Java.Lang.ClassNotFoundException Didn't find class "androidx.core.splashscreen.SplashScreen" on path: DexPathList

I get the following error in Activity1.cs in my Android project: protected override void OnCreate(Bundle bundle) { AndroidX.Core.SplashScreen.SplashScreen.InstallSplashScreen(this); Java.Lang.ClassNotFoundException Message=Didn't find class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-12T14:14:34.6133333+00:00
Kim Strasser 1,201 Reputation points
commented 2025-01-16T05:52:55.9566667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,361 Reputation points Microsoft Vendor
0 answers

Issue with Pipeline on Windows and signing MSIX

Hello everyone, Currently I have a project to migrate an app from Xam.Forms to Maui. The app is deployed to both IOS, Android and Windows and so far IOS and Android went well and the pipelines work great. I have issue however with Windows part and the…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,732 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-15T14:51:39.62+00:00
Marian Hristov 1 Reputation point
edited a comment 2025-01-16T02:59:46.1066667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,361 Reputation points Microsoft Vendor
2 answers

ERROR INITIALIZECOMPONENT

Hello, good morning, I have been compiling a code in .Net Maui, I have added a SplashScreen and in the C# code of the content page in which the SplashScreen is stored, it gives me the CS0103 error with the InitializedComponent, here is part of the code…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 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,221 questions
asked 2023-07-26T21:35:17.5533333+00:00
FluxuRate 50 Reputation points
edited an answer 2025-01-16T02:58:39.4433333+00:00
xingshun Lee 0 Reputation points
0 answers

Unprotected Android Activity: IntermediateActivity

Hello, We have mobile app which is using MAUI8, during PEN testing we have encountered one issue. "IntermediateActivity" which is not part of the our app but it is coming through the Microsoft.Maui.ApplicationModel.IntermediateActivity…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-15T09:17:15.4+00:00
Roshan Zanwar 0 Reputation points
commented 2025-01-16T01:28:37.92+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,361 Reputation points Microsoft Vendor
2 answers

Windows Surface Laptop 7 (ARM) - VS 2022 17.12.3 - MAUI - Hot Restart iOS - Object reference not set to an instance of an object.

Hello - going a bit kookoo here. Working on a MAUI app, not updated to 9 yet. It debugs, builds and can push to test group in Google Play Store. I'll preface all this next bit with this... I was not able to test at all on a physical usb connected iOS…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,370 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2024-12-23T03:48:52.1833333+00:00
Christopher Meehan 0 Reputation points
answered 2025-01-15T08:09:47.02+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,711 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Refresh the map

I need some help in refreshing the map, when the internet is back on Since the map doesn't have any refresh, I am using the pages stack to reload the page interface public interface IAppService { Task NavigateToPage(string pageName); …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-06T15:44:50.4466667+00:00
Eduardo Gomez Romero 1,235 Reputation points
accepted 2025-01-15T08:08:36.4633333+00:00
Eduardo Gomez Romero 1,235 Reputation points
1 answer One of the answers was accepted by the question author.

increase the bindings performance

Hello happy new year to everyone I am trying to increase performance on my xaml Since I updated to .Net 9, I got this warning Binding was not compiled because it has an explicitly set Source property and compilation of bindings with Source is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-04T14:38:08.8266667+00:00
Eduardo Gomez Romero 1,235 Reputation points
accepted 2025-01-15T08:08:07.8133333+00:00
Eduardo Gomez Romero 1,235 Reputation points
0 answers

Is it possible in .net Maui to get access to the current binding for a bindableproperty?

I want to be able to access the binding for a bindable property not the bound value the BindingBase that was created that controls the binding process. Specifically I want to get the path that was specified when the binding was created (usually in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-10T19:50:11.6+00:00
Jeff Pfahl 91 Reputation points
edited a comment 2025-01-15T07:59:28.0866667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,711 Reputation points Microsoft Vendor
1 answer

What is alternative of App center as it is going to deprecate by March 31, 2025?

I am using App Center Analytics, App Center Crashlytics, and App Center Distribution for my .NET MAUI application. Are there any alternative options available for all three of these services? If so, which ones are considered good alternatives? App…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2024-12-24T10:35:22.9566667+00:00
Shingala A 30 Reputation points
commented 2025-01-15T07:14:10.83+00:00
Shingala A 30 Reputation points
1 answer

Firebase Analytics not logging events in MAUI .net9 for both iOS and Android ?

Hi, Firebase dashboard is not registering any logs for my MAUI app. I am using Xamarin.firebase.Analytics for Android and AdamE.Firebase.iOS.Analytics for iOS. .csproj <ItemGroup Condition="'$(TargetFramework)' == 'net9.0-ios'"> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2024-12-02T14:09:37.8866667+00:00
Jermin Contractor 0 Reputation points
commented 2025-01-15T07:11:46.6133333+00:00
Jermin Contractor 0 Reputation points
0 answers

.NET MAUI getting error on Android : Error inflating class android.widget.TextView

In .NET MAUI getting below error only for android when i try to show snackbar (maui toolkit) : Java.Lang.RuntimeException Binary XML file line #26 in it.test.App:layout/design_layout_snackbar_include: Binary XML file line #26 in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,844 questions
asked 2025-01-14T11:46:50.05+00:00
Paolo Levati 0 Reputation points
commented 2025-01-15T06:39:49.5866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,761 Reputation points Microsoft Vendor