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…
Problem with rewrite the Backgrounding event
Hi, In continue to https://learn.microsoft.com/en-us/answers/questions/1690214/register-close-button-in-mac All my work in pages stop working. Working with http + tasks. it fire the close button event and close the app. Thanks in advance,
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…
view and print pdf in .net maui
Hello, I would need to be able to view and print a pdf that is hosted on a server. The url of the pdf will be sent to the app. To view it I am using a Webview with the following prefix as Source: pdfview.Source =…
How to find where .pkg file store the installed app
I Use the following command to create a .pkg: .NET CLICopy dotnet Publishing builds the app, and then copies the .app to the bin/Release/net8.0-maccatalyst/ folder or the .pkg to the bin/Release/net8.0-maccatalyst/publish/ folder. If you publish the app…
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…
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…
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…
How can I use the native iOS AVPlayer to play videos?
I want to use the native iOS AVPlayer to play videos in full screen when the user taps on a button in my game. In addition, I want to sometimes display a video when the user reaches a certain point in my game. Currently, the video is displayed in full…
Regarding APP ICON
I have a icon which is square in shape, I want it to fit without showing background. In the below screenshot, My icon looks like webview app icon, I want it to show like maps app icon irrespective of icon outline. I have a square shaped outline in which…
How to apply search in collection view with portion loaded data?
i want to display filtred product in collectionview defined as: <CollectionView Grid.Row="0" Grid.ColumnSpan="3" IsVisible="{Binding IsNoResult, Converter={StaticResource…
Closing app on no internet
Hi I am trying to check internet and to show a mesage to user before closing the app. Problem is DisplayAlert does not show before app is closed. How can I make the DisplayAlert show? Thanks Regards public partial class App: Application { …
Android app crash on Prod but working fine on debug and Qual
I got this error System.TypeLoadException: Could not resolve type with token 01000003 from typeref (expected class 'System.Reflection.AssemblyProductAttribute' in assembly 'mscorlib, Version=4.0.0.0, Any solution for this issue?
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…
How do you read an SMS and MMS message using .NET MAUI (on Android only)?
I'd like to read an SMS and/or MMS message on an Android device only, but from within my .NET MAUI app. Specifically, I want to save any received (MMS) picture that has been texted to me plus any associated (SMS) text. Is this possible with .NET MAUI…
Android Emulator 34 - " Could not start Emulator in HOST GPU Mode"
I downloaded the latest Visual Studio 2022 and I am following the steps to create an Android App. When starting the Emulator I get the Popup error: "Could not start Emulator in host GPU mode" "Please check if you can update your video…
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…
Build error "The type 'BaseVideoView' already contains a definition for 'PlayerStateChanged'" when integrating android library in .net maui application
I have an native android library for video player and added this library(.aar) to android binding library in .net maui 8.0 to integrate the library with .net maui. I have followed the steps in the link…
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…
Maui MediaPicker.Default.CapturePhotoAsync fails under iOS with no error message
Hi, When I try to capture an image on a physical Apple device using MediaPicker.Default.CapturePhotoAsync() the calling function stops functioning with no error message and returns a null. My project is running the following…