Privacy and masking
Quameleon’s rule is that private data is removed on the device, before a frame is encoded or a signal leaves the process. The server never receives unmasked pixels.
Replay masking
Section titled “Replay masking”A region of a replay frame or screenshot is painted solid black when the view is:
- marked sensitive by you, or a descendant of such a view:
- React Native
Quameleon.markSensitive(ref) - Android
QuameleonAndroid.markSensitive(view) - iOS
QuameleonPlatform.markSensitive(view)or SwiftUI.quameleonSensitive()
- React Native
- a secure text field: Android password
inputType, Compose password semantics, iOSisSecureTextEntry. Always, whatever the options; - any text input (
EditText, Compose editable text,UITextField,UITextView) whilemask_all_inputsis on. It is forced on in production.
WebViews follow the same rules through qa-web: input rectangles are masked, and if the script is not present on a
page the whole WebView is masked (fail-safe). Embedded frames (iframe, embed, object) are always masked whole,
since hosted card fields, 3-D Secure and login pages live there. Inputs inside open shadow roots (web components) are
masked too, and a custom element the script can’t see into (form-associated, or a closed shadow root) is masked as an
input. Only the page’s main frame may report input rectangles or signals; scripts in iframes are ignored.
Production replay masks inputs, not displayed text: balances, names or messages on screen are recorded as shown. Mark
such views sensitive (data-qa-sensitive on the web, the native sensitive-view APIs) to black them out. On Android that guarantee comes from androidx.webkit’s WebMessageListener (add androidx.webkit:webkit
1.3+); without it the WebView is always masked whole and page signals are dropped.
Tap labels never come from a text input (any input type), a password field, or a sensitive view. When a tapped
element contains an input or a sensitive view anywhere inside it (for example a password row with an eye icon), its
text is not used; only its test id, and on Android / the web its own content description / aria-label / title.

Signal privacy
Section titled “Signal privacy”- Taps and the hierarchy never carry the label of a text input or a sensitive view; such nodes are marked
input: trueorsensitive: trueinstead. - Network signals carry the method, scheme, host and path. Query strings, fragments, headers and bodies are never
captured, unless you allowlist URL patterns in
network_bodies. Even then,Authorization,Cookie,Set-Cookie,Proxy-Authorization,WWW-Authenticate,X-Api-Keyand any header containingtoken,secret,passwordorsessionare always dropped, and bodies are limited to text or JSON up to 16 KB. - Body values: inside captured JSON and
k=v&…form bodies, values of sensitive keys become<redacted>at any depth before truncation: the prop list below (no exemptions, so a bodysession_idis redacted too, as areaccess_token,refresh_token,apiKey,X-Api-Key) plus the wordscard,cvv,cvc,otp,pin,passcode,iban,ssn(creditCard,otpCode). A JSON body that can’t be parsed (or is over 1 MB) and mentions any of them is dropped whole. - Prop and context redaction: values of keys containing
password,passwd,secret,token,authorization,cookie,session,api_key,apikey,credential,private_key,ssn,card_numberorcvvbecome<redacted>, anduser:pass@is removed from URLs. - Push signals carry the id and source; title and body only with
push_content. - Console capture is off in production unless your app turns it on with
configure(), and then onlywarnanderrorby default.
Remote config can only reduce capture
Section titled “Remote config can only reduce capture”In production, remote config can switch network_bodies, push_content, console, screenshots, layout,
hierarchy, shake and replay off, never on. Only your app’s own code enables them, and a remote “off” wins for
the rest of the launch. Replay additionally needs your start-config opt-in. A compromised or misconfigured dashboard
can therefore never start collecting bodies, push content, console output or screen captures your app did not ask for.
What Quameleon does not collect
Section titled “What Quameleon does not collect”No advertising id, IMEI, MAC address, phone number, contacts, location or clipboard. device_id is a random UUID per
install (see Devices).
Turning categories off
Section titled “Turning categories off”Every capture category can be switched off in the app or from remote config (turning a privacy-sensitive one back on is up to the app):
Quameleon.configure({ network: false, console: false, replay: false });A disabled category is never captured. See Configuration options.