Skip to content

Commit 5cec306

Browse files
authored
Update docs/platforms/react-native/session-replay/index.mdx
1 parent 7892e78 commit 5cec306

File tree

1 file changed

+2
-0
lines changed
  • docs/platforms/react-native/session-replay

1 file changed

+2
-0
lines changed

docs/platforms/react-native/session-replay/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ If you encounter any data not being redacted with the default settings, please l
152152

153153
### Screenshot Strategy (Android only)
154154

155+
_Available in version 7.5.0 of the React Native SDK_
156+
155157
The SDK offers two strategies for recording replays on Android: `PixelCopy` and `Canvas`.
156158

157159
`PixelCopy` uses Android's [PixelCopy](https://developer.android.com/reference/android/view/PixelCopy) API to capture screenshots of the current screen and takes a snapshot of the view hierarchy within the same frame. The view hierarchy is then used to find the position of controls such as text boxes, images, labels, and buttons and mask them with a block that's drawn over these controls. This strategy has slightly lower performance overhead but may result in masking misalignments due to the asynchronous nature of the PixelCopy API. We recommend using this strategy for apps that do not have strict PII requirements or do not require masking functionality.

0 commit comments

Comments
 (0)