alexrainman / ModernHttpClient

ModernHttpClient
MIT License
126 stars 27 forks source link

Missing .NET7 (MAUI Library) support #84

Open gcadmes-extron opened 1 year ago

gcadmes-extron commented 1 year ago

Are there plans to convert the ModernHttpClient library to a .NET MAUI library targeting .net7? Before the holidays I saw emails indicating so.

I've already converted the project into a .NET 7 MAUI library, but there are compiler warnings. Please let me know if I should fork or create a PR with the .NET7 changes.

warning BI1234: 'SecTrust.this[nint]' is obsolete: 'Starting with maccatalyst15.0 use the 'GetCertificateChain' method instead.'
warning CA1416: This call site is reachable on: 'MacCatalyst' 13.1 and later. 'SslProtocol.Tls_1_2' is unsupported on: 'maccatalyst' 13.0 and later.
warning CA1416: This call site is reachable on: 'MacCatalyst' 13.1 and later. 'NSUrlSessionConfiguration.TLSMinimumSupportedProtocol.set' is unsupported on: 'maccatalyst' 13.0.0 and later.
warning CA1416: This call site is reachable on: 'MacCatalyst' 13.1 and later. 'SecTrust.this[nint]' is unsupported on: 'maccatalyst' 15.0 and later.
warning BI1234: 'SecTrust.this[nint]' is obsolete: 'Starting with ios15.0 use the 'GetCertificateChain' method instead.'
warning CA1416: This call site is reachable on: 'iOS' 10.0 and later, 'maccatalyst' 10.0 and later. 'SecTrust.this[nint]' is unsupported on: 'ios' 15.0 and later, 'maccatalyst' 15.0 and later.
warning CA1416: This call site is reachable on: 'iOS' 10.0 and later, 'maccatalyst' 10.0 and later. 'SslProtocol.Tls_1_2' is unsupported on: 'ios' 13.0 and later, 'maccatalyst' 13.0 and later.
warning CA1416: This call site is reachable on: 'iOS' 10.0 and later, 'maccatalyst' 10.0 and later. 'NSUrlSessionConfiguration.TLSMinimumSupportedProtocol.set' is unsupported on: 'ios' 13.0.0 and later, 'maccatalyst' 13.0.0 and later.
orwo1 commented 1 year ago

Would also like to know if there are plans to support Maui with .net7, or maybe 8?