Hi,
you can try this
... var handler = new NSUrlSessionHandler { UseCookies = false, TrustOverrideForUrl = (sender, url, trust) => true }; ...
and remove
#if DEBUG
if it's work, then it's a certificate issue
Have tried this and it doesn't even hit the GetInsecureHandler().
Error Message: Autofac.Core.DependencyResolutionException: An exception was thrown while activating Phenna.Infrastructure.Lab.Maui.Client.App. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(System.IServiceProvider)' on type 'App'. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while activating Phenna.Infrastructure.Lab.Maui.Client.AppShell. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Phenna.Infrastructure.Lab.Maui.Client.ViewModels.ShellViewModel)' on type 'AppShell'. ---> System.InvalidOperationException: RootViewController cannot be null
Hi,
you can run the Maui in release mode and debug it.
Are you able to assist with how this is possible as only able to see options within the project properties -> iOS -> Debug -> Enable Debugging, which doesn't seem to work.