How to send image to api using image path
I have this method that gets image from device storage and send it to api var media = CrossMedia.Current; var file = await media.PickPhotoAsync(); // wait until the file is written while...
View ArticleVisualStateManager and nested controls
Hello people! I'm trying to use VisualStateManager for a more consistent state change setup. My problem is, it doesn't seem to be able to recognize components that lie within other containers. Take for...
View ArticleHow to get the serial number for a device with android 10 (API level 29)?
Hello, As you can read here, https://developer.android.com/reference/android/os/Build#getSerial(), from API level 29 and after, asking for the device's serial number throws an exception. Is there a way...
View Article"viewWillAppear" not getting called on iOS 13 Xamarin.ios Native.
I am using MvvmCross, for me the viewWillAppear is getting called every time for some time interval and after that "viewWillappear" method is not getting called for any view, not even for showing a new...
View ArticleAbsolute layout how can i set minimum height?
Is there any way which i can set minimum height property for absoluteLayout children? I already have tried MinimumHeightRequest without any luck
View ArticleWebView.EvaluateJavaScriptAsync always null
I'm trying to use WebView.EvaluateJavaScriptAsync. I'm just using this page to test with If you try it in Chrome and in the debug console typemyFunction(123, 456) It says "56088". But in Xamarin.Forms...
View ArticleHow to integrate sage pay in xamarin form app?
I wanted to integrate sage pay in my xamarin form app. Is there tutorial available for integration sage pay?
View ArticleExport sqlite db to a user's choice location on a device and import db file
I am using Xamarin to create a database if none existing. public partial class App : Xamarin.Forms.Application { static BusinessDB database; public static BusinessDB Database {get { if (database ==...
View ArticleIs it possible to add android zoom buttons on only one webview?
I have one web view where I need the zoom buttons enabled, but they look tacky and get in the way of other web views. I know how to set the zoom buttons up using...
View ArticleMemory issues with PDFDocument
Hey guys, I'm having memory issues using PDFKit.PDFDocument. I tried a lot, but the GC is too slow collecting This function is being called repeatedly for lots of files. Only after all files are...
View ArticleI want to delete this post of mine
Hi, Please I want to delete this post.https://forums.xamarin.com/discussion/183418/view-gets-unresponsive-on-loading-data-from-multiple-api-calls#latest
View ArticleWhy does wget 404 the /.well-known/assetlinks.json path?
Hi, Curious to know why I can't wget https://redacted.com/.well-known/assetlinks.json and yet, having configured it both on the webserver, and in Android's MainActivity, that deep-linking in the app...
View ArticleTemplateSelector in CollectionView is not firing if the Device is rotated
I am using Template Selectors in ListViews successfully, where I detect if the Device is in landscape or portrait mode. When I rotate my devices the Class refreshes the Templates and I can change my...
View ArticleContent of a frame that is the View of a ViewCell appear on top of other rows...
Hi, I updated to the latest Xamarin.Forms version (4.7.0.1080) and now a list view I have in my project is totally messed up - the template of the list view is set to a custom view cell that it's View...
View ArticleXamarin WebView loose the cookies
I have a Xamarin application, this one contains a WebView. The page I navigate to add some cookies, not only at load but also with some dynamic Javascript, the problem is when I leave and restart the...
View ArticleShell: Is BackgroundImageSource working on Android?
I am trying to get a background image working with Shell on Android - no luck so far. The same embedded image displays if used as FlyoutBackgroundImage, so I know the embedding works. Is...
View ArticleHow I can get selection value with WKWebView before CanPerform calling?
My problem is this: Before returning true or false from CanPerform, I need to check some value from js (getSelection), and only after that I can return. This is my code: public class CustomWKWebView :...
View ArticleDisable device back button
Hi all. Any one know how to disable device back button in xamarin forms app? Thanks Lasantha
View ArticleHow to highlight newly added item to CollectionView
I am using Xamarin forms.I have CollectionView in Xamarins showing List of Tickets.I want to highlight new rows whenever its inserted.Like flashing or blinking the row with red background say for 5...
View ArticleAutomatic Provisioning failed, please check the logs
Hello, I am trying to test cross platform app on iOS physical device from visual studio 2019 (16.6.1) by pairing to Mac. I have paid apple developer account. Steps I followed. 1. Created app 2....
View Article