Android SDK - tracking inputs
Tracker will listen to value change event (debounced) and send resulting value to OpenReplay backend.
Adding tracked inputs
Section titled Adding tracked inputsSwiftUI
Section titled SwiftUIuse .trackTextInput(label:masked)
to observe input events,
label: String
- label for recorded inputmasked: Bool
- iftrue
, tracker will only record the input event itself, not the value.
import com.opnereplay.tracker.OpenReplay
val passwordEditText = binding.password
passwordEditText.trackTextInput(label = "password", masked = true)
import com.opnereplay.listeners.Analytics
Analytics.addObservedInput(inputEl)