Category "xamarin"

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

How to easily share code between iOS and Mac Catalyst in .net 6?

I'm in the process of upgrading a Xamarin Native solution to run on .net 6 using SDK style multi-targetted projects. As I understand it, there are two ways of w

vs2019 - Xamarin: loses path settings of "Java Development Kit Location"

I do a very simple thing. I go to Tools -> Options -> Xamarin> Android Settings and I change the "Java Development Kit Location" path. I press ok. I co

Dynamicly adding StackLayout

So what I wanna do is have a stacklayout, with entries etc. Added when I set it in the code. For example, I have 3 entries, once they are all filled I want a se

Warning: Could not locate the assembly "Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065"?

MSB3245: Could not resolve this reference. Could not locate the assembly "Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065". Check

Install APK by programmatically Xamarin.Forms (Android)

So far my code looks like this: 1. Dowload the APK file and save it into internal storege: Using DependencyServices App.xaml.cs IDownloader downloader = Dep

Unexpected element <uses-library> found in manifest

I am using org.apache.legacy library in my xamarin project. I have added <uses-library> tag in my manifest file but I get an error while building the proj

ios app stuck in launchscreen when click on inactive push notification in xamarin form ios

I'm working in Xamarin form ios. My issue is when click on push notification received when its inactive/killed,then its stuck in launchscreen. I have implemente

Custom Image Sizing Mode for ImageButton in xamarin.forms

Situation I am currently exploring android development on xamarin and therefor decided to develop a small game. Within the game, I have an ImageButton to access

Add tap events to elements inside an SVG using SkiaSharp in Xamarin.Forms

I want to get the particular points inside the svg for xamarin.forms Is there is any ways from which I can achieve? Thanks in advance.

I get the error "Invalid item ID firebaseappcheckinterop-16.0.0-beta01" during build

The question is as the title suggests. The environment is Xamarin.Forms in Visual Studio 2019 on Windows. The error is not occurring in another project, and I t

Xamarin Forms ListViewCell not updating Image

I am trying to get an image to show in my custom ViewCell, however, setting it manually doesn't work. I am first creating a list of my custom view cells and set

Move a SVG icon along a Path in Xamarin.Forms

Is there a best practice on how to animate and move a SVG icon along a path of (x/y) coordinates in Xamarin.Forms? With Xamarin.Forms.Shapes there is the Path c

How To create a folder inside a Album in iOS iPhone Using Xamarin form

Hello Developer I want to create a a directory inside a Album in iOS using Xamarin form ,I need to use this directory to store all my capture images

Bug - TextDecoration Strikethrough not working on iOS

I have a label where I want strikethrough and a lineheight of 1.5 This works fine with Android, but strikethrough does not work on iOS when LineHeight is also s

Is there expiration date attribute for Apple Identity Pinning?

I have pinned hash of public key on iOS app (like there). On Android there is option to set expiration time: <pin-set expiration="2022-05-22">

How do I select a build in App Store Connect

I tried to publish the app to Apple Store Connect. Normally there is a "+" button but I don't see one right now because Apple have updated iTunes Connect and in