Category "xamarin"

How can i Change tab item Content on Xamarin forms shell

I need to change one of my tabs' content depending on the condition of the user logged in or just a guest this is my shell <?xml version="1.0" encoding="utf-

How to align image to the left and text to the center on a Xamarin button in iOS?

I want to align my text in the center, but the image on the left. I have tried it with HorizontalAlignment, but it aligns both. How to do it?

`Failed resolution of: Lcom/google/android/datatransport/TransportFactory` when using Xamarin.Firebase

I'm creating a .NET MAUI application using the current preview 11. When I tried to implement Push notifications I added the Xamarin.Firebase.Messaging package a

How to access fields or controls of Custom View from another Page's XAML in Xamarin Forms?

I am having a Custom Control, I want to add some elements from the Page in which it will be used. Just like this <Label> <Label.Text>First Name&

Why am I getting this error/warning whenever I try to use MediaPicker.PickPhotoAsync?

Whenever I use the following code in order to select a photo from my Library using my iOS simulator I get an error/warning. The image is then selected and shown

How can I open app when screen is off from foreground service?

Android: 11 NETStandard.Library: 2.0.3 Xamarin.Forms: 5.0.0.2012 Permissions(i tried): "android.permission.FOREGROUND_SERVICE" "android.permission.INSTANT_APP_F

Writing files to iPhone internal storage accessible for PC user via USB cable (Xamarin)

I am building an iPhone scanner application for my company using Xamarin, C#. The environment is heavily restricted, no Bluetooth or wifi communication is allow

Why does my OpenGL ES app crash on glDrawElements?

I have developed a mobile game with OpenGL ES 3 on Xamarin (Which uses OpenTK). It's running fine on most devices, but crashes on some devices (HUAWEI Y5 lite).

How to achieve Indeterminate state for checkbox in Xamarin form In Android

I want to achieve CheckBox where it works for three state. In UWP I am able to achieve with custom Renderer with "IsThreeState" and by setting IsChecked propert

How to get selected item in Xamarin

I have a Picker in Xamarin and I want to pass the selected item in Picker to the another page(TablePage). Below this Picker there is a button and whenever it is

Xamarin.Build.Download.targets - invalid Id

I cannot build the project after adding Xamarin.Firebase.Functions nuget (v120.0.0) . The error message is: Xamarin.Build.Download.targets(3,3): Error XBD020: I

Backwards Shell navigation does not trigger ApplyQueryAttributes and I can't get the query data .NET MAUI

I have a page that is used to select country code. The ListView with country code's is on another page and on selected country code I navigate back to the previ

Binding to a static property doesn't update in Xamarin Forms

I am learning to use MVVM in Xamarin Forms. I am stuck with a Binding issue. I have been trying different solutions on the internet for the past few hours. I am

Firebase Push notification not receiving on Android 12

My Xamarin.Android app's push notification only works on Android 11 (Pixel 3 XL). Currently my app targets Android 11, however it also runs on Android 12 (Pixel

Change colour of date picker in Android with possibility to have custom Splash screen as well

I am working on a project where I would like to have custom splash screen, however I would also like to have dark styled Android dialogs, that are corresponding

How to create a semi-transparent frame in xaml?

I have made a BMI calculator based on a tutorial on Youtube. I added wallpaper to my app. I want to add a transparent frame to my background and all the control

How to Run SignalR service as a Server in Xamarin

I have a requirement were I need to run SignalR server in Xamarin app, and consume it in web app. As far as I have seen in examples, Xamarin is used as a client

Xamarin Forms CollectionView: Cannot give SelectedItem Transparent background

I am using a CollectionView and when a user selects an item, I don't want the SelectedItem to show background color at all. I have tried to achieve this effect

Xamarin: How to delete files using CrossFilePicker Xamarin Forms

I am using the following code to pick a file using CrossFilePicker in Xamarin forms. Goal is to delete the selected file in Xamarin.Android project, file still

What is a good strategy to save user premium subscription for a web app with Azure AD B2C as user management system?

I am building a Blazor Server web app that will have locked features only accessible via paid subscription (payment handled with stripe). I am using Azure AD B2