Timo Partl

Results 71 comments of Timo Partl

> I found a solution to the problem. It is enough to add the HttpClientHandler to the client. I don't know why it works. It works because the `HttpClientHandler` doesn't...

> So it is not possible to use this library to access some servers. @pp111 it is possible, but you need to use `HttpClientHandler` instead of `AndroidClientHandler `

You can ignore that certificate check like this: ``` var httpHandler = new HttpClientHandler() { Credentials = new NetworkCredential(usernam, password), ServerCertificateCustomValidationCallback = (httpRequestMessage, cert, cetChain, policyErrors) => true, }; ```

The `HttpClientHandler` stopped working with .net 6 Android. It is now required to opt-out of the `AndroidMessageHandler` on a project-level. I reported this issue the Microsoft here: https://github.com/xamarin/xamarin-android/issues/7291

@cesarchefinho ``` var httpHandler = new SocketsHttpHandler(); httpHandler.AutomaticDecompression = DecompressionMethods.Deflate | DecompressionMethods.GZip; httpHandler.Credentials = new NetworkCredential(username, password); var client = new WebDavClient(new HttpClient(httpHandler, true) { BaseAddress = new Uri(url) });...

I encounter the same problem. Interestingly, it only is a problem on Xamarin.iOS, while it works fine in UWP. Xamarin.iOS apparently uses Basic Authentication by default and when trying to...

workaround: ``` var method = Class.ForName("com.google.android.material.slider.BaseSlider").GetDeclaredMethods().FirstOrDefault(x => x.Name == "addOnChangeListener"); method?.Invoke(slider, this); // this is implementing IBaseOnChangeListener ```

@moljac thanks for the new bindings - great stuff! 🥳 Unfortunately no magic fix for this issue :(

Friendly ping :) Would be great if this could be fixed so no workaround is necessary

Sadly, this issue is still present with 1.4.0