Navigation help with .Net Maui app
I am trying to figure out a way to navigate. Right now I have the main page as a shell page with some content, from here I launch Tabbed Page sections, there are several and each page contains 5-6 tab pages. This does not work in Android as you can't…
Deploying MAUI Android but getting iOS errors!
I am porting a project from XF to MAUI. I am trying to build a Signle Project Class Library that has TargetFrameworks of <TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks> I have Android and iOS specific files under…
publish app in mac
Hi, How do i publish my app in mac ? In windows i did: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…
Other map than Google Maps
Hi I have a children app that is all about music and dancing for kindergarden kids. In one of the pages we ha a world map where we put out pins for opening songs and to show where they come from. I used the google maps plugin in Xamarin and it worked…
Error CS0246: The type or namespace name 'MauiUIApplicationDelegate' could not be found (are you missing a using directive or an assembly reference?)
Hi i am all of sudden getting this error message in my MAUI project after upgrading Visual Studio Mac.... How to fix it? Error CS0246: The type or namespace name 'MauiUIApplicationDelegate' could not be found (are you missing a using directive or an…
How can I play a video from a folder in my iOS project with the native iOS AVPlayer?
I want to add a video file, for example an .mp4 file, to my iOS project. Can I create a folder named Resources in my iOS project, adding the .mp4 file into this folder and playing it with AVPlayer? How can I play a video from my iOS project instead of a…
Open and close access to USB and Cdrome
Hi, I want to build client on Maui on windows that do the following things. In computer that has no antivirus. When client is loading it will close all the access to USB and Cdrome through registry. And when user insert USB or Cdrome the system identify…
Binding Problems
So my project is devided into parts Service public class WeatherService(HttpClient client) : IWeatherService { public async Task<Root> GetWeatherDataByCoords(double lat, double lon) { var responseMessage = await…
No compatible code running on the thread
I know what is causing this, but the solution evades me, because many of the answers are "I upgraded to the next VS version", which is not helpful. What is causing this: I have a class (record) that overrides the AutomationId property of a UI…
GoToAsync Failed With Java.Lang.IllegalStateException
In my ViewModel, I had a relaycommand to navigation another page: [RelayCommand] public async Task ReviewIt () { ... await Shell.Current.GoToAsync(nameof(ReviewItView), new Dictionary<string, object>{ ["key1"] = value1, …
Can we create native iOS XCFramework & Android jar files using c# maui code base?
Team, Our plan is to generate iOS XCFramework & Android jar files using c# maui code base to re-use the functionality written in c#. How to generate such libraries. When I tried to generate the library using VS for Mac, I got dll & pdb files,…
My app icon is not displayed correctly on iOS. But my app icons are in AppIcon.appiconset
I have added my app icons on my iMac to my iOS project in Assets.xcassets-->AppIcon.appiconset. After that I copied my iOS project to my Windows 11 laptop and then I paired Visual Studio with my iMac to debug the iOS project on my iPad. But the…
Multiple apps in one project
Hi, is it possible to have one project with multiple apps inside that share most of the code? I have some educational apps wich have different content based on the api they call but they all have common code for excercises etc.. In Xamarin I had them…
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: Can‘t access image from ContentView
Hello, i have trouble trying to access View (image) in C# code. .NET Maui is used, now migrating from Xamarin Forms. Maybe someone will be able to help me. So what I have done: 1. Created root folder “MyTemplates” in my “AngryFish” project. 2. …
Issues in running the MAUI app in Macbook
We created a MAUI app using version .Net8.0. We are trying to debug/run the app by connecting Visual Studio to Mac, but we are encountering issues debugging the app. The pipeline is functioning as expected. Specifically, we're facing an issue with…
Unable to make full screen splash in .NET MAUI
How can I make splash to display in full screen instead of just at the center of the mobile screen in .NET MAUI? I've tried different base sizes, but not working. Target android version up-to 13. <ItemGroup> <MauiSplashScreen…
Sharpie Binding Error.
Hai, I'm trying to bind an objective C/Swift ios static library with maui binding project. I'm getting the following error when i use the command line to generate the binding for me. It is not very clear as to what is causing is error. Kindly guide me…
Nunit in .net maui
We are trying to use Nunit/xunit in our project. Due to some dependencies with the other nuget packages, we are unable to run the test cases and giving errors. We are using Zebra.Printer.SDK- Version="3.0.3271" because of this we are unable to…
How to run background tasks in .net Maui Windows App
Greetings, I am trying to run a back ground task in my .net Maui windows applicaion. I tried using IBackgroundTask interface. The task is registerd successfully, but it does not run when triggred. I've tried the same exact code with UWP (Blank UWP for…