Skip to content

1.3.0

Choose a tag to compare

@mbudinsky mbudinsky released this 17 Sep 18:47
· 20 commits to develop since this release
Immutable release. Only release title and notes can be modified.
efcb432

@splunk/otel-react-native

  • Version bump in sync with @splunk/otel-session-replay-react-native.

@splunk/otel-session-replay-react-native

Added

  • SensitiveView component, which masks everything rendered inside it in session replay recordings. Note that masking and un-masking are not symmetric: sensitive={true} covers the whole subtree, while sensitive={false} applies to that view alone — sensitivity is resolved per view and never consults an ancestor. To exempt an element from a class-level rule, use setViewSensitivity with that element's own ref; to carve a region out of a masked area, use an erasing recording mask.
  • Per-view and per-class sensitivity on SplunkSessionReplay.instance: setViewSensitivity, clearViewSensitivity, setClassSensitivity, clearClassSensitivity, getClassSensitivity.
  • maskAllText, maskAllImages and maskWebViews convenience helpers. Neither native SDK has a global masking switch, so these are built on the per-class API.
  • NativeViewClass constants mapping React Native primitives onto the native view classes the SDK defaults key off, so class rules work on both platforms without hardcoding names. Each entry lists the classes for both React Native architectures, since iOS mounts different classes under each and both are compiled in — selecting a single name would resolve successfully and then mask nothing. Class rules apply to every name that resolves and reject only if none do.
  • Sensitivity and RenderingMode enums.
  • setRenderingMode, and renderingMode on the getState snapshot.