How to find where .pkg file store the installed app
I Use the following command to create a .pkg: .NET CLICopy dotnet publish -f net8.0-maccatalyst -c Release Publishing builds the app, and then copies the .app to the bin/Release/net8.0-maccatalyst/ folder or the .pkg to the…
.NET MAUI Google maps return an error when following the detailed guide to setup.
I have created an new .Net Maui 8.0 application. From there I have faithfully followed the setup at "https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/map?view=net-maui-8.0#setup" After every step I have built the project…
How ro change Hamberger icon backgound color to green in .net maui
When i am clicking on push notification it navigates to the Consumable request details page and when clicking on back button it navigates to the Consumable request page. When it navigates to Consumable Request page tools bar color changing to black…
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…
Shell Navigation doesn't render the next page on Android. Shell Current State shows DnsSafeHost - System Invalid Exception.
Shell Navigation doesn't render the next page on Android. Shell Current State shows DnsSafeHost - System Invalid Exception. The steps - Have set the AppShell as MainPage MainPage = new AppShell(); Routing registered for second page on…
MAUI - Issue with saving an Image as a ByteArrayContent
In my MAUI application, there is a profile page where users can view and edit their personal details. This page includes functionality for updating the profile image. Users have three options for adding a profile image: Taking a photo using the…
Issue with CollectionView RemainingItemsThresholdReached event
I am facing 2 issues with the CollectionView: I have given RemainingItemsThreshold="0" for CollectionView, but the RemainingItemsThresholdReached event is firing before reaching the last item. It is calling around 6 items before the last…
MAUI - How can slider reduction be prevented?
In my MAUI application, I am using a slider to set a timer. The user can set the desired time by sliding the slider to the appropriate position. Once the timer is started, I want to prevent the user from reducing the set time until the timer completes…
How to show alternate text if image loading failed in .net maui?
<Image x:Name="img" Source="{Binding Image}" Aspect="AspectFill" Margin="2" IsVisible="{Binding IsImage}"> </Image> I am using above code to show image. Additionally, i want to show…
MAUI: Slider header is not moving
I have a slider in my UI and I am not able to move it properly. Below is the code: <Slider x:Name="watchme_slider" Grid.Column="1" BackgroundColor="White" MinimumTrackColor="#1c98d7" …
Antivirus based on user
Hi, Does Antivirus based on user can work on maui net 8 mac os , i.e this anrivirus will block the USB and CDRome and only the user will on maui app can reach these drives. Like impersonation in windows. Thanks,
MAUI .NET 8 on iOS -System.ArgumentException: NaN is not a valid value for width
I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. When tried to run the project with the iOS simulator with Jetbrains Rider, which threw the exception below, System.ArgumentException: NaN is not a valid value for…
Whitescreen when reopen a MAUI app from background when app was first opened from push message
Hi, we have a maui blazor app and there is a strange behavior on Android. The app receives push message from firebase. When app is completely closed (not in background) and an incoming push message is clicked the app opens and handles the push message.…
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,
Maui for Android OCR project Using latest maui and android versions
Hello All. I created new maui project based on an Ocr for Android example. And it start build ok but after a while it throw this error. Please any help to fix this. Thank you. Build…
Only one app running in MAC?
Hi, Does this code work on MAC, only one app running ? Thanks, public partial class App : Application { private static Mutex mutex = new Mutex(true, Assembly.GetEntryAssembly().GetName().Name); public App() { if…
Targetting xaml for multi platform
I have a xaml that includes android specific library as assembly and it needs to compiled only for android target platforms. I tried by putting it in platforms folder but it did not work . My assembly inclusion is present in xaml itself like the below…
Dirty log for font
Hi, I get error for in the log, bu app work as expected. Where this error come from? Thanks, 2024-06-30 13:47:22,492 [1] ERROR Microsoft.Maui.FontManager - Error loading font 'Assets/Fonts/Arial.ttf'. System.ArgumentException: The parameter is…
Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera
When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…
can not use UIKit or others in .net ios Bindings?
I created ios Binding project. and want to compile .a file to .dll there is ApiDefinition and StructsAndEnums.cs but both of them can not use ios UIImage NativeHandle Export Verify and all of it. CGSize Static can not use too. I can not use this…