Quantcast
Channel: Recent Threads — Xamarin Community Forums

MessagingCenter.Subscribe exceptions

Hello, What are the circumstances that would cause the following call to throw an exception? MessagingCenter.Subscribe<MyClass>(this, "testmessage", OnTestMessage); I'm getting "Index was outside...

View Article



xamarin build error

I have open 2017 project from 2019. Now i am getting this error. my Xamarin.Android.Support.Core.Utils version is 27.0.2 and Xamarin.Android.Support.v4 is 23.4.0.1 The type 'FileProvider' exists in...

View Article

Trying to connect to remote Mac

I am trying to connect to my remote Mac. It says that connection finished but get an error on list that says: "a remote error occured on the connected Mac" on the log I get this error:...

View Article

When I start my emulator it opens but won´t start

If I try to open emulator by Android Device Manager a message appear: WPHX is not configured. Turn on "Windows Hypervisor Platform" feature to switch to the Native Hypervisor and accelerate your...

View Article

From VS 2019 6.8 recommended way to edit storyboard is by editing them in...

Good day, In VS 2019 for Windows a message is displaying to warn one of the coming changes, namely that in the future storyboards should be edited on the Mac. This page explains how to edit a...

View Article


Image may be NSFW.
Clik here to view.

Visual Studio 2019 16.5.4 iOS Bunde Signing Please wait until the...

I am facing an issue with the provisioning for iOS quit working in Visual Studio and also the Apple Accounts management. On the bunde signing properties I only get "Please wait until the provisioning...

View Article

FirebaseApp is not initialized on real devices

Hello! I'm trying to add push notifications in Xamarin.Forms. On Genymotion it's work fine but on real devices i have an error: Default FirebaseApp is not initialized.Make shure to call...

View Article

Duplicate 'EmbeddedResource' items were included after migrate to .NET Standard?

Hi, Using VS 2017 15.4.0 Following James Montemagno "Upgrading to Xamarin.Forms to .NET Standard"...

View Article


Asset packs for Xamarin Android in Visual Studio

Is it possible to add asset packs to your xamarin.android project using visual studio? I've manage to get aab support to work but can't find anything about how to actually add asset packs.

View Article


Null reference exception in production at...

I am facing null reference exception in production at but not able to reproduce in dev. I am not getting any idea where is this coming from. Have anybody faced this? The whole stack trace is below:...

View Article

Remove navigation bar from Tabbed Page

Hi, I'm trying to remove the navigation bar in a tabbed page but without success. I tried to add in OnAppearing() and in the constructor NavigationPage.SetHasNavigationBar(this, false); but the...

View Article

Grid not input transparent?

So I've got a stack layout with a whole bunch of stuff in it including some buttons. Everything works fine. But on some devices, some of the information can get pushed off the bottom of the screen....

View Article

How to access both Photo and video feature from Camera Media Plugin in...

How to access both Photo and video feature simultaneously from Camera Media Plugin in Xamarin.Forms? Example: Pressing camera would open the camera, but there would be the ability to swipe to select...

View Article


Why Glyph property in FontImageSource doesn't bind?

Hi community. I have a strange behavior with FontImageSource. I can't get property binded to Glyph. <ContentPage.BindingContext> <documents:DocumentListViewModel />...

View Article

is it possible to implement NFC in xamarin forms?

I have been trying with sample plugin but i am not able to figure out how to implement NFC read/Write for Android/iOS using a plugin.if it is possible share some sample code which would help me

View Article


Can't Open WhatsApp in xamarin ios

