5,314 questions with Xamarin tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How to migrate the FCM v1 in xamarin forms apps as xamarin got migrated

Hey Team, We got a mail from Firebase team that legacy http is going to be deprecated . When i checked in the documentation, all i could find is xamarin is not supporting FCM v1. We have azure notification hubs common library for android and iOS and…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
282 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,043 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,775 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,501 questions
asked 2024-05-16T03:05:07.0633333+00:00
Sri Gayathri Gopalakrishnan 35 Reputation points
commented 2024-06-19T15:55:21.5266667+00:00
Junior Saravia 20 Reputation points
0 answers

Xamarin Forms builds

Hello, I wanted to know if I can release the Xamarin Forms App for iOS till April 2025 as the Visual Studio Mac support ends in September 2024. Can I publish Xamarin Forms Android APK and IPA till April 2025?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
asked 2024-06-19T10:47:59.4666667+00:00
Chinmay Dole 60 Reputation points
1 answer One of the answers was accepted by the question author.

How to use asset folder in class

Hello in android app xamarin project I try to use the asset.open method in class A but Asset is not recognized class ClassA { private List<string> listsunrisetlvastro = new List<string>(); private void readfile() …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
asked 2024-06-16T18:52:24.7533333+00:00
Shay Wilner 1,746 Reputation points
accepted 2024-06-17T18:19:43.3766667+00:00
Shay Wilner 1,746 Reputation points
0 answers

Scripts inside local html is not working with webview Eval in UWP Xamarin forms

Tried to update the html elements using script with webview Eval, its working fine in android and iOS but it is not working with UWP Xamarin forms. 1.webview.Eval to update the script : Script inside local html :

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,501 questions
asked 2024-06-13T05:22:24.0766667+00:00
Keerthana Sathiyanathan 0 Reputation points
edited a comment 2024-06-13T08:37:24.67+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,811 Reputation points Microsoft Vendor
1 answer

RenderTargetBitmap renders low quality image of the UIElement

Hi, I have a Xamarin.Forms application deployed in UWP, in which I have added Xamarin.Forms.Image to the page and trying to convert the UIElement to image using RenderTargetBitmap, the converted image quality is reduced. Again I have added the converted…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
Universal Windows Platform (UWP)
asked 2023-01-17T14:53:16.2+00:00
Imman Kumar 6 Reputation points
commented 2024-06-13T08:12:21.0333333+00:00
Castorix31 82,491 Reputation points
1 answer One of the answers was accepted by the question author.

how to write code in cs file in xamarin.ios?

I create xamarin.ios. there is tabbed application in the default file. there is Main.storyboard some of it code is : <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> <autoresizingMask…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
asked 2024-06-10T07:25:54.96+00:00
mc 3,906 Reputation points
accepted 2024-06-12T12:42:31.8933333+00:00
mc 3,906 Reputation points
3 answers

MediaElement plays video/audio with no sound on real iPhone

I used Xamarin Community Toolkit's MediaElement to play video/audio on my app. But on my real device, there's no sound. But when I used an iPhone simulator, it played with sound. My iPhone was set to the highest volume. If I open video on the internet…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
asked 2021-11-07T21:31:22.753+00:00
Wei Wen 1,096 Reputation points
commented 2024-06-11T09:34:35.4233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,906 Reputation points Microsoft Vendor
0 answers

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\NuGet\17.0\Microsoft.NuGet.targets(198,5): Error : Your project does not reference "MonoAndroid,Version=v8.1" framework. Add a reference to "MonoAndroid,Version=v8.1" in t

When I am running the my Xamarin. Android project using Azure pipeline I am unable to build solution due to above error. Please see attached Release configuration of my project <PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
asked 2024-06-06T09:37:51.6433333+00:00
Sk 61 Reputation points
commented 2024-06-11T06:03:59.41+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,751 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Unable to access Files(PDF) in Subfolder of Download folder of Android phone.

Hi, I'm trying to access a pdf saved under "/storage/emulated/0/Download/Testfolder/sample.pdf" ie Download/Testfolder (Subfolder in Downloads) But i'm getting the path as below and hence unable to get the actual pdf file path Wrong…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
asked 2021-10-27T16:05:47.977+00:00
Raghavendra G R 121 Reputation points
answered 2024-06-08T16:38:39.9566667+00:00
Miguel Jesus ROMERO Ramos 0 Reputation points
1 answer

Can These iOS and Java Libraries Have Bindings to a Xamarin.Forms App?

Hi Xamarin Experts, Coming from a purely Windows/.NET background, I'm struggling to work out if the following two iOS and Java/Android libraries can have bindings to a Xamarin.Forms app: mcumgr-ios Android-nRF-Connect-Device-Manager I…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
asked 2021-09-24T03:28:03.237+00:00
Phil Wherrett 11 Reputation points
answered 2024-06-06T07:48:59.07+00:00
Emanuele Di Emanuele 0 Reputation points
1 answer

Problem pairing Mac M1 with Visual Studio on Windows

I'm running Visual Studio 17.10.1 as a virtual machine in VMware Fusion Player Version e.x.p. (22068932) on a MacBook Pro M1. When trying to pair Visual Studio with the Mac, I get this error message: zsh:1: command not found: printenv I have verified…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,642 questions
asked 2024-06-05T08:08:05.72+00:00
Hrafn Loftsson 0 Reputation points
answered 2024-06-06T03:04:19.08+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,751 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Placing uneven height items horizontal/vertical in a Layout without spacing in Xamarin forms

Placing uneven height items horizontal/vertical in a Layout without spacing in Xamarin forms For ex: Below is the example items should be placed. There should not be space between Item1 & Item3. If we place in Grid or FlexLayout there will be…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
asked 2021-12-16T12:35:39.147+00:00
Thejesh Pushpala 21 Reputation points
accepted 2024-06-05T05:33:28.0766667+00:00
Thejesh Pushpala 21 Reputation points
0 answers

Can't install UWP app, fails with codes 0x800701c5 / 800700B7

Hello everybody. We want to publish our app, that is made with Xamarin Forms, to the Microsoft Store. WACK does not report any problems with the uploaded app. Installation fails for all betatesters, the store app reports error 0x800701c5. So I tried…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
Universal Windows Platform (UWP)
asked 2024-06-04T12:30:12.4366667+00:00
M. Bäurle 0 Reputation points
edited the question 2024-06-05T01:07:58.2766667+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
3 answers

Where Can I Find the Remoted iOS Simulator for Windows PC?

Where can I find the Remoted iOS Simulator for Windows PC? Where in Microsoft Visual Studio 2022 should I find the Remoted iOS Simulator for Windows PC? Is it somewhere in a directory like “C:\Program Files\Microsoft Visual Studio\2022\Community?”

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
asked 2024-05-06T08:53:53.8966667+00:00
R9I1 1 Reputation point
commented 2024-06-04T05:37:44.5733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,906 Reputation points Microsoft Vendor
1 answer

Unable to genrate build for iOS using the xcode_15.5 in Xamarin project

Hi all, I am trying to build ipa using the azupre devops pipeline. The below task is not working and giving some error. I am attaching the screenshot.     - task: XamariniOS@2       inputs:         solutionFile: '**/*.sln'         configuration:…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
asked 2024-06-03T04:32:45.4766667+00:00
Alok Kumar Pandey 1 Reputation point
answered 2024-06-04T03:11:19.39+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,906 Reputation points Microsoft Vendor
0 answers

pdb file was not present when IL code was compiled to native in vs2022

I have installed 3 new nugets to my project. After installing everything works fine in Android and ios (in release and debug modes). But in Xamarin.Forms.UWP (debug mode is fine). In release mode getting the below exception.. myproject.pdb contains the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
Universal Windows Platform (UWP)
asked 2024-06-03T16:02:16.8133333+00:00
Sk 61 Reputation points
commented 2024-06-04T02:20:07.79+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,751 Reputation points Microsoft Vendor
3 answers

CFBundleIconName

ITMS-90713: Missing Info.plist value - A value for the Info.plist key 'CFBundleIconName' is missing in the bundle 'net.ourweb.MyVoiceApp'. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
asked 2021-06-09T18:21:42.853+00:00
bill banks 6 Reputation points
answered 2024-05-31T15:08:55.19+00:00
Michael B Puckett 0 Reputation points
1 answer

How can I change BackgroundColor of CustomLabel in Selected Action State Event CreateCustomLableNavigationState method Similar to ListviewItemSelection Event

<ListView x:Name="listView" ItemsSource="{Binding ItemList}" RowHeight="43" Margin="0,-5,0,0" CachingStrategy="RecycleElement"> <ListView.ItemTemplate> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
778 questions
asked 2024-05-30T14:41:47.06+00:00
G, S 0 Reputation points
answered 2024-05-31T05:58:18.93+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,751 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Files with arabic name won't upload

Hello guys I have xamarin form app where users can upload file normally and it works fine until i found this problem if the image name written in arabica ex:"١٢٣٤٥٦.jpg" the image wont the upload fail . i am using this plugin CrossMedia

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
asked 2021-10-11T03:41:21.907+00:00
ALI ALHOWSWE 191 Reputation points
commented 2024-05-31T05:20:58.56+00:00
Eman Gabr 0 Reputation points
0 answers

MAUI build errors : Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute' attribute

Hi Team, I am getting some strange build errors while I am rebuilidng the .NET MAUI mobile app solution. It worked fine till yesterday. All of sudden I am getting some strange errors now. I deleted .obj & bin folders and restrtaing visual studio…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,535 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,067 questions
asked 2024-05-30T07:17:55.4066667+00:00
KallemSandeep-8232 36 Reputation points
commented 2024-05-31T03:10:16.0433333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,751 Reputation points Microsoft Vendor