Skip to content

Swift Package Manger repository of the Dynatrace OneAgent for mobile (iOS, tvOS)

License

Notifications You must be signed in to change notification settings

Dynatrace/swift-mobile-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Swift Package - Dynatrace OneAgent for Mobile

Dynatrace Mobile App Monitoring

Supported Platforms

  • iOS 11+
  • tvOS 11+

Adding to Xcode

  • XcodeFileSwift PackagesAdd Package Dependency...
  • Use https://github.com/Dynatrace/swift-mobile-sdk.git to add the Dynatrace package repository.
  • Select the desired product (Dynatrace or DynatraceSessionReplay).
  • To update the package version rule double-click the Dynatrace entry in the Swift Packages tab of the Xcode project settings.
  • To update the product selection you have to remove the package and add it again (as of Xcode 12 there is no edit feature for Swift packages).

Updating

  • XcodeFileSwift PackagesUpdate to Latest Package Versions

Products

Dynatrace

This adds Dynatrace OneAgent SDK for iOS for automatic mobile app instrumentation.

Dynatrace-Static

This adds OneAgent SDK for iOS for automatic mobile app instrumentation as static XCFramework. Due to some Swift Package Manager limitations -ObjC must be added manually to Other Linker Flags in the according Xcode project target settings to correctly link this static XCFramework.

DynatraceSessionReplay

This adds Session Replay module for replay on crash. This product includes Dynatrace OneAgent for Mobile and is not available for tvOS.

Configuration

Follow the configuration setup for instrumenting mobile apps from the Dynatrace UI:

  • Update Info.plist or provide a configuration dictionary for agent startup.
  • Configure the data privacy.

License

Please see LICENSE for more information.

Documentation

Detailed documentation can be found here.

About

Swift Package Manger repository of the Dynatrace OneAgent for mobile (iOS, tvOS)

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages