How to archive and publish in Visual Studio Mac and MAUI
Hi, I have a MAUI app that i am migrating from Xamarin. Am using Visual Studio Mac for this for now until I can find a suitable replacement. I am ready to release to app store and google play, previously I would do Build > Archive for Publishing and…
Want to use .net 6 in Visual Studio 2022 maui
I learned that .net 8 is not going to be supported in IOS so I want to start using .net 6 in Visual Studio 2022 Maui. I can't use .net 6 in visual studio because it's not supported anymore. I downloaded .net 6 manually but my .net version is stuck at…
What is the replacemet of WindowInfoTracker in Mauii
I am using WindowInfoTracker in Xamarin to detect if the device is foldable or not, and if it is foldable, I want to know if it is folded or half folded itc. I don't see any replacement of this in Maui. If there is any alternative, I would like to know…
Connection string issue
Hi, What kind of file can be inserted, regarding Connection string, into Maui App?
I can't run MUAI release build on Android devices
I'm developing a MAUI application. During development I was able to run it from Visual Studio without any problems in debug mode. Now that I have to send it to the customer I tried to run it in release mode, and it turns out that I can't run it.…
Why are GestureType.Tap and afterwards GestureType.DoubleTap executed when I make a doubletap?
In my game the player needs to tap on the iOS/Android display screen to make a gameplay action. If the player taps once then I want to make a gameplay action. But when the player makes a doubletap then I want to make a different gameplay action. The…
What is the replacement of Android.Support.V7.Graphics.palette in Maui world
Hi Maui experts, I have a following piece of code in Xamain app, which I want to port over to Maui, but don't seem to find the alternative. The intent is to extract the main theme color from the bitmap image. Any ideas? palette =…
An ImageButton with rounded corners does not display well
I am developing an application in .NET MAUI using Visual Studio 2022. Generally it works fine, but at some point something got corrupted and a particular button on a screen is not displayed correctly. The XAML code would be as follows: <StackLayout…
How long has the player tapped on the iOS/Android display screen? How can I measure the time?
In my game the player needs to tap on the iOS/Android display screen to make a gameplay action. I want to find out how long the player pressed his finger against the display screen. For example, if the player pressed his finger 1 second on the screen…
MAUI .NET 8 iOS - Method not found: SkiaSharp.SKMatrix SkiaSharp.SKMatrix.MakeTranslation(single,single)
I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. I am facing an exception as below when loading the SVG image, Unhandled Exception: System.MissingMethodException: Method not found: SkiaSharp.SKMatrix…
Media file picker features in .NET MAUI like in Xamarin Forms
Hi, Is there any way to compress the image and remove the metadata option for the media picker in MAUI like it had in the below package? https://github.com/jamesmontemagno/MediaPlugin
Unnessary folders after pulish in windows
Hi, Which folder are no need after publish : dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d"…
Toggle Speakerphone using Button UI on Android 13
There are many posts that show how to activate a speakerphone for Android 10. Those methods fail to work on Android 12 and higher. This question was posted on the Xamarin Community without a resolution. Does .Net MAUI have a solution.
How to convert memory stream to FileResult
I had asked to compress the image file in the following link:…
MAUI .NET 8 iOS - Span TapGestureRecognizer not working
I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. In iOS, the span text TapGestureRecognizer is not working. gesture_Tapped event is not triggered. var sp2 = new Span { Text = "Click here"…
System.IO.FileNotFoundException: '' when running app after deployment to Android device
Hi I have suddenly started getting 'System.IO.FileNotFoundException: ''' error. Have deleted bin and obj folders and ran Clean but no luck. How can I fix this please? Thanks Regards
Navigation.PopAsync() is giving Java.Lang.IllegalArgumentException: 'No destination with ID 57 is on the NavController's back stack. The current destination is Destination(0x6) class=crc6452ffdc5b34af3a0f.NavigationViewFragment'
Hi, I have pushed a page into navigation stack using private async void OnAddDeviceTapped(object sender, EventArgs e) { Devices = new ObservableCollection<Test.Model.DeviceInfo>(_dbContext.GetAllDevices()); var addDevicePage = new…
flayout navigation - how to deal with rasing memory?
Hi, I used flayout navigation. when navigate beween pages it consume alot of memory. In net 8. Not relase the previous page. Does to use GC.Collect()? Is allowed ? Thanks, public void Navigate(string navigateTo) { if (navigateTo ==…
Getting foldable device info in Maui such has hinge rect info, and if the device is foldable or not
Hi there, In my xamarin android app, which I am moving to Maui, which relies on some foldable device info such as if the device is foldable or not, and if it is, what is the hinge width (such as surface duo). In Xamarin, I used jetPack apis, but it does…
Will Azure Face Liveness Detection be available on .NET MAUI ?
We want to use Azure Face Liveness Detection on .NET MAUI, however the only available supported methods are Kotlin/Java , IOS, and JavaScript for Web Application. Is there any upcoming SDK for .NET MAUI ,if so, when is the expected date of release. Thank…