iOS SDK ⁠-⁠ tracking inputs

Tracker will listen to value change event (debounced) and send resulting value to OpenReplay backend.

use .observeInput(text:label:masked) to observe input events,

  • text: String - input’s text value
  • label: String - label for recorded input
  • masked: Bool - if true, tracker will only record the input event itself, not the value, don’t forget to add .sensitive to blur the input from recording.
import ORTracker

TextField("Input", text: $text)
.observeInput(text: $text, label: "tracker input #1", masked: Bool)

UIKit will use placeholder as label and sender.isSecureTextEntry to mask the input

import ORTracker