how can I open WhatsApp from my app to a specific number? For Android, the following is working fine But it didn't work in IOS. What's App Open and then Show Message (This Link couldn't be opened Check...

View Article

Why am I not getting a .dSYM file when I build my iOS app?

I have an App the has been submitted to Apple Play Store that they are failing because it's crashing on startup. Works fine here so I need to get the .dSYM file so I can figure out where it's crashing....

View Article


Clear an Entry form

Hi, I have a StackLayout with "Entry" in the layout and I have an Clear button at the bottom. I want to be able to clear out the Values that the users keyed in if they press the "Clear" Button. I'm not...

View Article

How to vertically center an item in a grid cell?

I have a ListView item template that contains a grid with 3 columns: an image, a label and another image. All items are have their VerticalOptions set to LayoutOptions.Center. However, the list...

View Article

best approach to handle dark theme?

I'm working on an app for UWP, Android, and iOS using Xamarin.Forms. I just started testing on my iPhone 8 which is set to dark mode and noticed that text in the ListView controls is not visible. The...

View Article

How to setup bindingcontext in xaml?

Hello, I usualy setup the binding in the view in this way: _viewModel = new UserPageViewModel(mgr); BindingContext = _viewModel; What is the same command in the xaml? The following is not working: Can...

View Article


How can i make a game in unity and run the game when i run xamarin.forms...

Hi, I just came xamarin crash I want to make a game project that should be called from unity, how can I do it, help guide me

View Article


Remove gap between cells in ListView

Hi, We are having a problem with gaps between cells in a ListView. We set SeparatorVisibility="None" but still there are a 1-pixel high gap in some cases. On iOS is seems to be connected with the...

View Article

Can any one please can help me with my problem with BindingContext?

Hi, everyone I need help for my problem. I am trying to bind the context from the viewmodel like this <ContentPage.BindingContext> <viewModels:BLEConncetViewModel/>...

View Article

Share from Xamarin Essentials mysteriously quit working after updates, but...

I updated my iPad to 13.2, updated to latest XCode on my mac, updated VS, updated to XF 4.3. I know, not smart. Everything appeared to work, until I tried the SHARE function of my app on iPad. The...

View Article


Error using MySql connector with Xamarin

Hi, I am trying to use MySql plugin in Xamarin project. I have added the pliugin to all my PCL projects and the used: sql_connection = new MySqlConnection("Server=mysql.mydomain.com; Database=mydb;...

View Article

How to prevent multiple clicks on a button?

I know there are many ways to prevent multiple clicks on a button in Xamarin, but is there a single solution to prevent it globally? i.e. in every button in my app. Otherwise, what would be the best...

View Article

OneSignal HandleNotificationOpened redirect the diffirent page

Hello in my project I use OneSignal for notifications. How can I redirect the different page from droid or ios project. I used passing parameter to LoadApplication(new App(bool...

View Article

How to choose the right tech stack for the taxi startup?

Hi, How to pick the right tech stack to launch the taxi startup?

View Article



Which would be the right technologies to build an application similar to a...

Hello, I'm new to the Xamarin community. I salute you all. Concerning my question, I'm trying to figure out if it's possible to build with Xamarin an application which consists of functionalities such...

View Article

how to do smooth scrolling in collectionview on android and ios

Hi, My app has some Collectionview. Items binded when scrolling down but when items bind and scrolling collectionview is jittering on android and iOS. How to do smooth scrolling in collectionview....

View Article

Binding Mode property default value

I'm seeing documentation about XAML, bindings and MVVM. The documentation about BindingMode says that: OneWay: Indicates that the binding should only propagates changes from source (usually the View...

View Article

Get counrty code picker or popup

Hello guy's my question is , that is there any plugin for get all country code for telephone in xamarin forms. i'm surfing in google and get one thing CCP (country code picker ) for native android but...

View Article


integrate an image editor

Hi, I want to integrate an image editor (similar to adobe creative SDK or Img.ly SDK) into xamarin.forms app, can anyone please suggest me a cross platform image editor?

View Article

is there any Framework or Library for Photo editing ?

Hey , im looking for a framework or library support PCL for photo editing , i want to develop an app for image editing like drag text and drag photos and icons to the main photo , if there is an...

View Article

How to investigate libmonosgen crash

Hello, Since the release of the latest version of my app the users have been complaining about random crashes in the app. It seems they appear randomly and so it's really difficult to get a...

View Article


Problem with colors and themes on MIU12 Xiaomi phones

Hello, I'm having a problem with invoking the Light theme in my app. Whatever I tried to do it wasn't working. The phone I'm testing on is Xiaomi Redmi Note 7 and Xiaomi Redmi Note 8. So basically what...

View Article


TabbedPage Icons

I have killed many, many hours now trying to make icons appear for Tabbed Pages on iOS. According to all of the forum and blog posts I've seen this is supposed to be super simple. In fact my page is...

View Article

How to get selected Text?

Hi, i want to get the selected Text from an Entry. I'm using an EntryRenderer and the methods SelectionStart and SelectionEnd, but the returned value of the methods is identical. Can you give me a...

View Article

Open mobile camera in webview

I'm building an application where i load website in a webview. On website i open device camera ( take pics etc ) and its working perfectly fine on all browsers but when i load same application in...

View Article




Latest Images