Matvei
❔ EventSource/EventListener not finding each other on iOS?
I've got a cross-platform MAUI net8 app. I want to listen to an EventSource from one of my app's dependent libraries. For this, I have a static EventListener with overridden OnEventSourceCreated/OnEventWritten. This works on all platforms except iOS. If I set some breakpoints, I see that both EventSource and EventListener are constructed, but my listener's OnEventSourceCreated never ever gets called. What could be the reason? Are there any extra steps/configuration needed to make System.Diagnostics.Tracing infrastructure work on iOS?
3 replies