How can I display a PDF file in .NET MAUI - using the PDF.js library - for iOS and Windows?
I plan to display a PDF file on my MAUI app. I tried following the answer at this link (https://learn.microsoft.com/en-us/answers/questions/1310387/how-to-view-the-pdf-file-from-maui) and it worked for Android. The PDF is in the Resources\Raw. I want…
.net MAUI is there a way to have an entry field have focus on load but not show the soft keyboard?
so ive worked on an android app in VS2019 and in that app its not a problem for me to have a screen load up, set focus to the first entry field( in that case its an EditText) but not show the soft keyboard. it will only show the soft keyboard if the…
How to contribute to MAUI Development/Bug fixing
Hi everyone, I'm developing some apps with .NET MAUI. I'm facing some issues related for example with CollectionViews and Labels. I would really enjoy being able to see the root cause of this issues in MAUI source code and try to fix them and contribute…
System.NullReferenceException: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object. at Mono.Debugging.Soft.SoftDebuggerAdaptor.GetTypeName(EvaluationContext ctx, Object type) in…
Transparent flyout items
I don't know why, but if I change my flyout to "Locked "in Desktop In cannot see anything my pages are there, and I can navigate but I cannot see. FlyoutBehavior="{OnIdiom Desktop=Locked, Phone=Flyout}" …
Mac question
I don't understand why in Mac is not possible to open all windows Mac does not support programmatic activation of windows. First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please…
Format of the initialization string does not conform to specification starting at index
I am using .net android(not maui) and ef core and sqlite. but there is error Format of the initialization string does not conform to specification starting at index how to use sqlite in .net android?
.NET MAUI Application is not supported on Visual Studio Mac
When I tried to run the MAUI project on Visual Studio Community 2022 for Mac, I faced the error below. Error: Could not find any available provisioning profiles for ApplicationName on iOS. I fixed the above error by deleting the .vs, obj, and bin folders…
How to update entire MAUI workload to latest? (8.0.20)
How do I update my entire .NET MAUI workload to the latest stable version 8.0.20? The latest version can be found here: https://github.com/dotnet/maui/releases/tag/8.0.20 When i run sudo dotnet workload update then it doesn't update to the latest version…
how to change the sdk and emulator path?
the android sdk and emulator is all in C:\\ how to change the path? one of the emulator path is C:\Users\ljzj\.android\avd\pixel_5_-_api_30.avd how to change it to other path
Selected tab icon not visible in tabbed page
Issues- Selected tab(Resources) icon shows blank, icon should be visible( ref screenshots) Previously selected tab(Details) icon color changes to black its should be white (ref screenshots) Currently using below code for custom handler public class…
Seeking Alternative to Xamarin.Forms.Mocks for MAUI
I'm currently working on a project using MAUI and need a mocking framework similar to Xamarin.Forms.Mocks for Xamarin.Forms. However, I'm unsure if there's an equivalent library specifically designed for MAUI. Could anyone recommend an alternative or…
Implementing Vertical Design for Android and iOS, Horizontal Layout for Windows in MAUI: Guidance Needed
Is it possible to implement a vertical design for Android and iOS, while ensuring a horizontal layout for Windows in a MAUI application? If so, could you guide me on how to achieve this?
Maui .Net 8 XCode 15.1 and 15.2 NativeAOT Error in Testflight
Hello, I have an Maui app built with XCode 15.2 and .Net 8. I am using Microsoft.EntityFrameworkCore.Sql V8.0.4 When I install it on my iPad with test flight I get: Model binding is not supported when publishing with NativeAOT. Use a compiled model. I…
Fixing issues with AOT compilation
Hello! I have a .NET MAUI 8 app that I target for Android, WinUI and iOS. I'm using EF Core (context is in separate project) and SQLite DB that gets created on app launch. The issue is with the iOS version and I'm suspecting the issues is with AOT…
Screen Orientation in .NET Maui Application
I am looking to force a certain page to be displayed in landscape mode only. Is there a way to do this in shared code (I am only producing for iOS and Android, no Windows or MacCatalyst needed).
Xamarin.Azure.NotificationHubs.iOS migration .net8
As a part of xamarin migration to .net8? I need to migrate integration with Microsoft Notification hub. THe libs that I was using are Xamarin.Azure.NotificationHubs.iOS for ios and Xamarin.Azure.NotificationHubs.Android for android. According to the…
How to implement "When the maui project is executed and compiled to generate an EXE, how to place all the dependent dll files of the EXE in the libs directory under the EXE directory"
I am a beginner of MAUI. I developed a simple Windows project using maui. I now encounter a problem. The problem is that the compilation result of this project will copy all the dependent DLLs of the EXE to the same directory of the EXE. These DLLs…
[MAUI] How to set the icon of a new window in MAUI? Including Android and Windows platforms
I need to open a new window on my Android device and set its icon, similar to a WeChat mini program, but I haven't seen any API documentation related to it in the official documentation that allows me to set its icon, so I want to ask if this is possible…
How to create borderless entry in iOS- maui .Net 8
I want to create a border less entry and picker in maui for iOS Net8 Thanks Vaibhav Methuku