Closed kpespisa closed 6 years ago
I created a small example. I'm using Xamarin.IOS and Visual Studio for Mac, in case that is part of the issue. MHCTest.zip
I'm having the same issue.
Ctor signature has been different since this plugin was originally created. This is something else.
I think this is related to the fact that my netstandard support is not working as expected. I am migrating the plugin to a multi-target project.
Version 2.7.0 has been released. Please test.
This issue still exists in 2.7.0. You can reproduce the issue if you download the example project (MHCTest.zip) and update the nuget package in the projects.
Somehow the plugin is not working as expected in .netstandard with the original architecture from Paul. Going to migrate it to default Xamarin plugin Lazy load style.
Fixed
I had to remove the minimumSSLProtocol parameter on the NativeMessageHandler constructor in NSUrlSessionHandler.cs to get this working on iOS. I assume it is due to the signature being different than the library's constructor?
However, I only did this in iOS and did not need to change anything on my Android project.