Content
The type or namespace name 'Platform' does not exist in the namespace 'Microsoft.Maui.Graphics' (are you missing an assembly reference?)
I am using Visual Studio Community 2022 64 bit 4.8.04161 on Windows 11 Pro. I need to be able to draw an image at a particular location. I am attempting to use the documentation at…


KeepScreenOn throws error on Android
Hi, I am trying the following: DeviceDisplay.KeepScreenOn = true; inside the App,xaml.cs and it's working fine on iOS but when I run it on Android I get below error: System.NullReferenceException: The current Activity can not be detected. Ensure that you…


Location permission alert is not showing in android in net maui
I am using below code on xaml page but location permission in not working with promt method protected async override void OnAppearing() { base.OnAppearing(); var status = await…


simpler RowDefinitions
Hi, I have the following RowDefinitions="Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto" How can I make it simpler to have 12 Auto Rows? Thanks, Jassim


How to change the size of the font for whole project during runtime?
Hello everyone, I want to make a dynamic update of the font size, I tried it like here(https://learn.microsoft.com/en-us/training/modules/use-shared-resources/4-use-and-update-dynamic-resources), but not everything ok, however I used dynamic resources.…


如何和在MAUI程序中订阅android的广播消息。
以前在xamarin中可以通过 activity.RegisterReceiver(receiver, new IntentFilter("com.xamarin.example.TEST"));来订阅系统广播,或其他app的广播消息。请问在MAUI中怎么订阅呢?谢谢。
Unable to archive iOS apps
Archiving iOS app in Visual Studio for Mac does not archive anything without error. I didn't know the cause, so I recreated the project, set the signature and archived it, and it worked normally. However, when I tried to archive the same project the next…


Does .NET MAUI support WPF?
As we know we can create UWP applications in MAUI, Please let me know can we create WPF applications In .net MAUI, If there is any possibility please let us know what is the approach for that. [Goal clarification edited in from comment --RC] We…


.NET Maui How to convert a byte array image to a .NET maui image
Hi There seems to be some difference between the System.Drawing.Image and the Microsoft.Maui.Controls.Image, and I have failed implementing any of the solutions found online. I have a test page created with this Xaml code: <?xml…


Compatible nuget package for GoogleApiAvailability.Instance.IsGooglePlayServicesAvailable in MAUI
In MAUI, I'm trying to check if GooglePlayStore Is Installed or not in device before redirecting to GooglePlayStore through url but unable to find the package for below code. Here's the sample code that I'm using private bool…


Is there a way we can integrate .NET MAUI onto existing swift code project
I have an project which was developed in Swift using Xcode. Is there a way we can integrate .NET MAUI on to existing Swift project ?


Does MAUI support push notification
Does MAUI preview 6 have option to support or handle push notifications using FCM.


How can I use a class declared in a ViewModel as DataType in XAML (MAUI)
Hey everyone! So I'm making a recipe creation tool that uses SQLite in order to learn MAUI. I'm at the point where I'm trying to use different models for ViewModels, the SQLite data, and I want to have separate models per views as well that are declared…


How to configure Auto update in MAUI application ?
Hi, Consider we have developed a MAUI application, for deployment of this MAUI application in multiple machine we created a setup file / package following this link -…


When I use .NET MAUI, how can I make a menu bar directly under the title bar.
I want to make a menu bar directly under the title bar, but with the .NET MAUI app template, it has AppShell.xaml file, and when I add menu in file MainPage.xaml according to this link…


Create Scheduled code every 3 seconds
Hi, I have the following in my MainPage: timer.Interval = TimeSpan.FromSeconds(Preferences.Get("EyeTiming", 3)); timer.Tick += (s, e) => CheckConnection(); timer.Start(); and the CheckConnection() is a class in MainPage that…


SetAppThemeColor throws Exception has been thrown by the target of an invocation
Hi, I am trying to set the color with AppTheme in Codebehind using this code: MainThread.BeginInvokeOnMainThread(() => { ButtonDisplayModeAuto.SetAppThemeColor(Button.TextColorProperty,…


How to localizae application display name of iOS developed with .NET MAUI?
Display name is localized on android in (Resources\values) folder and it works as expected. However, I can't get it to work with iOS. What have been done: In info.plist make sure there is this code …


Once again when will MS fix VS 2022
So I have now spent another couple of hours trying , pleading with Visual Studio to get it together. Notice the status msg, "All Succeeded" meaning no errors but VS shows errors and I have not been able to get rid of them. Clean, Rebuild,…


.net Maui, viewModel alternative to OnAppearing
I notice that in .net MAUI OnAppearing doesn;t work. I need to find a way to open up a "DisplayAlert" as soon as the app appears and it must be triggered from the ViewModel. Thank you in advanced.

