34,616 questions
1
vote
0
answers
51
views
Xamarin Forms - Last Android version supported
What is the last version of Android that is supported for Xamarin Forms? I'm trying to update my app to the last possible version of Android for Xamarin Forms. I know I'll have to switch to MAUI ...
1
vote
1
answer
457
views
.Net 9.0 Maui needed from november first to be able to release new version to Google play store?
I got a message today from the google play console stating that my app must support 16 kb memory page sizes by november 1, 2025. If I don't fix this by november 1st 2025 I will not be able to release ...
0
votes
1
answer
660
views
How to continue using Xamarin.Forms on Android 15/16 after end of support?
I have a Xamarin.Forms application and I would like to continue using Xamarin.Forms for at least the next 2 years.
I understand that Xamarin.Forms has reached its end of support (official support ...
1
vote
1
answer
115
views
OnnxRuntime SO files does not get packaged in a APK file generated from Xamarin app
I am figuring out how can I run my machine learning model in C#.NET Xamarin Android app. I am testing it inside Android device created using Android Device Manager that comes with VS2022. I have ...
0
votes
1
answer
138
views
Will my Xamarin.Forms app be accepted by the Google Play Store if I select Android 13 as a Target Framework and API level 34 (Android 14)?
I have developed my app using Xamarin.Forms.
I have got an email that, 'Your developer account is at risk of being closed because it's not being used'. To fix this I need to publish an update to an ...
0
votes
0
answers
21
views
Maui AppShell not compatible with Android Oreo:
I have a Maui App containing an AppShell.
It works perfectly on any phone but crashes on Android Oreo (8.1).
I do see the Login page without any issues but as soon as I navigate to the AppShell, it ...
0
votes
0
answers
25
views
Google Fit Consent Screen Not Showing After Migration from Xamarin Forms to .NET MAUI
Description:
We recently migrated our application from Xamarin Forms to .NET MAUI, and since then, the Google Fit consent screen is no longer visible during the authorization flow.
Previous State:
In ...
0
votes
0
answers
32
views
How to use JARBinding on Xamarin.Forms?
I've a .jar library for Android. I need to use it from the Xamarin.Forms code (we do not use ios project, only android). So I followed Microsoft guide for Jar Binding, but when I build the app project ...
0
votes
1
answer
179
views
NuGet package 'HarfBuzzSharp.NativeAssets.Android' version '7.3.0.2' contains a shared library 'libHarfBuzzSharp.so' which is not correctly aligned
Added SkiaSharp.Views.Maui.Controls v3.116.1 to a new project, and it gives me the following warning:
NuGet package 'HarfBuzzSharp.NativeAssets.Android' version '7.3.0.2' contains a shared library '...
0
votes
0
answers
65
views
.Net Maui - iOS Privacy Manifest
We are using the following Nuget Package "BarcodeScanner.Mobile.Maui" for Barcode scanning in our .Net Maui App.
Above nuget package already has Privacy Manifest file included but still App ...
1
vote
1
answer
61
views
Xamarin Forms – Android: Comma as decimal separator is not recognized when typing
I’m developing a Xamarin.Forms app, and I have an Entry field where users need to enter decimal numbers.
The Entry uses the numeric keyboard (Keyboard="Numeric").Region is German
...
0
votes
0
answers
40
views
Xamarin forms EventToCommandBehavior is not recognised in xaml view
I am creating a Xamarin forms app. In my xaml, the EventToCommandBehavior is not recognising and showing compile error :
Cannot resolve type "behaviors:EventToCommandBehavior".
The type '...
0
votes
1
answer
37
views
How to use custom font in Xamarin.Android?
In Android device or emulator, there will be a set of fonts available as system fonts. The list of fonts can be obtained by using this API AvailableFonts
Questions:
How to display a TextView with the ...
0
votes
0
answers
44
views
pdftron PTDocumentController remove annotationToolbar
I am using the PTDocumentController to display the a PDF file but I want to remove the annotation drop down and toolbar. Below is the code that I have tried but it is not working.
var ...
1
vote
1
answer
174
views
testhost.exe doesn't see Microsoft.Android Framework?
I'm upgrading a Xamarin Forms project to MAUI taking the projects to .NET 8 and everything seems to be working alright until I try and run tests. The app works and all of my tests show in the Test ...
0
votes
0
answers
98
views
In .Net MAUI when used data template the child height is not updated to parent height
In . NET MAUI when used data template and inside the data template when used grid or stack layout and inside it used label or any and setting the height for the label but not for parent (grid or stack ...
1
vote
0
answers
54
views
Xamarin.Forms iOS project not resolving Xamarin's namespaces while Android does & the opposite if updated
Using .Net 5.0 /
Xamarin.Forms v5.0.0.2125
I re-opened a project I was building with .NET 5.0 in the past and have been trying to bring it back to life, everything works well with android but it doesn'...
0
votes
0
answers
22
views
ListView not scroll enought
I'm newer with mobile development and xamarin.
I've got a listview in a xamarin page in an application with a tabbar in the bottom.
The listview doesn't scroll enought to show the last items.
This is ...
2
votes
0
answers
96
views
Update Xamarin Forms App to .Net Maui App Preference Data gets lost
I have an app created in Xamarin Forms in the store. I recently migrated to Maui. I was using Xamarin.Essentials.Preferences in my Xamarin Forms, and in my Maui I had to change it to Microsoft.Maui....
0
votes
0
answers
32
views
Picker in Xamarin.Forms crashes on click
I'm developing a Xamarin.Forms app, and I'm facing an issue where the Picker crashes immediately when clicked. This problem occurs on Samsung and Google Pixel devices, but it does not happen on Huawei ...
1
vote
1
answer
115
views
iOS On Demand Resource with MAUI
With Asset packs for Android now in MAUI .NET 9, I wonder how to use the iOS equivalent of On Demand Resources in MAUI. I thought I could port over a few of my older Apps (which still use Xamarin....
0
votes
0
answers
97
views
.NET MAUI - Android - NullPointerException - androidx.core.view.ViewCompat$Api29Impl.getAccessibilityDelegate
The application crashes only in Release and almost every time I navigate to the page where custom view is present.
Here is the code for MyLinkView:
<ContentView.Content>
<Label
...
0
votes
1
answer
55
views
Maui AndroidSpecific TabbedPage.BarItemColor and BarSelectedItemColor?
Xamarin.forms had
android:TabbedPage.BarItemColor="#66FFFFFF"
android:TabbedPage.BarSelectedItemColor="White"
I am not able to find those 2 for Maui. Are they just missing ...
-1
votes
1
answer
43
views
How to select all items in my listview with one main checkbox
I want that the first checkbox in my listview listview with tasks which is responsible for checking all checkboxes i first column that chcecks all chekboxes. But when I check for example two ...
2
votes
0
answers
230
views
.NET MAUI - RefreshView Content is not visible inside a Grid with Row Auto
After migrating to MAUI I have a problem with showing RefreshView Content when the RefreshView is wrapped around Grid and RowDefinition is Auto.
<Grid RowDefiniot="Auto">
<...
0
votes
1
answer
184
views
Geocoding.GetPlacemarksAsync Exception in .NET MAUI on iPhone iOS version 18: Foundation.NSErrorException
I'm working on a .NET MAUI application to obtain the user's current location on an iPhone using Geolocation and Geocoding APIs. However, I'm facing an exception when trying to geocode the current ...
0
votes
0
answers
13
views
Xamarin forms iOS Xam.Plugin.Media Only one operation can be active at a time Error even when multitap is preveted
I am facing an issue in Xamarin forms iOS in release.
Xam.Plugin.Media gives an error "Only one operation can be active at a time" in some physical devices and for released version only.
I ...
7
votes
1
answer
4k
views
.NET MAUI Application class MainPage is Obsolete
I just migrated a small project to .NET 9 and it seems Application classes MainPage is now obselete, cannot find a direct solution for this
My current code:
public App()
{
InitializeComponent();
...
-5
votes
1
answer
783
views
Looks Like .NET MAUI Is Still Clunky Dealing With iOS's Provisioning Profile "System"
To all:
I've been trying to port an app I wrote last summer in Xamarin Forms over to the latest version of .NET MAUI. I had few issues (but not none) with the Android version, but - as usual - iOS is ...
0
votes
2
answers
236
views
Set and Remove NFC Password Protection
I am developing an NFC test app using Xamarin.Forms and the Plugin.NFC library:
https://github.com/franckbour/Plugin.NFC/
However, this library does not include a feature for setting or removing ...
0
votes
1
answer
274
views
Xamarin Forms app freezes on Splashscreen during debugging
I'm trying to debug a Xamarin Forms App on a Android Emulator but it always freezes on the Splash-Screen. Does somebody know why this happens?
This is the last version we deploy with Xamarin Forms ...
2
votes
1
answer
240
views
.NET MAUI - Is it possible to detect (and don't block) native touch and TapGestureRecognizer?[Android]
I have a simplified code:
<MyCustomView>
<MyChildView/>
</MyCustomView>
Inside MyChildView:
<Content>
<MyClicableView>
<MyClicableView.GestureRecognizers>
...
0
votes
0
answers
13
views
How to clear selection in a CollectionView by clicking OK in a DisplayAlert?
**Hello everybody. I´m trying to clear selection in a CollectionView after clicking "OK" in a DisplayAlert but I haven´t be able to achieve it. Here´s my original code (regci is my database):...
0
votes
1
answer
59
views
How to Properly Bind the Button in Xamarin Forms
Can someone explain to me why my content is not showing when I add the Button with Binding, but if I don't add the Binding, it will show the content of my page?
HomePage.xaml
<?xml version="1....
3
votes
1
answer
1k
views
Xamarin.Forms iOS broken after updating Xcode from 15 to 16.1
I have a macOS updated to 15.1.1 with Xcode 16.1.
On Windows 11 machine I am running Visual Studio 2022 17.12.1 with latest Xamarin.Forms.
I try to debug Xamarin.Forms iOS app through macOS on USB ...
0
votes
1
answer
392
views
Xamarin Android App Crash on Android 15: mono-context.c:474, condition 'fpctx->head.magic == FPSIMD_MAGIC' not met
I am encountering a crash in my Xamarin Android application, but it occurs only on Android 15. The app crashes with the following error:
* Assertion at /Users/builder/jenkins/workspace/archive-mono/...
1
vote
0
answers
59
views
I was unable to successfully compile the Xamarin application
I developed a Xamarin application, paired it with a Mac, and successfully ran it on an iOS simulator.
After creating a certificate and provisioning profile and installing them on my Mac and Windows PC,...
0
votes
0
answers
93
views
How can I display the virtual keyboard when I have a physical keyboard (Barcode Reader) connected to my device in my app .NET MAUI 8.0?
I am developing an application in .NET MAUI 8.0 where I have a barcode reader connected to it via bluetooth. However, this reader when connected works like a physical keyboard, and on some screens I ...
0
votes
1
answer
170
views
Xamarin.Forms NFC: Automatically Launch App and Read Tag Data on Android and iOS
I'm creating a Xamarin.Forms app where, upon placing an NFC card on the phone, the app should launch automatically and immediately read all tag data (ID and payload at least) in one cycle.
On some ...
0
votes
0
answers
33
views
How to dsplay information whithin listview whitout saving it to database?
The problem is, I've got listview which contains events whaich are added and saved to sqlite database. For example there is a certificate added to listview which expires in 2 years 4 months and 20 ...
0
votes
1
answer
68
views
How to read data from real Serial Port with Xamarin Forms on Android?
I need to read data from serial port, but NOT by an usb-rs232 adapter like many other question that I found here on S.O. I've an android 11 device with a real serial port, and I need to read data from ...
1
vote
0
answers
62
views
Xamarin iOS System.UnauthorizedAccessException: Access to the path is denied reading shared files
System.UnauthorizedAccessException is triggered in our Xamarin iOS app when reading a shared file, either from another app or through a public folder.
This error is new and started after updating from ...
0
votes
1
answer
65
views
Xamarin.Forms with Shiny Jobs not working on iOS
I'm developing an app using Xamarin.Forms version 5.0.0.2662 and the Shiny library for periodic jobs (version 2.7.3). The periodic jobs work perfectly on Android devices, but they don't work on iOS. ...
1
vote
0
answers
30
views
Why do some links work correctly and others throw errors? [duplicate]
private void SearchBar_TextChanged(object sender, TextChangedEventArgs e)
{
StringComparison comparison = StringComparison.InvariantCultureIgnoreCase;
ItemsListView.ItemsSource = ...
2
votes
2
answers
283
views
how to set connection timeout on remote firebird?
With my Xamarin Forms app I connect to a Firebird database on my Windows PC when I'm on the same WiFi network by the IP address. This is the connection string:
@"Server=" + ipaddress + @&...
2
votes
0
answers
227
views
the version of this app may be old turn off auto update for this app to keep it from getting updated, unable to install on Android 14
I compile my app with target version android 14 (API level 34 ). When I release my app for internal testing, I am getting this error while trying to download the app through internal testing link &...
0
votes
1
answer
292
views
Android 14, Xamarin Emulator Deployment Failed. Error XABLD7024
I have a Xamarin Forms app that I've upgraded to Android 14 which builds fine but it fails when I try to run it in the emulator. I'm running Visual Studio 17.6.3 (build 421) on the Mac. I get the ...
1
vote
0
answers
249
views
Pop to previous page on .NET MAUI Android seems to reload the whole UI, which causes poor navigation performance
I am using Navigation Page on .NET Maui project, and whenever I pop to the previous page on the stack (with or without animation) it shows a blank white page for a moment before it displays the page ...
0
votes
3
answers
883
views
Application in Xamarin Forms and it stopped working on iPhones that updated to iOS 18.0
I have an application in Xamarin Forms and it stopped working on iPhones that updated to iOS 18.0
The first time I compile the application it works normally, but if I finish it and open it again, it ...
0
votes
0
answers
141
views
Xamarin to MAUI migration - ContentPresenter not displaying elements
I am working on a product migration from xamarine to MAUI. App has a login screen base view and a child view. base view is using contentpresenter to render child view. But content presenter is not ...