Comment by Yura Babiy on Is it possible to connect MetaMask or other wallet,...
That is a way, but not the easiest one. I would like to see some nuget package.
View ArticleComment by Yura Babiy on Is it possible to connect MetaMask or other wallet,...
But that's just a general guide how to look for nuget package.. Have you found any useful packages targeting Xamarin ?
View ArticleComment by Yura Babiy on Using ES256 algorithm with jwt-dotnet for Apple...
Could you please provide the full method? I'm getting 400 error
View ArticleComment by Yura Babiy on Where I get from IOS Firebase API the Apple Revoke...
AuthorizationCode leaves only 5 minutes, and can be used only once. Otherwise, I'm getting 400 error. I haven't found this information anywhere except apple official documentation...
View ArticleComment by Yura Babiy on How to make Apple Sign In Revoke Token POST Request?
AuthorizationCode leaves only 5 minutes, and can be used only once. Otherwise, I'm getting 400 error. I haven't found this information anywhere except apple official documentation...
View ArticleComment by Yura Babiy on How to make Apple Sign In Revoke Token POST Request?
AuthorizationCode leaves only 5 minutes, and can be used only once. Otherwise, I'm getting 400 error. I haven't found this information anywhere except apple official documentation...
View ArticleComment by Yura Babiy on Issues using apple revoke auth token rest api for...
Have you found what was causing the issue when you were getting 200 code but it didn't work?
View ArticleComment by Yura Babiy on Revoke Apple sign in token for account deletion process
I'm getting 200 OK, but my app is not removed from the list of authorized apps. What do you think about this?
View ArticleComment by Yura Babiy on Apple REST API Revoke Auth
I was able to make it work. This answer is useful. stackoverflow.com/a/73234875/6157156
View ArticleComment by Yura Babiy on How to include all icons in Xamarin.iOS /...
@LiqunShen-MSFT thanks
View ArticleStatic constructor somehow blocks instance constructor
I have Xamarin.Forms app. Currently I am testing my app on Android and now I faced with issue that next view(page) is not showing. I started to debug it and where I stoped is when I am navigating to my...
View ArticleStrange try/catch block behavior
I am working with Github API via Octokit.net. Now I am writing code that responsible for TwoFactorAuth. When I send request for token, if it is 2FA account, than I must get...
View ArticleAnswer by Yura Babiy for Strange NullReferenceException and useless Call Stack
In Prism you can send parameters from current view model to view model of page, that you navigates. So I was sending parameters, and on another side I was taking them. BUT, I wasn't checking for their...
View ArticleStrange NullReferenceException and useless Call Stack
I decided to change layout in my xaml page from absolut to stacklayout and after that I had nullre.. exception when my app starts running. I commented from one to another all elements in page, even...
View ArticleAsync method that calls in ViewModel causes deadlock
I do requests to Github Api so I have async methods, these do this job. Before it, I always called they in method, that calls from command(actually DelegateCommand). But now I wanna do request in...
View ArticleAsync Method calls two times
I do async call from viewmodel, so I started to use Nito.Mvvm.NotifyTask class. It works good except one, that my async method calls two times. I'm not 100% sure that it is because of this, but I don't...
View ArticleAnswer by Yura Babiy for Bind properties to elements inside a Listview...
BindingContext, in other words "ItemsSource" for listview, is appliying to whole listview, include DataTemplate. So, if you wanna bind something, then it property should be in BindingContext, in your...
View ArticleDeep Navigation in Prism with MasterDetailPage causes double calling viewmodel
I have MasterDetailPage with burger button. For this I make this navigation path:var navigationStack = new Uri("https://Necessary/"+...
View ArticleAnswer by Yura Babiy for Strange behavior of Grid row height auto property
For those, who could face with something, like I did, that worked for me. I manually change column width:<controls:FlowListView x:Name="ReposList" HorizontalOptions="FillAndExpand"...
View ArticleStrange behavior of Grid row height auto property
I have listview with grid datatemplate, and I am experiencing strange behavior. When I add to cell StackLayout with two elements: multiline label and horizontal stacklayout, the row with auto height...
View ArticleAnswer by Yura Babiy for Can't take more than 30 entries from atom feed...
So, I didn't find the answer how to get more than 30 items, but I figured out how to read from another page, where you have another 30 items, and so on.After your private feed URL, you should add...
View ArticleCan't take more than 30 entries from atom feed (GitHub private feed)
I am taking atom feed with this code:var client = new HttpClient(new NativeMessageHandler()); var feed = await client.GetStringAsync(_session.GetPrivateFeedUrl()); if ( string.IsNullOrEmpty(feed) )...
View ArticleExceptions are just ignored in async code block
Before I use Nito.MVVM, I used plain async/await and it was throwing me an aggregate exception and I could read into it and know what I have. But since Nito, my exceptions are ignored and the program...
View ArticleAnswer by Yura Babiy for Xamarin.Forms: How to expand row from listview over...
For list view cell you could use a grid. Then binding width and height with a column definition. How to do it you can find on the internet. Screen width and height you can get in platform specific...
View ArticleObject reference not set to an instance of an object at compile time without...
I have tabbed page in XAML document and I want to bind a CurrentPage property to my view model.Upon compiling, I get an error in my XAML document on column 1, line 1. When I delete binding, the error...
View ArticleAndroid.OS.NetworkOnMainThreadException: in async/await block
I am trying to get drawable from URL, that points to an image. But problem is, that in android you shouldn't execute network tasks on the main thread. Because of it, I use async/await block, but the...
View ArticleAnswer by Yura Babiy for Infinite ListView on iOS after refreshing jumps to...
I have found a workaround in my situation. Here is code, when it works fine:private void OnLoadMore(Profile lastProfile) { IsBusy = true; _pageNumber++; Device.BeginInvokeOnMainThread(async () => {...
View ArticleInfinite ListView on iOS after refreshing jumps to first item
I have been created ListView that has infinite scrolling with help on ObservableRangeCollection. It works good on Android, but on iOS it jumps to start whenever it adds new items. Paginating is done...
View ArticleOnNavigatedTo in Prism doesn't trigger from one of pages
I faced with the strange behavior of OnNavigatedTo in Prism. It works always on Android, but on iOS it not works for one of the pages. See code:private void OnSpecialtyTapped() {...
View ArticleCanExecute in DelegateCommand and expression declaration doesn't work
My question is straightforward.Why this works:public DelegateCommand LogInCommand { get; }Func<bool> canExecuteLogIn = () => !StringService.IsNullOrEmpty(_entries.LoginText,...
View ArticleAnswer by Yura Babiy for How to use async method in DelegateCommand
public DelegateCommand MyCommand => new DelegateCommand(MyMethod);private async void MyMethod(){}There are no pitfalls. A void return type in async method was created especially for delegates. If...
View ArticleSetter of bindable property never fires
I created a custom renderer for a Label. Now I wanted to manipulate with its focus state, so I created bindable property and event. It works fine when I change the bindable property from custom...
View ArticleNullPointerException when using effects with Xamarin
I decided to add underline Effect for Label, and did step by step from here, but for some reason whenever I have Label with this Effect, my app crashes on both Android and iOS. With diagnostic logs,...
View ArticleXamarin.Forms Search Widget is not showing
I tried to use Search Widget in my Xamarin.Forms project as people doing it in Xamarin.Android but it is not working. I want the same result as you see on image below.enter image description hereHere...
View ArticleAnswer by Yura Babiy for Why is Asp.Net Core Kestrel server returns 404 to...
With some modifications to @PiGi78 answer, it did work. Here is the final solution:public class Startup{ public void ConfigureServices(IServiceCollection services) {...
View ArticleWhy is Asp.Net Core Kestrel server returns 404 to Ngrok and Controller is...
For several days I am trying to run a simple asp.net core application, with setup webhook for Telegram bot. It runs on Mac, with Kestrel server, and Ngrok over it for proxying https to webhook....
View ArticleAnswer by Yura Babiy for Xamarin iOS Google Sign-in component : App crashes...
Setting PresentingViewController helped me to resolve the issue.SignIn.SharedInstance.PresentingViewController = this;Have found such fix...
View ArticleAnswer by Yura Babiy for How to include all icons in Xamarin.iOS /...
I found a hackish way to do that:Add icons you want to test alongside with other png resources in the name pattern - "{name}60x60@2x.png" and "{name}76x76@2x.png". See attached screenshot. Add icons as...
View ArticleComment by Yura Babiy on Why is Asp.Net Core Kestrel server returns 404 to...
It did work! Thank you. But I had to add a few lines to the code, therefore I posted a new answer.
View Article