Print a map in xamararin forms
How do I print a map, or export to pdf?
Receiving chat messages with SignalR
I tested the SignalR solution in Xamarin Forms and .net core backend and it works great: https://montemagno.com/real-time-communication-for-mobile-with-signalr/ However, I am wondering how to keep receiving the messages when the app is in background…
Xamarin ios, SSL pinning : Public key hash does not match
Hi, We are trying to implement SSL pinning in our Xamarin.ios app. POC : As a proof of concept, we calculated public key hash of https://www.google.co.uk . We used openssl s_client -servername www.google.co.uk -connect www.google.co.uk:443 | openssl x509…
How to show thumbnail image when mediaelement loads on page?
I want the thumbnail to be displayed with play icon in center. When user clicks on the play icon, video should start playing. Also some more customisations as shown in the attached image. Thumbnail will show video title at the top left corner …
Gray BackgroundColor in StackLayout Hides RadioButton(s)
I have the following StackLayout: <StackLayout Orientation="Horizontal" BackgroundColor="Gray" HorizontalOptions="Fill" VerticalOptions="Center" Margin="0" Padding="5,0,0,0"…
Cancelling Collapsing of Xamarin Community Toolkit's Expander
When the user taps the header of the Expander from Xamarin Community Toolkit (https://learn.microsoft.com/en-us/xamarin/community-toolkit/views/expander), it shows or hides the content, as expected. However, when the user taps the header to collapse the…
Customizing a Map Pin local:CustomMap Error
why my local:CustomMap Error sorry I dollow https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/custom-renderer/map-pin my project name PTSSRU i'm beginner in english, my xaml code <ContentPage…
Xamarin grant permission to read file.
I build a Xamarin.forms and with XlsIO . what i plan was when the app start up will check the permission was grant or not ? It work prefect and show what i wish in debug mode when PC connect to my phone but when install with signed.apk. After install…
Sharing a Style Between Apps & Projects
I have a number of Style(s) that I want to use in multiple apps & projects. I basically need a project that contains Style(s) (or a ResourceDictionary) that can be accessed by the shared project of Xamarin.Forms. In UWP I was able to create &…
Failed to resolve Android.Gms.Common.Zzc in Release
I have a problem when I build this app in RELEASE mode only. In debug it works no problem, but in release I get this build error and I can't figure out what it could be.. Any idea? Severity Code Description Project File Line Suppression State …
How can I access a specific collectionview child? In this case, the label “DataCadastroLabel”
I want to change the value of VerticalOptions. I can't directly access this label, even if I pass its name DataCadastroLabel. These layout changes are only to adapt some components to the device's landscape mode XAML <CollectionView…
How to add permission to com.sec.android.provider.badge.BadgeProvider uri content://com.sec.badge/apps in Xamarin Forms
Am getting below error on my Samsung phone running android 10. i have been try to fix this for days now and no luck. I have added <uses-permission android:name="com.sec.android.provider.badge.permission.WRITE" /> …
Xamarin Forms UWP. Nuget Package Downgrade whilst building
I am creating A UWP version of a Xamarin App from a previously successfully deployed XF Android version of the App (Simple? It seems not!) and I seem to be stuck in an interminable loop of updates and errors which I cannot resolve. Before the detail…
Improve CollectionView Performance
We have a landing page that has this layout: When you click on one of the section buttons, the ObservableCollection in the ViewModel is set to another list as so: private async void processtableOfContentsListView_ItemTapped(object sender,…
"Invalid file path" error
Hi there, I added a "icons1.ttf" file under \Android\Resources\Fonts directory and VS 2019 keeps on giving the error message : "invalid file path 'S:\Ulvi\Apps\samples\Mobile1\Mobile1.Android\obj\Debug\90\res\fonts\icons1.ttf'. And it…
Accessing / Downloading certificate from Xamarin.University
Hi there I know, Xamarin.University has gone for quite a while but I just wonder if there is a way to download or access my certificate I did there once ago? Mistakenly I forgot to download it back then. Please let me know. Thanks, Rafael
How can I utilize compiled binding inside Application.Resources for say a StyleTrigger of type DataTrigger bound to a feild in the ViewModel?
For example, If I have this Style block inside my Application.Resources. and lets say inside the contentview where I have the ViewModel binded and DataType set (x:DataType"ViewModels:MyViewModel"), let's say I have a …
Multiple Build Configurations for XForms
I have a XForms application and I'm using Visual Studio for Mac. I use a different iOS plist file and Android manifest file based on the build configuration (AdHoc vs Release). Is there a way to specify which file to use in Visual Studio based on the…
Compilation Error: MTOUCH: error MT1303
I am using some libraries to make use of firebase in my app (auth, storage, firebasefirestore) A few days ago I got the following error when trying to compile MTOUCH: error MT1303: Could not decompress the native framework 'FBLPromises.framework' …
How do you create a .net backend for Xamarin.Forms app?
All the tutorials seem to be outdated. Including Microsoft documentation. How can I create an Azure database and connect it to my Xamarin mobile application using web API?