9,195 questions
0
votes
0
answers
49
views
.NET MAUI CollectionView GroupHeaderTemplate Crashing on iOS with Incomplete List Rendering
I'm developing a .NET MAUI application that displays a list of Primary Buddies and Secondary Buddies grouped inside a CollectionView. Everything works perfectly on Android — all buddies are listed, ...
1
vote
0
answers
45
views
Documents folder path discrepancy between Android version (9 et 15)
I'm in testing step of my MAUI application, and I have an issue when testing on a emulated Android 9 (API 28).
I was testing and correcting my code on last Android version (Android 15, API 35), and ...
0
votes
1
answer
64
views
.NET Maui CollectionView loads in duplicate objects when scrolling
When I scroll on my CollectionView in my .NET Maui app, the items that are loaded are duplicates of the ones that are already showing.
This is the start of the CollectionView:
Once we scroll, we can ...
1
vote
0
answers
40
views
"Binding instances cannot be reused" for ToolbarItem IsVisible property
Background: I'm writing an app in MAUI and want to have some toolbar items which are not required on every screen within the app. I don't want to go to the hassle to creating my own toolbar and am ...
1
vote
3
answers
96
views
Can't pass bound view model as command parameter
<CollectionView.ItemTemplate>
<DataTemplate x:DataType="data:PhotoItemViewModel">
<Border StrokeThickness="1"
...
2
votes
1
answer
165
views
PageOverlayColor not working for Maui CommunityToolkit Popup
I am in the process of updating a .net maui project to .net9 and have not been successful implementing the new popup rewrite using CommunityToolkit 12.1.0. The background around the popup except for ...
1
vote
0
answers
56
views
PeriodicWorkRequest is not being scheduled in my MAUI App
I need some help with my MAUI .NET 9 C# project targeting Android 15 (API 35).
I'm trying to schedule background jobs to run every 60 minutes, even when the app is closed and not in memory.
From my ...
0
votes
0
answers
39
views
MAUI Shell navigation - Best practice for login prompt
I'm currently planning to migrate to MAUI's Shell navigation aiming to allow URL navigation, and I'm wondering how are usually handled the pages that require to be logged against those that don't. The ...
3
votes
1
answer
2k
views
Has anyone successfully targeted Android API Level 35 in a .NET MAUI app?
I recently got a critical warning from Google Play Console: "2 of your apps are targeting an old version of Android. Google Play requires all apps to meet target API level requirements before ...
0
votes
1
answer
47
views
Loading image from Resources causes native crash in Release
According to Microsoft, this is the correct way to load an image
Assembly assembly = GetType().GetTypeInfo().Assembly;
using Stream stream = assembly.GetManifestResourceStream("Ringotan....
0
votes
0
answers
88
views
.NET MAUI & Web API - How to authenticate users
I am creating an app using .NET MAUI, interacting with a database via an ASP.NET Core Web API. The intention is to host the API and database on a local network which can be accessed by android devices ...
1
vote
1
answer
98
views
.NET MAUI: "Missing default constructor" error for Page with DI despite DataTemplate and Registrations
I'm developing a .NET MAUI application using Shell for navigation and Dependency Injection (DI) to inject ViewModels into my Pages (Views). My goal is to have a TabBar page as the initial content of ...
1
vote
2
answers
93
views
Is there a way to intercept the return key on a MAUI editor?
I'm trying to develop a chat application and I'm looking for a way to have my maui Editor accepts the return key pressed as a send command.
Certainly the Editor doesn't have an AcceptsReturn property ...
-1
votes
1
answer
136
views
How can i make MAUI Editor that expands its height based on text inside it?
I am developing in MAUI and I have this doubt on how can I resize my Editor automatically just based on the text written inside, if the text reaches the end of the editor width (and the width it's ...
2
votes
0
answers
33
views
How to Minimize .NET MAUI App to Dock When Clicking Red Close Button on Mac Catalyst
Problem:
In my .NET MAUI application running on Mac Catalyst, I want to minimize the app to the dock when users click the red close button, rather than quitting the application. Currently, clicking ...
0
votes
0
answers
70
views
Handle "onclick" button event in Maui Webview with HybridWebView
I am writing a mobile application that works with a specific website. There are many buttons on this website and I need to handle the "onclick" events of these buttons.
For this, I tried to ...
0
votes
1
answer
132
views
I cannot publish my completed .Net Maui application
I completed my .net maui application and got it working 100%. Now I want to publish it into a windows setup.exe file. However, when I right-click on the solution name in the solution explorer, the ...
1
vote
1
answer
70
views
CollectionView inside CarouselView doesn't scroll in Android (MAUI)
I'm trying to implement similar functionality to how Gmail and Outlook apps works, e.g. user can swipe left/right to navigate between emails and inside email you can also horizontally scroll ...
0
votes
0
answers
118
views
.NET MAUI iOS deploy to device fails with 0xe8008015
I have a cross-platform .NET MAUI app that deploys fine to the simulator but now fails on my real iPhone with:
ERROR: Failed to install the app on the device. … A valid provisioning profile for this ...
2
votes
0
answers
126
views
.NET MAUI ScrollToAsync not working correctly on iOS when Entry is focused (keyboard overlap issue)
I'm building a login screen in .NET MAUI and using a ScrollView to allow vertical scrolling. On Android, everything works fine — when the user taps on the Entry (email field), the screen scrolls and ...
0
votes
1
answer
45
views
Visual Studio autocomplete not working with mstoolkit
Updated Visual Studio 2022 to version 17.14.6 and all NuGet packages for a MAUI application.
I've CommunityToolkit.Maui v12.0 and CommunityToolkit.Mvvm 8.4.0.
VS do not recogize in intellisense all ...
0
votes
0
answers
92
views
MAUI Android use local SQLite database file issue
I use MAUI (.NET 8) for my Android application. I've added SQLite database file, previously configured from SQLite Studio. Tested connection on desktop (Windows 11 on my local machine) - it works well....
0
votes
0
answers
42
views
There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'android-x64'
The error above raises after trying to run under debugging my MAUI application.
The solution contains both .MAUI and .Web projects and .SharedComponents project (class library). Every project ...
2
votes
1
answer
92
views
Random .NET MAUI COMException NavigationFailed was unhandled on Navigation
we are experiencing random crashes in a WinUI/Windows .NET MAUI Application (.net 8) which seems to be happening randomly on navigation back to the main page. It is hard to reproduce since it only ...
3
votes
0
answers
148
views
How to navigate while a popup is visible?
I'm trying to make .NET MAUI app with a loading spinner that is visible while navigating between pages in the background.
This worked great using community toolkit popups with .NET 8, but with the new ...