Android SDK ⁠-⁠ tracking inputs

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

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

  • label: String - label for recorded input
  • masked: Bool - if true, 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)
import com.openreplay.tracker.listeners.trackTextInputChanges

OutlinedTextField(
        modifier = Modifier
            .fillMaxWidth()
            .trackTextInputChanges("Email Field", emailState.text),
        ...,
    )