Playground
Your code
AppDelegate.swift
import UIKitimport DiagnosticSDKImports the SDK. @mainfinal class AppDelegate: UIResponder, UIApplicationDelegate {private lazy var networkInterceptor = NetworkInterceptor( )Creates the interceptor. Keep it for as long as the app runs: it records the requests. func application( _ application: UIApplication,didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {#if DEBUGOnly in Debug builds: this code is not compiled into your Release build.networkInterceptor.start( )Starts the capture with every default: shake and floating button.#endifOnly in Debug builds: this code is not compiled into your Release build.return true}}DiagnosticSDKYour configurationOnly the values that differ from the defaults are written.
Copy the linkThe link opens this exact configuration.
Preview


Configure the SDK integration
Choose how the dashboard opens and set up the floating button while watching the result on the iPhone. Then copy the configuration, ready to paste into your app.
- Choose the trigger
- Set up the button
- Copy the configuration
Starting style
Changes the button’s look only.