15 May 2020 03:41 PM
We want to instrument a iOS mobile application buil on SwiftUI. Will this work nicely with Dynatrace mobile app SDK?
Solved! Go to Solution.
15 May 2020 04:17 PM
Can find only a bit on this internally but it looks like it's not something that we will auto-instrument at least not at this time. But since it's just Swift I see no reason you couldn't manually instrument it using the iOS OneAgent SDK.
18 May 2020 06:59 AM
I can confirm that pure SwiftUI is not yet supported, auto-instrumentation will not work for most UI elements and needs to be performed manually. Webrequest instrumentation will still work, but automatic linking to lifecycle action will not work for pure SwiftUI apps. In some scenarios automatic linking to manual actions might work. The SDK for manual instrumentation will work.
19 May 2020 07:24 AM
Thanks for your input!
07 Sep 2022 03:21 PM - edited 26 Sep 2022 12:00 PM
With the latest release of the iOS agent (8.249) we have implemented auto-instrumentation of SwiftUI. Further improvements are on the way.
For more info please visit the documentation.