cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mobile app support for swiftui?

anders_lundin3
Inactive

We want to instrument a iOS mobile application buil on SwiftUI. Will this work nicely with Dynatrace mobile app SDK?

3 REPLIES 3

JamesKitson
Dynatrace Leader
Dynatrace Leader

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.

https://www.dynatrace.com/support/help/technology-support/operating-systems/ios/customization/oneage...

harp
Dynatrace Pro
Dynatrace Pro

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.

Thanks for your input!